SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #181  
Old 02-08-2012, 11:23 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by WellThen View Post
This is coming from the TV Scanner - I haven't set up the Movie scanner as yet.

Also, I did check the Wimbledon info inside of sage, and it does show as having Categories - I think it was Romantic Comedy.
I also need you to please try something else for me. I had an issue a while ago with my own scanner that i just remembered when digging through email.

What happened is even though i shutdown sage before replacing the OLD sagex file with the new one, which if you haven't done you should, the sage service was upset. mainly BMT was upset and returned all sorts of funky results.

I did at times get the same error that you got which was caused by the lookup to BMT NOT returning a valid MediaFile object. So what i had to do was completely shutdown everything, and then restart my server. once restarted, i restarted sage, and all of my abnormal errors went away. Please try that as well and let me know if the results are different.

I pm'd you and gave you my email address so that i can email you a new scanner with some additional error checking in..
Reply With Quote
  #182  
Old 02-08-2012, 03:37 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
So in mucking around today i found an issue with the scanner which until now has been unreported or unseen by myself or darci or Brian.

bascially what happens is this since we set season and episode to 0 if the file doesn't have season and episode info, and say you have 50 shows of the same name with no season..the result will be 1 show in the showname folder. clearly this isn't right.

Have no fear, we have quickly resolved the issue, and new code will be available soon...after testing.
Reply With Quote
  #183  
Old 02-08-2012, 06:39 PM
WellThen's Avatar
WellThen WellThen is offline
Sage Advanced User
 
Join Date: Dec 2005
Location: The Great Pagoda of Funn
Posts: 193
OK, we made progress. We got through F, and now got an error, interestingly, at the end of G. I mean literally, the file that caused the error before, Wimbledon, was the last file alphabetically on F:/Record, and the new file with the error, WheninRome, is the last file on G. That's some kind of coincidence.

Code:
Feb 08, 2012 18:42:06 [4332] DEBUG - Adding file for scanner: G:\Record\WheninRome-1975945-0.mp4
Feb 08, 2012 18:42:06 [4332] DEBUG - Adding file for scanner: G:\Record\WheninRome-1975945-0.ts.properties
Feb 08, 2012 18:42:23 [4332] ERROR - Error in Python: Running scanner:
Traceback (most recent call last):
  File "C:\Documents and Settings\Administrator\Local Settings\Application Data\Plex Media Server\Scanners\Series\SageTV Scanner.py", line 138, in Scan
    airDate = date.fromtimestamp(startTime)
ValueError: timestamp out of range for platform localtime() function
Feb 08, 2012 18:42:23 [4332] ERROR - We got an error scanning in G:\Record
Feb 08, 2012 18:42:23 [4332] ERROR - There were errors scanning location: G:/Record
Feb 08, 2012 18:42:23 [4332] DEBUG - Since it was an incomplete scan, we are not going to whack missing media.

One more thing that might be unusual about these files. My recordings from my HD-PVR won't play on most of my clients - so I have Sage automatically convert them from .ts to .mp4 after they complete recording. Now I have many such files, so I don't think that's related, but since it's a little unusual, I thought I'd mention it.

Full log is attached...
Attached Files
File Type: zip Plex Media Scanner.zip (214.8 KB, 129 views)
Reply With Quote
  #184  
Old 02-08-2012, 07:21 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by WellThen View Post
OK, we made progress. We got through F, and now got an error, interestingly, at the end of G. I mean literally, the file that caused the error before, Wimbledon, was the last file alphabetically on F:/Record, and the new file with the error, WheninRome, is the last file on G. That's some kind of coincidence.

