SageTV Community  

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

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #221  
Old 07-06-2008, 11:56 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by merneric View Post
They seem to work "ok," but the the IMDB search does NOT seem to pull the MPAA ratings, which is what I mainly wanted it for. Looking at your version history, it looks like version 2.1.0 had this feature. Also, version 2.2.0 says that it shows Users Ratings in the "star" format, versus the numeric X/10 format.
I've not changed the MPAA code, but you're right, it's not getting it now. It possibly got missed in the big changes to the IMDB import, but I'll have a check to see if I can identify where the problem is.

John
Reply With Quote
  #222  
Old 08-29-2008, 06:14 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
New version available for download

(2.2.3)
- Reworked logic for the automatic generation thread to ensure the thread is killed when switching STVs and if a client disconnects ungracefully. Also removed the requirement to restart after importing or enabling/disabling. File generation is no longer global and can be enabled/disabled on a per client basis.
- Reduced the amount of logging done by default with an option to enable full debug logging.
- Added Option when saving from IMDB to either prompt to change Video Name to IMDB name or always save as the IMDB name or original Video name.
- Removed saving of Extended Rating info (ie: for Violence) from IMDB because the IMDB plugin v6.10 no longer returns a value
- Fixed saving of Star rating from IMDB because the IMDB plugin v6.10 returns it in a different format

John
Reply With Quote
  #223  
Old 09-06-2008, 01:05 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
I'm having an issue where the image isn't getting saved from IMDB when the data is saved. The metadata is getting saved though.

I enabled debugging, but wasn't sure where (sage client log?) that gets written. What steps should I take to figure out what's not working right?

Thanks.
Reply With Quote
  #224  
Old 09-06-2008, 03:53 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
I've had a check and the jpg saving looks OK to me, but I did discover that I wan't logging anything for the IMDB image save process. I've just slipstreamed an update into the download, so you'll probably want to grab that for debugging.

Also check that Setup -> Detailed Setup -> Customize -> Metadata Options -> IMDB Save Options -> Download Images from IMDB is enabled

Enable SageTV debug logging in the appropriate properties file. (Sage.properties or SageClient.properties)
debug_logging=TRUE

Enable debug logging in Setup -> Detailed Setup -> Customize -> Metadata Options

Logs will be in sagetv_0.txt or sagetvclient_0.txt. All the log entries should contain "RW Metadata"

John
Reply With Quote
  #225  
Old 09-06-2008, 04:22 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
the file is getting saved in the wrong place.

for e.g.

the dvd is in \\server\dvd\the movie\video_ts

and the jpg is getting saved

\\server\dvd
Reply With Quote
  #226  
Old 09-06-2008, 04:37 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by babgvant View Post
the file is getting saved in the wrong place.

for e.g.

the dvd is in \\server\dvd\the movie\video_ts

and the jpg is getting saved

\\server\dvd
\\server\dvd is the correct location if the jpg is called "the movie.jpg". The "the movie.my" and "the movie.properties" files should be there too.

You do need to "Refresh Imported Media" for SageTV to pick up the changed jpg and if it already had a jpg showing, it will remain in the SageTV cache until it expires or the SageTV UI is restarted.

John

Edit: You even did a post about correct naming and locations

Last edited by JREkiwi; 09-06-2008 at 04:44 PM.
Reply With Quote
  #227  
Old 09-06-2008, 04:51 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by JREkiwi View Post
\\server\dvd is the correct location if the jpg is called "the movie.jpg". The "the movie.my" and "the movie.properties" files should be there too.

You do need to "Refresh Imported Media" for SageTV to pick up the changed jpg and if it already had a jpg showing, it will remain in the SageTV cache until it expires or the SageTV UI is restarted.

John

Edit: You even did a post about correct naming and locations
didn't know about the rescan. strange thing is that i was using sagemc previous (just started using the default stv) and it puts the image inside the video_ts folder where it is picked up immediately.

btw, that wasn't my post. i'm [obviously] no expert on how this stuff works

thanks for the help.
Reply With Quote
  #228  
Old 09-06-2008, 06:03 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by babgvant View Post
didn't know about the rescan. strange thing is that i was using sagemc previous (just started using the default stv) and it puts the image inside the video_ts folder where it is picked up immediately.
There's a few different places the jpg's can go and get picked up, but I decided to keep all those "metadata" files together. The default STV used to pick them up immediately too. I had a discussion with SageTV support when that behaviour changed, but apparently the change was made to reduce disk activity.

Quote:
Originally Posted by babgvant View Post
btw, that wasn't my post. i'm [obviously] no expert on how this stuff works
Apologies, I hate it when that dorsolateral prefrontal cortex doesn't work when I need it to , a quick overdose of "smilies" should fix it. And of course you know, all you ex-VMC guys look the same to me.

John
Reply With Quote
  #229  
Old 09-06-2008, 06:23 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by JREkiwi View Post
Apologies, I hate it when that dorsolateral prefrontal cortex doesn't work when I need it to , a quick overdose of "smilies" should fix it. And of course you know, all you ex-VMC guys look the same to me.

John
ouch, if it's not hard enough to go from being an expert to a newb
Reply With Quote
  #230  
Old 09-06-2008, 11:23 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by babgvant View Post
ouch, if it's not hard enough to go from being an expert to a newb
It's great that SageTV gets "newb" experts coming over from VMC and BTV. VMC and BTVs loss is SageTVs gain.

It also probably says a lot about the current state of all three products. Without newbies, any product is dead.

John
Reply With Quote
  #231  
Old 09-14-2008, 06:49 PM
megamojo's Avatar
megamojo megamojo is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 179
I just moved from version 2.2.0 or the plugin to 2.2.3. Now it no longer imports the TVOverview field into the summary in the sage DB, meaning that the overview is no longer in the OSD when playing back an imported TV show episode. It's only available by viewing the detailed information for a particular imported file. This importing of data so that it shows up in the OSD durring playback was one of my favorite features of this plugin and has cause me to go back to 2.2.0. Any reason you changed it or could you add an option so we can have it both ways?
Reply With Quote
  #232  
Old 09-14-2008, 10:20 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by megamojo View Post
I just moved from version 2.2.0 or the plugin to 2.2.3. Now it no longer imports the TVOverview field into the summary in the sage DB, meaning that the overview is no longer in the OSD when playing back an imported TV show episode. It's only available by viewing the detailed information for a particular imported file.
How are you doing the import? I did change some of the settings for that stuff to being global settings. Just check the settings in Setup -> Detailed Setup -> Customize -> Metadata Options -> Metadata Save to DB in 2.2.0 and set them to the same when running 2.2.3.

John
Reply With Quote
  #233  
Old 09-14-2008, 10:52 PM
megamojo's Avatar
megamojo megamojo is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 179
Those settings are the same, and the current version DOES import the data from the file. It's just that instead of putting the contents of the TVOverview field from the .my file at the very top of the detailed information (not sure what sages actually calls the field, but it's the summary) it puts it in a field called TV Overview, which sage interprets as being its own section that will only get displayed along with year, cast, etc. when viewing the detailed info and sage does not consider it the summary and display it in the OSD during playback. I assume the change is in HOW the plugin imports the data to the sage DB, not whether it does it automatically or manually or in bulk as those are what the settings allow me to change.
Reply With Quote
  #234  
Old 09-14-2008, 11:37 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by megamojo View Post
Those settings are the same, and the current version DOES import the data from the file. It's just that instead of putting the contents of the TVOverview field from the .my file at the very top of the detailed information (not sure what sages actually calls the field, but it's the summary) it puts it in a field called TV Overview, which sage interprets as being its own section that will only get displayed along with year, cast, etc. when viewing the detailed info and sage does not consider it the summary and display it in the OSD during playback. I assume the change is in HOW the plugin imports the data to the sage DB, not whether it does it automatically or manually or in bulk as those are what the settings allow me to change.
The info from TVOverview will only show in the SageTV fields if it has been imported in some way. Otherwise it just displays in the Overview: field.

So, if you look at the details for the same video. When you are using 2.2.0 you have different data displayed from when using 2.2.3?

What version of SageTV are you using?

John
Reply With Quote
  #235  
Old 09-15-2008, 12:03 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
If you go into Manage Metadata in Options for a video and select Import .my File does that get the data displaying correctly?

John
Reply With Quote
  #236  
Old 09-15-2008, 12:14 AM
megamojo's Avatar
megamojo megamojo is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 179
Quote:
Originally Posted by JREkiwi View Post
The info from TVOverview will only show in the SageTV fields if it has been imported in some way. Otherwise it just displays in the Overview: field.

So, if you look at the details for the same video. When you are using 2.2.0 you have different data displayed from when using 2.2.3?

What version of SageTV are you using?

John
Quote:
Originally Posted by Me, before actually checking with a clear head
That is exactly what i'm seeing.
You were right in the first place. I thought I had checked all the options, but I had neglected to set the auto save to DB from .my files option back to yes. After doing that I'm now happily using 2.2.3. Thanks for the help.

As to what version I'm using (not that it matters anymore), I just updated to 6.4.8 from 6.3.10, and since I had to re-import all my cusomizations anyways, I just go the latest version of each one. Hopefully I've now run into all the re-install issues lest my WAF starts to drop. Forgetting to change the account the sage service runs under from localsystem back to the proper priviledged account made recording to my linux fileserver great fun, let me tell ya.
Reply With Quote
  #237  
Old 09-15-2008, 01:06 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by megamojo View Post
I thought I had checked all the options, but I had neglected to set the auto save to DB from .my files option back to yes. After doing that I'm now happily using 2.2.3. Thanks for the help.
My bad, I should probably make a note somewhere to check all your settings if upgrading from an earlier version to 2.2.3.

John
Reply With Quote
  #238  
Old 10-14-2008, 01:28 PM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,151
So when I check the Delete Orphaned .my and .properties files option my SageTV.exe (client) process continually uses 25-30% of my CPU. Is that normal? I assume it's going through all the directories looking for strays, but I wouldn't think it would take that long to do and would finish eventually. That doesn't appear to be happening.
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial
Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT
Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders
Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders
Backup: Synology
SageTV version: FINAL
Reply With Quote
  #239  
Old 10-14-2008, 02:52 PM
megamojo's Avatar
megamojo megamojo is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 179
Quote:
Originally Posted by phelme View Post
So when I check the Delete Orphaned .my and .properties files option my SageTV.exe (client) process continually uses 25-30% of my CPU. Is that normal? I assume it's going through all the directories looking for strays, but I wouldn't think it would take that long to do and would finish eventually. That doesn't appear to be happening.
I'm seeing this exact same issue, and I can't thank you enough for figuring it out. Now that have turned that option off and done some monitoring, I'm pretty confident that this was the cause of the issue in my thread here.

http://forums.sagetv.com/forums/showthread.php?t=35784
Reply With Quote
  #240  
Old 10-15-2008, 01:25 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
If "Delete Orphaned Metadata Files for Imported Files" is enabled, can you try it with that disabled.

I'll have a look at the code and see if I can track down what may be causing the high CPU.

John
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
STV Import: Comskip Playback for Default STV (v1.5.4 30/August/2008 for SageTV 5/6) JREkiwi SageTV Customizations 600 11-23-2011 07:58 AM
STV Import: Pandora Internet Radio (Default STV and SageMC) cncb SageTV Customizations 290 10-20-2010 03:37 PM
STV Import: Auto Compress for version 6 Default STV (V1.4.5 1/October/2008) JREkiwi SageTV Customizations 325 10-15-2010 03:06 PM
STV Import: Batch Metadata Importer Tools for Default STV Tiki Batch Metadata Tools 23 05-03-2010 09:52 PM
STV Import: Fan Art for Default STV by TiKi (v2.2 Feb 22, 2009) Tiki SageTV Customizations 102 01-05-2010 05:16 PM


All times are GMT -6. The time now is 12:27 AM.


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