NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 6 7 8 9 10 … 93 Next »
Web services information

 
  • 0 Vote(s) - 0 Average
Web services information
psycik
Offline

Posting Freak

Posts: 5,216
Threads: 425
Joined: Sep 2005
#1
2013-09-04, 07:03 AM
Any chance if http://<ip>:8866/services?method=recording.list&filter=Ready could return a thumbnail if there's a folder.jpg for the show?

Or should I be using the newa web services? And does this provide that information?

The other thing I'm kinda interested in if I can, is getting the channel icons.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,588
Threads: 786
Joined: Nov 2003
#2
2013-09-04, 07:30 AM
You can already get channel icons using http://<ip>:8866/services?method=channel.icon&channel_id=123

I'll try to add something for recording artwork.
psycik
Offline

Posting Freak

Posts: 5,216
Threads: 425
Joined: Sep 2005
#3
2013-09-04, 07:56 AM
sub Wrote:You can already get channel icons using http://<ip>:8866/services?method=channel.icon&channel_id=123

I'll try to add something for recording artwork.

Cool. If I run plex on the pc, then live tv works fine....but any device that needs a transcode it doesn't get an updated duration and so stops - and it's above my skill level.

But I'll try and pretty up how it looks with the channel icons.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 57,043
Threads: 1,004
Joined: May 2006
#4
2013-09-04, 11:17 AM
NEWA does return art for EPG and shows. Until UJB did this I simply created a symbolic link from web/public/Media to Media/Shows since that is where I keep all my media. That why I get art even after shows get deleted.

Martin
psycik
Offline

Posting Freak

Posts: 5,216
Threads: 425
Joined: Sep 2005
#5
2013-09-05, 08:16 PM (This post was last modified: 2013-09-05, 08:25 PM by psycik.)
Does http://<ip>:8866/services?method=recording.list&filter=Ready only return recordings where it can find a file?

I've copied my main DB to another machine, and so the G:\Recordings path is invalid - and the list from this web service is empty.

EDIT: I've confirmed this is the case and managed to get around it.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,588
Threads: 786
Joined: Nov 2003
#6
2013-09-05, 08:36 PM
Yes, as you've found, it'll only return files that exist.
psycik
Offline

Posting Freak

Posts: 5,216
Threads: 425
Joined: Sep 2005
#7
2013-09-05, 09:00 PM
sub Wrote:Yes, as you've found, it'll only return files that exist.

Ha cool, no wonder stustunz's db gave me nothing back...
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 57,043
Threads: 1,004
Joined: May 2006
#8
2013-09-05, 11:05 PM
psycik Wrote:Ha cool, no wonder stustunz's db gave me nothing back...

Next time ask for the xml code and change you .py file to point to the file. You can probably do this on the fly. Once I got used to it I found python coding really easy to debug, indenting aside.

Martin
psycik
Offline

Posting Freak

Posts: 5,216
Threads: 425
Joined: Sep 2005
#9
2013-09-05, 11:16 PM
mvallevand Wrote:Next time ask for the xml code and change you .py file to point to the file. You can probably do this on the fly. Once I got used to it I found python coding really easy to debug, indenting aside.

Martin

The xml code? Is this a dump from the web service?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 57,043
Threads: 1,004
Joined: May 2006
#10
2013-09-05, 11:25 PM
I said code but I meant user's file. Just change your open to

tree = ET.parse('c:/temp/example.xml')

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to get edl information for videos in a web client? fred250 27 15,069 2014-12-10, 12:39 AM
Last Post: fred250
  What causes a new tuner to be used services/live?channel= psycik 2 3,195 2014-02-04, 05:32 PM
Last Post: psycik
  Amazon Web Services and On Demand mkenyon2 1 2,359 2008-09-22, 06:14 PM
Last Post: quix
  A plugin to import channel information Khurram 6 4,766 2008-06-04, 06:28 PM
Last Post: Khurram
  SLightly OT - Windows Services jtokach 4 3,300 2007-04-24, 08:58 PM
Last Post: jtokach
  How to keep track of show information from db Carlito 5 3,174 2006-10-30, 08:17 PM
Last Post: pBS
  request for information regarding nagravision plugin rocketjock 2 2,848 2005-11-16, 04:09 PM
Last Post: rocketjock
  How do you access the information in REOCCURING_EXTRAS Jeff 2 2,087 2005-10-08, 12:01 AM
Last Post: KingArgyle
  What to inherit so that I can show information while TV is playing? mitcheloc 0 1,716 2005-10-07, 04:07 PM
Last Post: mitcheloc
  How to access show information from another computer Jere_Jones 1 2,090 2005-05-31, 05:35 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode