Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial 'beta' UPnP MediaServer support to mythfrontend.
This still has a raft of issues and is disabled by default. To enable, set the environment variable MYTHTV_UPNPSCANNER and switch to File Browse Mode in MythVideo. Known issues:- - on at least one system here, there is some sort of race/thread lockup that can delay mythfrontend startup for 30-40 seconds. Seems to be something to do with the storm of UPnP related messages pinging around following the SSDP scan - but sometimes startup is normal. - there are various issues with StreamingRingBuffer that prevent playback of certain file types (that should otherwise work). While some file types still need to be filtered out (e.g. iso's), there are still many files that should play without issue but don't. Sometimes a file will fail first time around and then play quite happily if reselected (mostly Play On). Other issues may be server related (e.g. MediaTomb seems to offer up wmv files and then returns a 404). - scanning of some servers takes too long. The Play On server, for example, contains a sizeable file structure that takes 10s of minutes to scan (at least 90s just for the YouTube directory)- whereas the current timeout for scanning is 30 seconds to maintain a happy user. While the scan results are cached, an update can be issued every couple of minutes - which requires a rescan... All told, I think a different approach is needed that scans and presents directories as required but I can't see how that fits into the current MythVideo setup. Perhaps we need a more traditional file browser for 'external' media.
- Loading branch information