NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 4 5 6 7 8 … 93 Next »
Show artwork method

 
  • 0 Vote(s) - 0 Average
Show artwork method
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2015-04-02, 08:41 AM
"http://%s:%d/service?method=recording.artwork&sid=%s&recording_id=%s"

Should I get a result from this when running against 3.3.8? And what will it return if the show does not have art?

I just seem to get a 404 every time I try it from a browser.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,953
Threads: 770
Joined: Nov 2003
#2
2015-04-02, 05:15 PM
Yes, that should work. You may need to ensure you've got the latest patches from the sticky post in the support thread.

If it's not working for you, check you can see the recording artwork in NextPVR itself. You could also check for "StreamArtwork()" in the web.log to ensure it's being called.

Yes, it'll return a 404 if not found.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,466
Threads: 963
Joined: May 2006
#3
2015-04-02, 05:39 PM
Is it possible that it only looks in Media\Shows for art?

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,953
Threads: 770
Joined: Nov 2003
#4
2015-04-02, 06:49 PM
It is looking for the png/jpg in the of the same name, or folder.jpg, or showname.jpg/.png in media\shows.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#5
2015-04-02, 07:46 PM
So would I assume if there's a file The.tonight.show-banner.jpg the I'd want the recording.banner method?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,953
Threads: 770
Joined: Nov 2003
#6
2015-04-02, 08:11 PM
It wouldn't currently return that, but would return a The.tonight.show.jpg for your The.tonight.show.ts file. I can add a method=recording.banner for the next release if you need it.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#7
2015-04-02, 08:16 PM
No I prefer the artwork ones.

So I've just tried a manual request and received a 404 with this in the web.log:
Code:
2015-04-03 09:12:45.261    [DEBUG][68]    Got Web Request (192.168.1.41): /services    method=recording.artwork&sid=plex&recording_id=25885
2015-04-03 09:12:45.261    [DEBUG][68]    method=recording.artwork
2015-04-03 09:12:45.261    [DEBUG][68]    parameters:
2015-04-03 09:12:45.261    [DEBUG][68]       method: recording.artwork
2015-04-03 09:12:45.261    [DEBUG][68]       sid: plex
2015-04-03 09:12:45.261    [DEBUG][68]       recording_id: 25885
2015-04-03 09:12:45.261    [DEBUG][68]       client_ip: 192.168.1.41
2015-04-03 09:12:45.261    [DEBUG][68]       host_callback: morgoth:8866
2015-04-03 09:12:45.261    [DEBUG][68]       physical_path: C:\Users\Public\NPVR\web\
2015-04-03 09:12:45.261    [DEBUG][68]       user_agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36
2015-04-03 09:12:45.261    [DEBUG][68]       range:
2015-04-03 09:12:45.261    [DEBUG][68]       requested_path: /services
2015-04-03 09:12:45.261    [DEBUG][68]       verb: GET
2015-04-03 09:12:45.261    [ERROR][68]    System.Web.HttpException (0x80004005): File does not exist.
   at System.Web.StaticFileHandler.GetFileInfo(String virtualPathWithPathInfo, String physicalPath, HttpResponse response)
   at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context, String overrideVirtualPath)
   at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

When i look on the media\shows folder I physically created a "Best Bits.jpg" (renamed a banner file).


According to my config.xml I'm on 3.3.8 *Nextpvr.exe is dated 26/10/2014. And it doesn't look like it's chucking out my request - but can't find what its supposed to be looking for.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,953
Threads: 770
Joined: Nov 2003
#8
2015-04-02, 08:22 PM
As a first step, are you seeing the artwork in NextPVR's Recordings screen?
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#9
2015-04-02, 09:06 PM
When looking at a recording to play? No.

I've got to go out for a bit - am I better to look at a later version as a first step?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,953
Threads: 770
Joined: Nov 2003
#10
2015-04-02, 09:31 PM
3.3.8 should give you this. I can't remember if you need the most recent patches from johnsonx42's sticky thread to get it working via the method=recording.artwork though.

For common shows, usually US/UK source shows, the recording service will automatically download artwork and name it appropriately. In this case, usually clicking enter on a show in the TV Guide before recording is enough to see if their is artwork available - a couple of seconds after the popup is shown, the artwork will appear on the left of the popup if it was available. The same artwork will downloaded when recording.

If you're making the artwork yourself, you've obviously got to get the file names right. If you've got a file called "The Saint_20150403_10001100.ts", then the same directory can have a "The Saint_20150403_10001100.jpg" or "The Saint_20150403_10001100.png", or the directory can have a "folder.jpg" or "folder.png". Alternatively a "The Saint.jpg" or "The Saint.png" could be in "C:\Users\Public\NPVR\Media\Shows".
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  is there a service?method which returns listings for multiple channels? reven 16 7,899 2022-04-11, 04:30 PM
Last Post: mandai
  Another Artwork question scJohn 15 8,879 2019-09-10, 05:33 PM
Last Post: nonob
  Artwork by show name psycik 4 4,851 2017-07-12, 03:47 AM
Last Post: psycik
  API access to artwork and deleting recordings cncb 29 16,713 2016-11-06, 02:20 AM
Last Post: mvallevand
  Media\Show Directory mvallevand 12 6,489 2014-07-02, 10:58 AM
Last Post: sub
  couple of issues with recording.recurring.save method reven 10 5,223 2014-01-03, 11:11 PM
Last Post: reven
  Advice on which streaming method to use fred250 17 6,907 2013-09-14, 11:14 AM
Last Post: fred250
  getting recurring recordings from service?method API? reven 2 2,170 2013-08-03, 10:50 PM
Last Post: reven
  sabnzbd plugin to show processed files Wakalaka 1 2,176 2013-03-12, 06:48 AM
Last Post: psycik
  Reinitialise method scb147 6 2,791 2009-07-22, 02:23 PM
Last Post: scb147

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

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

Linear Mode
Threaded Mode