Code:
Feb 08, 2012 18:42:06 [4332] DEBUG - Adding file for scanner: G:\Record\WheninRome-1975945-0.mp4
Feb 08, 2012 18:42:06 [4332] DEBUG - Adding file for scanner: G:\Record\WheninRome-1975945-0.ts.properties
Feb 08, 2012 18:42:23 [4332] ERROR - Error in Python: Running scanner:
Traceback (most recent call last):
  File "C:\Documents and Settings\Administrator\Local Settings\Application Data\Plex Media Server\Scanners\Series\SageTV Scanner.py", line 138, in Scan
    airDate = date.fromtimestamp(startTime)
ValueError: timestamp out of range for platform localtime() function
Feb 08, 2012 18:42:23 [4332] ERROR - We got an error scanning in G:\Record
Feb 08, 2012 18:42:23 [4332] ERROR - There were errors scanning location: G:/Record
Feb 08, 2012 18:42:23 [4332] DEBUG - Since it was an incomplete scan, we are not going to whack missing media.

One more thing that might be unusual about these files. My recordings from my HD-PVR won't play on most of my clients - so I have Sage automatically convert them from .ts to .mp4 after they complete recording. Now I have many such files, so I don't think that's related, but since it's a little unusual, I thought I'd mention it.

Full log is attached...
can u please attach the BMT response for this file as you did the other day... /sagex/api?c:.....
Reply With Quote
  #185  
Old 02-08-2012, 07:35 PM
WellThen's Avatar
WellThen WellThen is offline
Sage Advanced User
 
Join Date: Dec 2005
Location: The Great Pagoda of Funn
Posts: 193
Quote:
Originally Posted by PiX64 View Post
can u please attach the BMT response for this file as you did the other day... /sagex/api?c:.....
Here you go...
Attached Files
File Type: zip api2.zip (2.5 KB, 118 views)
Reply With Quote
  #186  
