|
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 |
#521
|
||||
|
||||
Just waiting on some additional feedback before pushing a new set of code out to google...
|
#522
|
||||
|
||||
Code Release 4
************************
https://code.google.com/p/sagetv-for...q=#makechanges The Newest code release 4 has been placed on the google code site under downloads. it contains: - Updates which allow ALL metadata from BMT to be correctly populated in Plex media objects. - PlexThemeMusic support (This requires that you go into the settings for the agent in the PMS Web ui and allow the PlexThemeMusic to contribute to BMT Agent) Darci is still testing this out, but NYPLAYER and myself tested with 100% success (aside from nyplayers shading issue which is NOT related to this code) 1) Remove sage tv shows import 2) shutdown plex completely 3) unzip new download 4) restart plex 5) resetup SageTV REcordings as defined in install guide (make sure to change the defaults sage urls in the scanner file and BMTAgent.properties files) 6) Once plex is running again go into the Webui to manage the server - Under settings->agents-TVShows->BMTAgent - put a check in the box next to PlexThemeMusic. This will allow BMT to accept additional metadata info (PlexThemeMusic) from the Plex Agent, and give your recordings theme music when available. 7) Add SageTV Movies import by selecting home->Movies 8) enter your sagetv recordings directories 9) Select SageTV Movie Scanner 10) use the default freebase metadata agent. |
#523
|
|||
|
|||
Pix,
You know why this does not match?... Data is in BMT. Code:
2013-03-23 17:44:04,190 (b0c) : INFO (agentkit:914) - Searching for matches for {'show': 'Lost in Space', 'id': '2601', 'year': None} 2013-03-23 17:44:04,190 (b0c) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/library/metadata/2601/tree' 2013-03-23 17:44:04,221 (b0c) : DEBUG (logkit:13) - ****STARTTTTTTTT 2013-03-23 17:44:04,221 (b0c) : DEBUG (logkit:13) - ***cwdddddddddddd=\\?\C:\Users\SAGETVUSER\AppData\Local\Plex Media Server\Plug-in Support\Data\com.plexapp.agents.bmtagenttvshows 2013-03-23 17:44:04,221 (b0c) : DEBUG (logkit:13) - ***propertiesFilePath=C:\Users\SAGETVUSER\AppData\Local\Plex Media Server\Plug-ins\BMTAgentTVShows.bundle\Contents\Code\BMTAgent.properties 2013-03-23 17:44:04,221 (b0c) : DEBUG (logkit:13) - ***Properties file key=SAGEX_HOST; value=http://user:password@127.0.0.1:8080 2013-03-23 17:44:04,221 (b0c) : DEBUG (logkit:13) - ***Properties file key=PLEX_HOST; value=http://127.0.0.1:32400 2013-03-23 17:44:04,221 (b0c) : DEBUG (logkit:13) - ****media.id=2601; media.filename=None 2013-03-23 17:44:04,221 (b0c) : CRITICAL (core:561) - Exception in the search function of agent named 'SageTV BMT Agent (TV Shows)', called with keyword arguments {'show': 'Lost in Space', 'id': '2601', 'year': None} (most recent call last): File "C:\Users\SAGETVUSER\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 921, in _search agent.search(results, media, lang, manual) File "C:\Users\SAGETVUSER\AppData\Local\Plex Media Server\Plug-ins\BMTAgentTVShows.bundle\Contents\Code\__init__.py", line 163, in search unquotedFilepathAndName = urllib.unquote(quotedFilepathAndName) File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib.py", line 1170, in unquote res = s.split('%') AttributeError: 'NoneType' object has no attribute 'split' 2013-03-23 17:44:04,221 (b0c) : DEBUG (runtime:896) - Response: [200] str, 16 bytes
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#524
|
||||
|
||||
It's a movie right? Movies are purposely left out of SageTV Scanner. You would need to add another movie section in plex and use the Custom SageTV Movie Scanner with the freebase plex metadata agent..
|
#525
|
|||
|
|||
No its an old Series not the movie.
http://thetvdb.com/?tab=series&id=72923. Everything is correct in BMT.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#526
|
||||
|
||||
Quote:
Http:// sage server : port /sagex/api?c=plex:GetMediaFileForName&1= filename and ext I think that URL is right... If not ill have to look it up when I get home, or u can pull it out of the init.py in the scanner or agent code. |
#527
|
|||
|
|||
Code:
- <MediaFile> - <MediaFileFormatDescription> - <![CDATA[ Quicktime[H.264/646Kbps 512x352@30fps, AAC/159Kbps@48kHz Stereo eng] ]]> </MediaFileFormatDescription> - <MediaFileMetadataProperties> - <Subtitled> - <![CDATA[ false ]]> </Subtitled> - <Genre> - <![CDATA[ Adventure / Science fiction ]]> </Genre> - <Contestant> - <![CDATA[ ]]> </Contestant> - <UserRating> - <![CDATA[ 0 ]]> </UserRating> - <ChannelPremiere> - <![CDATA[ false ]]> </ChannelPremiere> - <RunningTime> - <![CDATA[ 0 ]]> </RunningTime> - <Widescreen> - <![CDATA[ false ]]> </Widescreen> - <Guest> - <![CDATA[ ]]> </Guest> - <Choreographer> - <![CDATA[ ]]> </Choreographer> - <ExtendedRatings> - <![CDATA[ ]]> </ExtendedRatings> - <Dolby> - <![CDATA[ false ]]> </Dolby> - <Composer> - <![CDATA[ ]]> </Composer> - <Writer> - <![CDATA[ Bob Duncan;Wanda Duncan ]]> </Writer> - <Stereo> - <![CDATA[ false ]]> </Stereo> - <ParentalRating> - <![CDATA[ TVG ]]> </ParentalRating> - <EpisodeNumber> - <![CDATA[ 24 ]]> </EpisodeNumber> - <MediaProviderDataID> - <![CDATA[ 72923 ]]> </MediaProviderDataID> - <Description> - <![CDATA[ Smith finds a killer android, sent to destroy the Robinsons' android friend, Verda. ]]> </Description> - <ExternalID> - <![CDATA[ EP0026750077 ]]> </ExternalID> - <SAP> - <![CDATA[ false ]]> </SAP> - <IMDBID> - <![CDATA[ ]]> </IMDBID> - <HDTV> - <![CDATA[ false ]]> </HDTV> - <Title> - <![CDATA[ Lost in Space ]]> </Title> - <SeasonNumber> - <![CDATA[ 2 ]]> </SeasonNumber> - <CC> - <![CDATA[ true ]]> </CC> - <SeriesFinale> - <![CDATA[ false ]]> </SeriesFinale> - <MediaType> - <![CDATA[ TV ]]> </MediaType> - <TotalParts> - <![CDATA[ 0 ]]> </TotalParts> - <Live> - <![CDATA[ false ]]> </Live> - <SeriesInfoID> - <![CDATA[ 2675 ]]> </SeriesInfoID> - <MediaProviderID> - <![CDATA[ tvdb ]]> </MediaProviderID> - <Voice> - <![CDATA[ ]]> </Voice> - <Surround> - <![CDATA[ false ]]> </Surround> - <Judge> - <![CDATA[ ]]> </Judge> - <MediaTitle> - <![CDATA[ Lost in Space ]]> </MediaTitle> - <EpisodeName> - <![CDATA[ Revolt of the Androids ]]> </EpisodeName> - <DiscNumber> - <![CDATA[ 0 ]]> </DiscNumber> - <Director> - <![CDATA[ Don Richardson ]]> </Director> - <SeriesPremiere> - <![CDATA[ false ]]> </SeriesPremiere> - <Anchor> - <![CDATA[ ]]> </Anchor> - <PartNumber> - <![CDATA[ 0 ]]> </PartNumber> - <GuestVoice> - <![CDATA[ ]]> </GuestVoice> - <X3D> - <![CDATA[ false ]]> </X3D> - <DD51> - <![CDATA[ false ]]> </DD51> - <ExecutiveProducer> - <![CDATA[ ]]> </ExecutiveProducer> - <GuestStar> - <![CDATA[ Dee Hartford;Don Matheson;Dawson Palmer ]]> </GuestStar> - <SeasonPremiere> - <![CDATA[ false ]]> </SeasonPremiere> - <MusicalGuest> - <![CDATA[ ]]> </MusicalGuest> - <ScrapedDate> - <![CDATA[ 1363986089621 ]]> </ScrapedDate> - <New> - <![CDATA[ false ]]> </New> - <Letterbox> - <![CDATA[ false ]]> </Letterbox> - <Taped> - <![CDATA[ false ]]> </Taped> - <ScrapedBy> - <![CDATA[ Phoenix ]]> </ScrapedBy> - <Producer> - <![CDATA[ Irwin Allen ]]> </Producer> - <Misc> - <![CDATA[ ]]> </Misc> - <Language> - <![CDATA[ ]]> </Language> - <Dubbed> - <![CDATA[ false ]]> </Dubbed> - <Narrator> - <![CDATA[ ]]> </Narrator> - <SeasonFinale> - <![CDATA[ false ]]> </SeasonFinale> - <Rated> - <![CDATA[ ]]> </Rated> - <Correspondent> - <![CDATA[ ]]> </Correspondent> - <OriginalAirDate> - <![CDATA[ -88992000000 ]]> </OriginalAirDate> - <Host> - <![CDATA[ ]]> </Host> - <Team> - <![CDATA[ ]]> </Team> - <Year> - <![CDATA[ ]]> </Year> - <Premiere> - <![CDATA[ false ]]> </Premiere> - <Actor> - <![CDATA[ Guy Williams;June Lockhart;Mark Goddard;Marta Kristen;Bill Mumy;Angela Cartwright;Jonathan Harris;Dick Tufeld ]]> </Actor> </MediaFileMetadataProperties> <IsFileCurrentlyRecording>false</IsFileCurrentlyRecording> - <MediaFileRelativePath> - <![CDATA[ ]]> </MediaFileRelativePath> <IsLocalFile>true</IsLocalFile> <IsBluRay>false</IsBluRay> <Size>364297160</Size> <IsDVD>false</IsDVD> <IsMusicFile>false</IsMusicFile> <IsTVFile>true</IsTVFile> <IsVideoFile>true</IsVideoFile> <IsDVDDrive>false</IsDVDDrive> <IsThumbnailLoaded>false</IsThumbnailLoaded> <IsLibraryFile>false</IsLibraryFile> <FileStartTime>1348369207220</FileStartTime> <FileDuration>3592780</FileDuration> <FileEndTime>1348372800000</FileEndTime> <IsCompleteRecording>true</IsCompleteRecording> - <SegmentFiles size="1"> - <File> - <![CDATA[ N:\SAGEN\Lost in Space - S02E24 - Revolt of the Androids-2669514-0.mp4 ]]> </File> </SegmentFiles> - <MediaTitle> - <![CDATA[ Lost in Space ]]> </MediaTitle> <IsPictureFile>false</IsPictureFile> - <ParentDirectory> - <![CDATA[ N:\SAGEN ]]> </ParentDirectory> <MediaFileID>2759256</MediaFileID> - <Airing> - <ScheduleRecordingRecurrence> - <![CDATA[ ]]> </ScheduleRecordingRecurrence> <IsNotManualOrFavorite>false</IsNotManualOrFavorite> - <AiringAttributeList size="1"> - <Item> - <![CDATA[ CC ]]> </Item> </AiringAttributeList> - <AiringChannelNumber> - <![CDATA[ 302 ]]> </AiringChannelNumber> <RealWatchedEndTime>0</RealWatchedEndTime> - <AiringPremiereFinaleInfo> - <![CDATA[ ]]> </AiringPremiereFinaleInfo> <RealWatchedStartTime>0</RealWatchedStartTime> - <ExtraAiringDetails> - <![CDATA[ Closed Captioned ]]> </ExtraAiringDetails> - <Channel> - <ChannelDescription> - <![CDATA[ KATUDT2 (KATU-DT2) Portland, OR ]]> </ChannelDescription> <StationID>62792</StationID> <IsChannelViewable>true</IsChannelViewable> <IsChannelObject>true</IsChannelObject> - <ChannelName> - <![CDATA[ KATUDT2 ]]> </ChannelName> - <ChannelNetwork> - <![CDATA[ Independent ]]> </ChannelNetwork> - <ChannelNumber> - <![CDATA[ 302 ]]> </ChannelNumber> <ChannelLogoCount>0</ChannelLogoCount> </Channel> <IsDontLike>false</IsDontLike> - <Show> - <PeopleAndCharacterListInShow size="15"> - <Item> - <![CDATA[ Guy Williams as Prof. John Robinson ]]> </Item> - <Item> - <![CDATA[ June Lockhart as Maureen Robinson ]]> </Item> - <Item> - <![CDATA[ Mark Goddard as Don West ]]> </Item> - <Item> - <![CDATA[ Marta Kristen as Judy Robinson ]]> </Item> - <Item> - <![CDATA[ Bill Mumy as Will Robinson ]]> </Item> - <Item> - <![CDATA[ Angela Cartwright as Penny Robinson ]]> </Item> - <Item> - <![CDATA[ Jonathan Harris as Dr. Zachary Smith ]]> </Item> - <Item> - <![CDATA[ Dick Tufeld as Robot ]]> </Item> - <Item> - <![CDATA[ Dee Hartford ]]> </Item> - <Item> - <![CDATA[ Don Matheson ]]> </Item> - <Item> - <![CDATA[ Dawson Palmer ]]> </Item> - <Item> - <![CDATA[ Don Richardson ]]> </Item> - <Item> - <![CDATA[ Irwin Allen ]]> </Item> - <Item> - <![CDATA[ Bob Duncan ]]> </Item> - <Item> - <![CDATA[ Wanda Duncan ]]> </Item> </PeopleAndCharacterListInShow> - <ShowParentalRating> - <![CDATA[ ]]> </ShowParentalRating> - <ShowCategoriesString> - <![CDATA[ Adventure / Science fiction ]]> </ShowCategoriesString> - <ShowCategoriesList size="2"> - <Item> - <![CDATA[ Adventure ]]> </Item> - <Item> - <![CDATA[ Science fiction ]]> </Item> </ShowCategoriesList> <OriginalAiringDate>-88992000000</OriginalAiringDate> - <ShowExpandedRatings> - <![CDATA[ ]]> </ShowExpandedRatings> - <ShowYear> - <![CDATA[ ]]> </ShowYear> - <ShowMisc> - <![CDATA[ ]]> </ShowMisc> - <ShowRated> - <![CDATA[ ]]> </ShowRated> - <ShowTitle> - <![CDATA[ Lost in Space ]]> </ShowTitle> <IsShowObject>true</IsShowObject> <ShowEpisodeNumber>24</ShowEpisodeNumber> <ShowSeasonNumber>2</ShowSeasonNumber> - <ShowCategory> - <![CDATA[ Adventure ]]> </ShowCategory> <IsShowEPGDataUnique>true</IsShowEPGDataUnique> - <ShowSubCategory> - <![CDATA[ Science fiction ]]> </ShowSubCategory> - <ShowDescription> - <![CDATA[ Smith finds a killer android, sent to destroy the Robinsons' android friend, Verda. ]]> </ShowDescription> - <ShowEpisode> - <![CDATA[ Revolt of the Androids ]]> </ShowEpisode> <ShowDuration>0</ShowDuration> - <ShowExternalID> - <![CDATA[ EP0026750077 ]]> </ShowExternalID> - <PeopleInShow> - <![CDATA[ Guy Williams, June Lockhart, Mark Goddard, Marta Kristen, Bill Mumy, Angela Cartwright, Jonathan Harris, Dick Tufeld, Dee Hartford, Don Matheson, Dawson Palmer, Don Richardson, Irwin Allen, Bob Duncan, Wanda Duncan ]]> </PeopleInShow> - <PeopleListInShow size="15"> - <Item> - <![CDATA[ Guy Williams ]]> </Item> - <Item> - <![CDATA[ June Lockhart ]]> </Item> - <Item> - <![CDATA[ Mark Goddard ]]> </Item> - <Item> - <![CDATA[ Marta Kristen ]]> </Item> - <Item> - <![CDATA[ Bill Mumy ]]> </Item> - <Item> - <![CDATA[ Angela Cartwright ]]> </Item> - <Item> - <![CDATA[ Jonathan Harris ]]> </Item> - <Item> - <![CDATA[ Dick Tufeld ]]> </Item> - <Item> - <![CDATA[ Dee Hartford ]]> </Item> - <Item> - <![CDATA[ Don Matheson ]]> </Item> - <Item> - <![CDATA[ Dawson Palmer ]]> </Item> - <Item> - <![CDATA[ Don Richardson ]]> </Item> - <Item> - <![CDATA[ Irwin Allen ]]> </Item> - <Item> - <![CDATA[ Bob Duncan ]]> </Item> - <Item> - <![CDATA[ Wanda Duncan ]]> </Item> </PeopleListInShow> - <RolesInShow size="15"> - <Item> - <![CDATA[ Actor ]]> </Item> - <Item> - <![CDATA[ Actor ]]> </Item> - <Item> - <![CDATA[ Actor ]]> </Item> - <Item> - <![CDATA[ Actor ]]> </Item> - <Item> - <![CDATA[ Actor ]]> </Item> - <Item> - <![CDATA[ Actor ]]> </Item> - <Item> - <![CDATA[ Actor ]]> </Item> - <Item> - <![CDATA[ Actor ]]> </Item> - <Item> - <![CDATA[ Guest Star ]]> </Item> - <Item> - <![CDATA[ Guest Star ]]> </Item> - <Item> - <![CDATA[ Guest Star ]]> </Item> - <Item> - <![CDATA[ Director ]]> </Item> - <Item> - <![CDATA[ Producer ]]> </Item> - <Item> - <![CDATA[ Writer ]]> </Item> - <Item> - <![CDATA[ Writer ]]> </Item> </RolesInShow> - <ShowLanguage> - <![CDATA[ ]]> </ShowLanguage> </Show> <IsWatched>false</IsWatched> <IsAiringHDTV>false</IsAiringHDTV> <AiringID>2669514</AiringID> <IsFavorite>true</IsFavorite> - <RecordingName> - <![CDATA[ ]]> </RecordingName> - <AiringChannelName> - <![CDATA[ KATUDT2 ]]> </AiringChannelName> <AiringDuration>3600000</AiringDuration> <AiringStartTime>1348369200000</AiringStartTime> <AiringEndTime>1348372800000</AiringEndTime> <ScheduleStartTime>1348369200000</ScheduleStartTime> <ScheduleEndTime>1348372800000</ScheduleEndTime> - <AiringRatings size="1"> - <Item> - <![CDATA[ TVG ]]> </Item> </AiringRatings> <ScheduleDuration>3600000</ScheduleDuration> <IsManualRecord>false</IsManualRecord> <TrackNumber>0</TrackNumber> - <AiringTitle> - <![CDATA[ Lost in Space ]]> </AiringTitle> <WatchedDuration>0</WatchedDuration> <LatestWatchedTime>1348369200000</LatestWatchedTime> - <ParentalRating> - <![CDATA[ TVG ]]> </ParentalRating> <WatchedEndTime>0</WatchedEndTime> <AiringPartNumber>1</AiringPartNumber> <AiringTotalParts>1</AiringTotalParts> <IsAiringObject>true</IsAiringObject> <IsWatchedCompletely>false</IsWatchedCompletely> - <RecordingQuality> - <![CDATA[ ]]> </RecordingQuality> <WatchedStartTime>0</WatchedStartTime> <IsShowFirstRun>false</IsShowFirstRun> <IsShowReRun>true</IsShowReRun> </Airing> <NumberOfSegments>1</NumberOfSegments> <AlbumForFile /> - <MediaFileEncoding> - <![CDATA[ ]]> </MediaFileEncoding> <IsMediaFileObject>true</IsMediaFileObject> <IsShowFirstRun>false</IsShowFirstRun> <IsShowReRun>true</IsShowReRun> </MediaFile>
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#528
|
||||
|
||||
Quote:
|
#529
|
|||
|
|||
Here is the log.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#530
|
||||
|
||||
did you remove your import directory in Plex, then add code, restart plex, and then re-add and do a complete rescan as indicated in the build notes?
Reason I ask is i am not seeing any scanner specific logging... It seems like its hitting the cache everytime which means its not rescanning the file, recalling sagex for the initial add to the media stack, and then passing along to sagebmtagent. If you did that, then maybe the logging isn't working right on windows. If this is the case I can create a dummy file with the name you have add it to my sage dir, get it in my system, adn then scan it with plex to get the actual log... |
#531
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#532
|
||||
|
||||
I got em the other day, just haven't had a sec to take a look. I will asap.
|
#533
|
||||
|
||||
I noticed an issue with .m4v files not coming through... I fixed it already just need to update the google code.. sorry about that.
|
#534
|
|||
|
|||
Some of my airings have duplicate episode numbers in Sage...
For example, I have Futurama - Benders Big Game Part 3 and Futurama - Benders Big Game Part 4 both showing Season <blank> Episode <5>. This prevents the second episode from being synced into Plex. It's a bit annoying as every so often the sync will just not show an episode. The only way to be fix is to manually compare every single recording between plex and sage, find the offenders, browse the web to figure out what the correct episode number should be, go to BMT, fix the metadata info and re-run the sync. Would it be possible to have the scanner either (a) report when it finds duplicate season/episode numbers for a series, or (b) even better, just import them anyway's. I see that it does fine if the episode and season are entirely blank, so could it just "pretend" the episode number was blank when it sees a duplicate? I may take a look at the scripts myself and see how hard it would be. I know C#, Java and PHP, so I figure Python can't be that hard to pick up. Other than that...awesome work here! This may just put a halt to my own effort of creating a TV Show metadata scanner for XBMC. If I can get the Plex scanner working perfectly, I'll likely just use a Plex back-end with XBMC clients (I like the XBMC interface better). |
#535
|
||||
|
||||
Quote:
So the way it currently works is if the season is blank, then Plex SageTV Scanner is set by my coding to use the year as the season. The reason you are getting "mucked" up and only seeing 1 episode is because in your scenario you have 2 of the same episode numbers. When the SageTV scanner sees that you have another file with the same season and episode, it immediately thinks its the same and throws it out. There are a few ways to handle this in my opinion: 1) I can tweak the code so that if Season is blank, then do NOT ever use the episode number. This would result for you in both episodes being loaded into plex. I will have to check the Metadata agent code, but I am pretty sure that once the season and episode are set by the scanner, the agent doesn't overwrite it. Therfore you would still result with both of your files being loaded. The way it shoudl work is shown in the attached screenshot. it will take the YEAR, and use that as the season number, and then use the airing id as the episode number: Currently here is the code: Code:
if(s_num == None or s_num == ""): # if there is no season or episode number, default it to 0 so that Plex can still pull it in s_num = 0 if(ep_num == None or ep_num == "" or ep_num == 0): ep_num = int(airing.get('AiringID')) the code would look like this then: Code:
if(s_num == None or s_num == ""): # if there is no season or episode number, default it to 0 so that Plex can still pull it in ep_num = int(airing.get('AiringID')) s_num = 0 elif(ep_num == None or ep_num == "" or ep_num == 0): ep_num = int(airing.get('AiringID')) can u also please send me the result of: http://sage ip : port/sagex/api?c=plex:GetMediaFileForName&1= [name of file without extension] 2) It almost to me seams like these should be cleaned automatically in BMT. Why is the season number not being pulled in? It is available in TVDB, so maybe you need to create a custom "matcher" so these files are accurately tagged by BMT and utlimately make it into plex. In BMT if the files doesn't technically have a season, then maybe your matcher would need to be something like Futuruma -- episode name |
#536
|
||||
|
||||
foudn another error that I think will solve some individuals issues with shows not showing up..ill put new code on google asap.
that means you nyplayer :-) |
#537
|
|||
|
|||
Quote:
Quote:
A couple of sagex GetMediaFileForName results are attached. Season actually shows up as "0". I ran my own sagex script just to check....out of 423 total MediaFiles, 228 are for Shows with SeasonNumber=0. I never knew this was not normal...I just figured the EPG wasn't providing the info. |
#538
|
||||
|
||||
Based on what I said season == 0, the code snippet needs to change slighty. Prolly best to do this.
If snum == None or snum == "" Snum = 0 If snum == 0 or enum == None or enum == "" or enum == 0 Enum = airing id Ill take a closer look this weekend though to make sure it doesn't need to change somewhere else As well. |
#539
|
|||
|
|||
Quote:
I'm going to fix it for myself on the Sage end...I wrote a sagex function to find my dupes. I'm planning to renumber them in sage (Season 0, incrementing #) at the start of the Plex scan. If I come up with something that works reasonably quick, I'll post it. Just a thought...in your plex.js, you may want to change your 2 "continue" statements to "return mediaFile;". As far as I can tell, there is no point in continuing the loop once you've found the first matching media file.... |
#540
|
||||
|
||||
I can't remember exactly why I do that but I'm pretty sure it has to do with segmented files and the fact that sage can at times split a recording into multiple files... I think.
Ill have to look at it to be sure |
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 |