Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find server with VLC 3.x #2

Open
passiomatic opened this issue Jul 29, 2024 · 0 comments
Open

Cannot find server with VLC 3.x #2

passiomatic opened this issue Jul 29, 2024 · 0 comments

Comments

@passiomatic
Copy link

passiomatic commented Jul 29, 2024

Hi there,

I'm doing some experiments using this server with VLC. After many attempts it seems VLC cannot see the exposed files (looking at local files -> Universal Plug and Play the files do not appear in the player list) . As a counter test I'm able to connect to Kodi with VLC and browsing the media library.

I digged a bit in the code with the Python debugger I see a search match _m_search_received sent from VLC but it seems the check at https://github.com/shaolo1/VideoServer/blob/master/video_server.py#L536 is not satisfied and hence the received message is discarded.
Update: Nope, the cause of the bug were malformed headers while replying to m-search request. Now I can see a "Videos" row on VLC but cannot expand that node further since nothing happens. I need to dig deeper.

I'm using the regular Flask version. Any chance you can test it too? Thanks a bunch!

Note: to make it work with current Python 3.12 I had to make some slight updates to the async calls, but it seems not to impact any functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant