|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#781
|
|||
|
|||
I understand why this may be a struggle, on a re-run recording you would be using the date the show was recorded and not the original airing date so for re-run recordings it would be inaccurate. Would it be possible to analyze first if the recording is a first run or not and if it is a first run then use the recorded date if it is not a first run then use the original air date? Just a thought I had.
Last edited by clarenceb5; 09-11-2013 at 07:16 PM. |
#782
|
||||
|
||||
Quote:
|
#783
|
|||
|
|||
Quote:
|
#784
|
||||
|
||||
Quote:
plex won't add a file if it already exists in the database...even if it is in another section. i also need the bmtagent log please. |
#785
|
|||
|
|||
There is a brand new recording of MLB from last night in these log files, the file name is MLBBaseball-LosAngelesAngelsofAnaheimatTorontoBlueJays-1126235-0.mpg. And I've attached the BMT Agent log file as well.
|
#786
|
||||
|
||||
Quote:
i search for MLBBaseball-LosAngelesAngelsofAnaheimatTorontoBlueJays-1126235-0.mpg nothing... |
#787
|
|||
|
|||
I search the files using only '1126235' in my search and I am find this recording 'MLBBaseball-LosAngelesAngelsofAnaheimatTorontoBlueJays-1126235-0.mpg' in the following files:
'Plex Media Scanner.log.3' (2 occurrences) 'Plex Media Scanner.log.4' (2 occurrences) 'com.plexapp.agents.bmtagenttvshows.log.1' (6 occurrences) 'com.plexapp.agents.bmtagenttvshows.log.2' (2 occurrences) |
#788
|
||||
|
||||
Quote:
I see the file now and it looks like the original air date that is coming back if 0 which probably means that there is an error in the python which is not converting the data correctly in this case. This is in turn causing a serialization exception...are you sure you are running the most recent code from the .zip file on google? if so then there is not much else i can say as to why it is failing. I will work on the code to do some conditional processing and see if we are looking at a first run or not. if we are then use the recording date rather than the original airdate... although im still not sure that the most accurate thing to do. I mean whats really the disadvantage of using the recorded date all of the time? i dunno ill think about it some more. |
#789
|
|||
|
|||
Quote:
Thanks! |
#790
|
|||
|
|||
Quote:
|
#791
|
||||
|
||||
Quote:
For now i would check that tv folder on sage for the fanart and see if there is a blank poster in there. if so kill it, deep scan in plex and it should go away. dont' forget to remove the media and empty the trash / clean bundles plex is so smart its stupid sometimes. What i mean is if there is a piece of media that has been scanned before it will keep record of everything related to it. simply deep scanning sometimes won't take care of an issue like this, although it may :-) |
#792
|
||||
|
||||
Quote:
Sorry for all of the redundant debugging, but with the way plex and python behave its sorta the only way to get to the bottom of what the issue actually is. If this doesn't work the next course of action is to have you send me that file. at least some of it. from there I can import it as a recording to my sage server and do my own debugging/testing in realtime with plex. |
#793
|
|||
|
|||
Quote:
Thanks! jb |
#794
|
||||
|
||||
Quote:
If not, then this means that when plex went to pull the poster it encountered and error of some sort (network hiccup, incorrect location for the file, etc.) and created its own dummy poster. send along the bmtagent log and Ill look to see what it says. you can also look in the file and search for the show in question. you should see lines in there (logging lines by me) which give a URL used to pull the poster and other fanart. If you take that url and dump it in a browser, what comes back? |
#795
|
||||
|
||||
I am adding code to check to see if the recording is a first run or not. if it is then use the AiringStartTime as the date to categorize in plex.... Im still not convinced that I shouldn't just be using the airing start time all the time rather than original air date...
what do you all think? |
#796
|
|||
|
|||
I think it depends on what you want to see.
For example on all my SageTV clients I use the Gemstone Theme with the Widgets on the main menu, one of my widgets is 'Recent Recordings' and I've set it to only list first runs cause that is all I want to see but I could have it show all recent recordings. In Plex the view is called 'Recently Aired' but some people may interpret this to mean only new shows (first runs) or the same as 'Recent Recordings' not necessarily just new airings (first runs). |
#797
|
||||
|
||||
Quote:
I added the code to use the AiringStartTime when the first run flag is set. running a set right now. |
#798
|
||||
|
||||
I have discovered something odd and I am not sure if it is Sage or BMT doing it
bascially I have a new recording: XFactor season3 e1 right the original air date and original airing date are aug. 19th 2006 ?!? but the recording start time is Sept 11th 2013 The first run flag is false...so my new code pics up the 2006 date.. ODD why is the first run flag false? IDK |
#799
|
||||
|
||||
soo i modified some things and changed the code to always use the reocrding start time.. that way I am sure there is a value there.
I tested it on my 2 recent xfactor recordings prior to this i had 1 with poster art one without... now i have both with fully populated metadata. going to throw some conditional processing, and then unleash on my entire directory to see what hapens. |
#800
|
||||
|
||||
I also just fixed the setting of watched status on scanning of a new file. so thats nice :-)
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comparing to Plex | heffneil | Batch Metadata Tools | 20 | 01-08-2012 04:54 PM |
Need help with SJQv4 remote agent | coppit | SageTV v7 Customizations | 4 | 12-19-2010 11:03 AM |
Plex in a TV? What about sage? | rwc | General Discussion | 9 | 09-05-2010 04:38 PM |
Possible to get SageTV to handle my library more like Plex? | DAMAC | SageTV Mac Edition | 0 | 06-10-2009 10:33 AM |
SagetTVService Virus Win32.Agent.dwo | Ponchera | SageTV Software | 6 | 02-04-2008 06:33 PM |