Demo PVR and web interface

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Mizaki Offline
Fan
Posts: 726
Joined: Apr 2011
Reputation: 14
Post: #1
Hi,

I've been asked to support the PVR in AWXi. Sadly I don't have a TV card etc. so I'm trying to use the demo one. Is there information missing that would normally appear in the pvr:// URI. Looking at overflowed interface, it seems to retrieve the channels via this method. A JSON call to list all channels would be great but I guess the PVR is frozen as well?

I can get the following from "pvr://channels/tv/all":
Code:
{"file":"pvr://channels/tv/All TV channels/0.pvr","filetype":"file","label":"Demo TV Channel 1","type":"unknown"}

I was expecting a channel to be a directory I could then list to get the programmes and their info from. Also, can I get the channelid using this method? I tried using "properties": ["channelid"] but that causes an error.

TIA

[Image: watched-clearlogo.jpg]
AWXi - Ajax web interface. Wiki
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 2,218
Joined: Feb 2009
Reputation: 29
Location: Heerlen, The Netherlands
Post: #2
I'll check. been a while since I wrote that.

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 2,218
Joined: Feb 2009
Reputation: 29
Location: Heerlen, The Netherlands
Post: #3
right, now I know. there's no stream path set in the default demo settings.

open system/PVRDemoAddonSettings.xml and fill in some url that can be opened by xbmc's vfs, and it'll open that file when you start the channel stream.

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
find quote
mikefreeman Offline
Member
Posts: 70
Joined: Jul 2011
Reputation: 0
Post: #4
dushmaniac,

Can I put URL's to .pls, .asx, or .m3u files into the PVRDemoAddonSettings.xml file? Or, do I have to pull the URL's out of these files and add them in? The live TV/Radio streams I would like to make into TV/Radio channels are all of this type. Thanks!
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 2,218
Joined: Feb 2009
Reputation: 29
Location: Heerlen, The Netherlands
Post: #5
that might not work because those are not the actual media files, but playlists. only one way to find out... Smile

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
find quote
mikefreeman Offline
Member
Posts: 70
Joined: Jul 2011
Reputation: 0
Post: #6
(2012-04-06 17:00)dushmaniac Wrote:  that might not work because those are not the actual media files, but playlists. only one way to find out... Smile

Ok, yeah. Those didn't work. So, what exactly do I use? Can you give examples of URL's that can be put into the xml file? Because I have no clue how to do this, and nothing I've found online tells me anything useful about it. They all say something like "enter a URL that works with the XBMC vfs", but no one tells me which types of URL's will work with the XBMC vfs! :/

Thanks!
find quote