NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
1 2 3 4 5 … 93 Next »
Recorded movies

 
  • 0 Vote(s) - 0 Average
Recorded movies
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,894
Threads: 955
Joined: May 2006
#1
2021-12-28, 10:30 PM
How do NextPVR web and UI clients determine that the Original Air Date year gets appended to the title (assuming not from Schedules Direct)

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#2
2021-12-29, 12:06 AM
It'll only do it if it knows it's a movie. ie, typically SD id starting with MV, or having a 'Movie' genre
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,894
Threads: 955
Joined: May 2006
#3
2021-12-29, 01:23 AM (This post was last modified: 2021-12-29, 01:30 AM by mvallevand.)
So this is what I have in the database, do you also use the filesize or duration and override the genre?

Code:
<Event>
  <OID>0</OID>
  <Title>pdy-aeontcxvid</Title>
  <SubTitle></SubTitle>
  <Description>400 years into the future, disease has wiped out the majority of the world&apos;s population, except one walled city, Bregna, ruled by a congress of scientists. When Æon Flux, the top operative in the underground &apos;Monican&apos; rebellion, is sent on a mission to kill a government leader, she uncovers a world of secrets.</Description>
  <ChannelOID>0</ChannelOID>
  <StartTime>2021-12-28T22:10:03.0000000Z</StartTime>
  <EndTime>2021-12-28T22:10:08.0000000Z</EndTime>
  <FirstRun>true</FirstRun>
  <OriginalAirDate>2005-12-01T00:00:00.0000000</OriginalAirDate>
  <Genres>
    <Genre>Movie</Genre>
  </Genres>
</Event>

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#4
2021-12-29, 01:34 AM
Do you mean when recording, or displaying in the TV Guide? (might be different - I'll have to check the specific scenario)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,894
Threads: 955
Joined: May 2006
#5
2021-12-29, 01:35 AM (This post was last modified: 2021-12-29, 01:36 AM by mvallevand.)
This is a recording but that is the cached event where the year comes from.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#6
2021-12-29, 01:46 AM
In the case of a recording that has already happened, the scheduled recording name has been set to include the year. This happened at the time the recording started.

ie, if you're importing this recording and you think it's a movie, it's up to you to set the scheduled recording name to include the year.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,894
Threads: 955
Joined: May 2006
#7
2021-12-29, 02:06 AM
That's odd because saved movies don't have the year in the title or in the cached event title, yet the year is return in the API not the original air date. The only distinction is the I can see filename but that is not even a required.

Adding the year could screw up art lookups but they aren't working well either because I don't think NextPVR thinks it is a movie.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#8
2021-12-29, 02:21 AM
(2021-12-29, 02:06 AM)mvallevand Wrote: That's odd because saved movies don't have the year in the title or in the cached event title,  yet the year is return in the API not the original air date. 
It wasn't clear which thing you were asking for (like filename when saving a recording, or how it's displayed in the UI clients, or how it's displayed in the web app etc). I can now tell you're asking about <year> being returned from recording.list api. I checked the code for this, and it currently only supplies the <year> tag if the unique id starts with MV. It should probably also look for movie genre.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,894
Threads: 955
Joined: May 2006
#9
2021-12-29, 02:50 AM (This post was last modified: 2021-12-29, 03:02 AM by mvallevand.)
Sorry I thought the subject Recorded Movies was enough. Anyway looking more carefully at other movies I figured it out, since even MV was not enough, the original air date must be Jan 1.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  TV is recorded at high speed!! idkpmiller 4 2,224 2008-04-20, 01:11 AM
Last Post: idkpmiller
  movieDB - online/offline movies dottore 10 4,847 2006-04-26, 01:06 AM
Last Post: jimbruskalski
  cutting movies within gbpvr dottore 20 6,443 2005-09-06, 06:18 AM
Last Post: dottore
  Ratings for shows/movies Torque 1 1,384 2005-03-14, 06:30 PM
Last Post: jorm

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

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

Linear Mode
Threaded Mode