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
Martin
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
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
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> Martin
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)
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
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.
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
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.
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 |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
TV is recorded at high speed!! | idkpmiller | 4 | 2,039 |
2008-04-20, 01:11 AM Last Post: idkpmiller |
|
movieDB - online/offline movies | dottore | 10 | 4,516 |
2006-04-26, 01:06 AM Last Post: jimbruskalski |
|
cutting movies within gbpvr | dottore | 20 | 5,873 |
2005-09-06, 06:18 AM Last Post: dottore |
|
Ratings for shows/movies | Torque | 1 | 1,288 |
2005-03-14, 06:30 PM Last Post: jorm |