2015-05-03, 15:41
Hi,
Maybe, that my request is more a android-request - I dont know, how it works on other platforms.
The DVBViewer PVR is using the upnp-stream of the DVBViewer backend.
If you are using the upnp-server of DVBViewer, then you can use it to stream DVB-channels. This works with the kodi-DVDPlayer but it works with all external players which are able to play from upnp sources as well (like MXPlayer!!).
But if you try to use the MXPlayer as PVR-Player so it can not work:
The reason seems to be this (described with this example):
12:16:53 T:1709326920 DEBUG: opening live stream on url 'pvr://stream/tv/45.ts'
12:16:53 T:1709326920 DEBUG: PVRFile - virtual bool XFILE::CPVRFile::Open(const CURL&) - playback has started on filename pvr://channels/tv/Alle Kanäle/pvr.dvbviewer_46.pvr
12:16:53 T:1709326920 DEBUG: CCurlFile::GetMimeType - http://192.168.x.y:7522/upnp/channelstream/45.ts -> video/mpeg
12:16:53 T:1709326920 DEBUG: CFileCache::Open - opening <upnp/channelstream/45.ts> using cache
12:16:53 T:1709326920 DEBUG: CurlFile::Open(0x63256b10) http://192.168.x.y:7522/upnp/channelstream/45.ts
12:16:54 T:1528517640 DEBUG: ------ Window Init (DialogBusy.xml) ------
12:16:57 T:1673477560 NOTICE: Thread FileCache start, auto delete: false
12:16:57 T:1709326920 DEBUG: CDVDInputStreamPVRManager::Open - stream opened: http://192.168.x.y:7522/upnp/channelstream/45.ts
The reason seems to be, that the MXPlayer - or all other externals - does not know what a url pvr//... is. The DVDPlayer is able to "translate" this to the correct upnp-streams.
If the MxPlayer would get this upnp-stream - then the player could play the channel.
So - it should be possible with not so much effort to handover the upnp-address to the external player.
The DVDPlayer or a new kodi-function with the same result should therefore first "translate" the PVR-address to the backend-stream address.
Btw.... if this would change generally, it could work for other backends with http-streams as well, when the external player is able to work with this kind of streams.
Thank you
SaEt9000
Maybe, that my request is more a android-request - I dont know, how it works on other platforms.
The DVBViewer PVR is using the upnp-stream of the DVBViewer backend.
If you are using the upnp-server of DVBViewer, then you can use it to stream DVB-channels. This works with the kodi-DVDPlayer but it works with all external players which are able to play from upnp sources as well (like MXPlayer!!).
But if you try to use the MXPlayer as PVR-Player so it can not work:
The reason seems to be this (described with this example):
12:16:53 T:1709326920 DEBUG: opening live stream on url 'pvr://stream/tv/45.ts'
12:16:53 T:1709326920 DEBUG: PVRFile - virtual bool XFILE::CPVRFile::Open(const CURL&) - playback has started on filename pvr://channels/tv/Alle Kanäle/pvr.dvbviewer_46.pvr
12:16:53 T:1709326920 DEBUG: CCurlFile::GetMimeType - http://192.168.x.y:7522/upnp/channelstream/45.ts -> video/mpeg
12:16:53 T:1709326920 DEBUG: CFileCache::Open - opening <upnp/channelstream/45.ts> using cache
12:16:53 T:1709326920 DEBUG: CurlFile::Open(0x63256b10) http://192.168.x.y:7522/upnp/channelstream/45.ts
12:16:54 T:1528517640 DEBUG: ------ Window Init (DialogBusy.xml) ------
12:16:57 T:1673477560 NOTICE: Thread FileCache start, auto delete: false
12:16:57 T:1709326920 DEBUG: CDVDInputStreamPVRManager::Open - stream opened: http://192.168.x.y:7522/upnp/channelstream/45.ts
The reason seems to be, that the MXPlayer - or all other externals - does not know what a url pvr//... is. The DVDPlayer is able to "translate" this to the correct upnp-streams.
If the MxPlayer would get this upnp-stream - then the player could play the channel.
So - it should be possible with not so much effort to handover the upnp-address to the external player.
The DVDPlayer or a new kodi-function with the same result should therefore first "translate" the PVR-address to the backend-stream address.
Btw.... if this would change generally, it could work for other backends with http-streams as well, when the external player is able to work with this kind of streams.
Thank you
SaEt9000