Old 02-08-2012, 07:56 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by WellThen View Post
Here you go...
So that piece of code shouldn't have even been called on that file becuase that file is a movie. if we are dealing with a movie I skip over all the code that doesn't anything important and log a message (which you can't see in windows :-/ ) which says This is a Movie removing from the stack.

Now the file that was scanned just before this guy. can you please give me the api log for that one?
Reply With Quote
  #187  
Old 02-08-2012, 08:11 PM
WellThen's Avatar
WellThen WellThen is offline
Sage Advanced User
 
Join Date: Dec 2005
Location: The Great Pagoda of Funn
Posts: 193
Quote:
Originally Posted by PiX64 View Post
So that piece of code shouldn't have even been called on that file becuase that file is a movie. if we are dealing with a movie I skip over all the code that doesn't anything important and log a message (which you can't see in windows :-/ ) which says This is a Movie removing from the stack.

Now the file that was scanned just before this guy. can you please give me the api log for that one?
So, I took a leap here. I'm providing the api info from the previous recording (which is also a Movie) and from the previous TV recording...
Attached Files
File Type: zip api_prev_recording.zip (4.6 KB, 114 views)
Reply With Quote
  #188  
Old 02-08-2012, 08:53 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by WellThen View Post
So, I took a leap here. I'm providing the api info from the previous recording (which is also a Movie) and from the previous TV recording...
so i think the problem is that the original airdate is 0 for this one particular file.

I will add some additional checking and send you a new file to try in just a second.
Reply With Quote
  #189  
Old 02-08-2012, 09:00 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by PiX64 View Post
so i think the problem is that the original airdate is 0 for this one particular file.

I will add some additional checking and send you a new file to try in just a second.
new file sent via email..please try it out and report back.
Reply With Quote
  #190  
Old 02-08-2012, 10:12 PM
WellThen's Avatar
WellThen WellThen is offline
Sage Advanced User
 
Join Date: Dec 2005
Location: The Great Pagoda of Funn
Posts: 193
Quote:
Originally Posted by PiX64 View Post
new file sent via email..please try it out and report back.
Hmmm. Hope I didn't screw up installing it. I think it stopped in the same place, but the log file is smaller. Attached...
Attached Files
File Type: zip Plex Media Scanner.zip (203.2 KB, 119 views)
Reply With Quote
  #191  
Old 02-09-2012, 06:59 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by WellThen View Post
Hmmm. Hope I didn't screw up installing it. I think it stopped in the same place, but the log file is smaller. Attached...
AH code mistake on my part sorry. i only half fixed the issue :-) will update and email you a new file.
Reply With Quote
  #192  
Old 02-09-2012, 08:18 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
I know that this was meant for sage recordings, but will it work with my archived files that weren't recorded with sage? BMT's metadata is more complete than what plex is getting. It took me a very long time to get BMT to where it is and I'd rather not start over with plex.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #193  
Old 02-09-2012, 08:30 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by panteragstk View Post
I know that this was meant for sage recordings, but will it work with my archived files that weren't recorded with sage? BMT's metadata is more complete than what plex is getting. It took me a very long time to get BMT to where it is and I'd rather not start over with plex.
I haven't tried it, but in theory yes. you could actually use both of these scanners for ANYTHING that sage knows about.

So for Archived TV Shows
- follow same steps as TV Shows setup, except point to your archived folder

For Movies in SageTV
just use the SageTV Movie Scanner with freebase metadata agent.
Reply With Quote
  #194  
Old 02-09-2012, 10:48 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by PiX64 View Post
I haven't tried it, but in theory yes. you could actually use both of these scanners for ANYTHING that sage knows about.

So for Archived TV Shows
- follow same steps as TV Shows setup, except point to your archived folder

For Movies in SageTV
just use the SageTV Movie Scanner with freebase metadata agent.
I guess I'll find out in a little while. I'll let you know.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #195  
Old 02-09-2012, 10:52 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by panteragstk View Post
I guess I'll find out in a little while. I'll let you know.
i can try it for you as well...ill try it right now
and report back in a few minutes
Reply With Quote
  #196  
Old 02-09-2012, 10:58 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by PiX64 View Post
i can try it for you as well...ill try it right now
and report back in a few minutes
Works like a champ...for me anyways.
Reply With Quote
  #197  
Old 02-09-2012, 11:00 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by PiX64 View Post
Works like a champ...for me anyways.
Me too. Now I need to finish organizing things in bmt I've been neglecting and my plex setup will be as complete as it can get. Thanks.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #198  
Old 02-09-2012, 11:03 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by panteragstk View Post
Me too. Now I need to finish organizing things in bmt I've been neglecting and my plex setup will be as complete as it can get. Thanks.
If you really really wanted to i believe that the SageTV Movie Scanner will also work with your movies that sages knows about...so clearly it works with Sage REcorded movies, but it will also work with othe rimported movies like DVD and BDMV

* HUGE CAVEAT here it will not recognize video_ts or BDMV folders...only single files...i purposely didnt' build this functionality in because plex already does this really well.

*testing now
Movie scanner is working as well for all movies sage knows about... I would strongly recommend using the plex movie scanner and agents for movies as they are very robust and very complete.

Last edited by PiX64; 02-09-2012 at 11:19 AM.
Reply With Quote
  #199  
Old 02-09-2012, 11:05 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by PiX64 View Post
If you really really wanted to i believe that the SageTV Movie Scanner will also work with your movies that sages knows about...so clearly it works with Sage REcorded movies, but it will also work with othe rimported movies like DVD and BDMV

* HUGE CAVEAT here it will not recognize video_ts or BDMV folders...only single files...i purposely didnt' build this functionality in because plex already does this really well.

*testing now
I use my movies for all movie related stuff so I won't be using that feature. It would be cool if plex would grab my movies metadata, but it does a great job on its own so no worries there.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #200  
Old 02-09-2012, 11:20 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by panteragstk View Post
I use my movies for all movie related stuff so I won't be using that feature. It would be cool if plex would grab my movies metadata, but it does a great job on its own so no worries there.
you could always build a metadata agent for my movies :-)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 07:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.