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
  #1  
Old 07-05-2009, 10:15 PM
tonysathre tonysathre is offline
Sage Advanced User
 
Join Date: Jun 2008
Posts: 233
.properties file not being read

I have a single movie that for some odd reason, will not read the .properties file. I have tried deleting it, and recreating it using BMT. I have tried changing the name of it. I have tried using and renaming an existing .properties file from a different movie that works. Restarting the SageTV service, as well as restarting the HD100. None of these things have worked for me.

The movie in question is Recount (http://www.imdb.com/title/tt1000771/). I have about 1,300 movies, and this is the only one that will not read the .properties file.

Any help is appreciated.

Thanks,

Tony
Reply With Quote
  #2  
Old 07-06-2009, 05:47 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
What bmt version are you running? I just tried with 3.0 beta and I just noticed that the themoviedb.org-2 provider is no longer there. As a result, the search is handled by the core default themoviedb.org provider, and it doesn't have any metadata. Imdb is never actually used for this movie.

So there is a bug in the 3.0 beta, in that I've accidentally dropped the themoviedb-2 provider that would use both imdb and themoviedb to get fanart/metadata for a movie.

BTW... this post should have been in the Customizations section, since you are using bmt. From a sage support point of view, they will probably ask that you remove bmt and then try to import the .properties without bmt installed, just to rule out that bmt is causing the issue.

But, before you do that, you may want to try.... running bmt from the command line, and pass the --provider=imdb.
Code:
# java -jar MetadataTool.jar --provider=imdb Recount.avi
Then check the .properties file to see if the data looks good. And then tell sagetv to scan for new/updated media.

Does this file show up in you library, except without metadata, or do it not show up in the video library at all?
Reply With Quote
  #3  
Old 07-06-2009, 07:04 AM
tonysathre tonysathre is offline
Sage Advanced User
 
Join Date: Jun 2008
Posts: 233
Ha, well I actually typed this thread out first under the customizations section, but then decided to put it here instead. Guess I should have gone with my first thought.

Anyways, the movie shows up fine and I can play it, but the metadata doesn't show up. I tried what you suggested, but it did not work.

I believe I'm using version 3. Below is what the .properties file contains.

Code:
#Sage Video Metadata for file:/G:/Media/Movies/Recount/Recount.mkv
#Mon Jul 06 07:49:56 CDT 2009
_releaseDate=25 May 2008 (USA)
_serializedDirectors=2|Jay Roach|null|/name/nm0005366/
Director=Jay Roach;
_providerDataUrl=http\://www.imdb.com/title/tt1000771/
Title=Recount
Genre=Drama
Actor=Kevin Spacey -- Ron Klain;\nBob Balaban -- Ben Ginsberg;\nEd Begley Jr. -- David Boies;\nLaura Dern -- Katherine Harris;\nJohn Hurt -- Warren Christopher;\nDenis Leary -- Michael Whouley;\nBruce McGill -- Mac Stipanovich;\nTom Wilkinson -- James Baker;\nBruce Altman -- Mitchell Berger;\nJayne Atkinson -- Theresa LePore;\nGary Basaraba -- Clay Roberts;\nDerek Cecil -- Jeremy Bash;\nEve Gordon -- Monica Klain;\nMarcia Jean Kurtz -- Carol Roberts;\nMitch Pileggi -- Bill Daley;
_serializedDescription=A chronicle of the weeks after the 2000 U.S. presidential election and the subsequent recounts in Florida. |
_serializedActors=0|Kevin Spacey|Ron Klain|/name/nm0000228/;0|Bob Balaban|Ben Ginsberg|/name/nm0000837/;0|Ed Begley Jr.|David Boies|/name/nm0000893/;0|Laura Dern|Katherine Harris|/name/nm0000368/;0|John Hurt|Warren Christopher|/name/nm0000457/;0|Denis Leary|Michael Whouley|/name/nm0001459/;0|Bruce McGill|Mac Stipanovich|/name/nm0569226/;0|Tom Wilkinson|James Baker|/name/nm0929489/;0|Bruce Altman|Mitchell Berger|/name/nm0022883/;0|Jayne Atkinson|Theresa LePore|/name/nm0040739/;0|Gary Basaraba|Clay Roberts|/name/nm0059630/;0|Derek Cecil|Jeremy Bash|/name/nm0147689/;0|Eve Gordon|Monica Klain|/name/nm0072126/;0|Marcia Jean Kurtz|Carol Roberts|/name/nm0476040/;0|Mitch Pileggi|Bill Daley|/name/nm0683379/
Rated=
_serializedTitle=Recount
_userRating=7.6/10
_company=Everyman Pictures
_thumbnailUrl=http\://ia.media-imdb.com/images/M/MV5BNDMwNDYzOTg4NF5BMl5BanBnXkFtZTcwNzEwNzE3MQ@@._V1._SX100_SY136_.jpg
Writer=
_providerId=imdb
Year=2008
_serializedGenres=Drama;History
_aspectRatio=1.85 \: 1
Description=A chronicle of the weeks after the 2000 U.S. presidential election and the subsequent recounts in Florida. |\nUser Rating\: 7.6/10\n
RunningTime=116 min
_serializedWriters=
Reply With Quote
  #4  
Old 07-06-2009, 08:53 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
You are actually using a fairly old version of the bmt tools (probably early 2.x release or 1.x release). But that aside, the property file is still valid since it does contain the Title and Description which is what Sage would use anyways.

So, I'm not sure why this movie would have an issue importing. Did you check the sagetv_0.txt log file after you imported the movie to see if there was an error?
Reply With Quote
  #5  
Old 07-07-2009, 12:01 AM
tonysathre tonysathre is offline
Sage Advanced User
 
Join Date: Jun 2008
Posts: 233
I didn't see anything unusual in the logs. I did find another movie that apparently will not import the .properties file.

Code:
#Sage Video Metadata for file:/g:/media/movies/Gone%20In%2060%20Seconds/Gone%20In%2060%20Seconds.avi
#Thu Aug 21 04:27:03 CDT 2008
Description=A retired master car thief must come back to the industry and steal 50 cars with his crew in one night to save his brother's life.\nUser Rating\: 5.9/10\n
Year=2000
_aspectRatio=2.35 \: 1
Actor=Nicolas Cage -- Randall 'Memphis' Raines;\nGiovanni Ribisi -- Kip Raines;\nAngelina Jolie -- Sara 'Sway' Wayland;\nT.J. Cross -- Mirror Man;\nWilliam Lee Scott -- Toby;\nScott Caan -- Tumbler;\nJames Duval -- Freb;\nWill Patton -- Atley Jackson;\nDelroy Lindo -- Det. Roland Castlebeck;\nTimothy Olyphant -- Det. Drycoff;\nChi McBride -- Donny Astricky;\nRobert Duvall -- Otto Halliwell;\nChristopher Eccleston -- Raymond Vincent Calitri;\nVinnie Jones -- The Sphinx;\nGrace Zabriskie -- Helen Raines;\n
_userRating=5.9/10
_thumbnailUrl=http\://ia.media-imdb.com/images/M/MV5BMjE0ODY4Mjk2M15BMl5BanBnXkFtZTcwNjEyMTYyMQ@@._V1._SX100_SY134_.jpg
Rated=Rated PG-13 for violence, sexuality and language.
Genre=Action/Crime/Thriller/
_company=Touchstone Pictures
Writer=H.B. Halicki;Scott Rosenberg;
Title=Gone in Sixty Seconds 
_providerDataUrl=http\://www.imdb.com/title/tt0187078/
_providerId=imdb
RunningTime=117 min
Director=Dominic Sena;
_releaseDate=9 June 2000 (USA)
I updated to the latest version of BMT as well, but unfortunately it still does not work.
Reply With Quote
  #6  
Old 07-07-2009, 03:01 PM
robogeek robogeek is offline
Sage Expert
 
Join Date: Apr 2003
Location: Appleton, WI USA
Posts: 568
Do the video files that are causing problems have the Read Only file attribute set? When the .properties file is written or updated, the timestamp of the associated video file must be 'touched'. That's how SageTV knows it needs to import new metadata from .properties files. If the Read Only file attribute is set, then that's the problem....clear the Read Only attribute, delete the .properties files for those videos, run those videos through BMT again, and then do a rescan of the video library. If it's not an attribute problem maybe another process had the files locked and prevented BMT from updating the timestamp. Does it look like the timestamp of the problematic files were being updated?
__________________
--Jason

Server Hardware: GIGABYTE GA-EP45-UD3R, Intel Q9550 CPU 2.83GHz, 11GB RAM, 1xHDHR, 1xHVR1600, 1xHVR2250
29TB Server Storage: 1TB SSD (OS), 1TB (data), 2x6TB+2x10TB (22TB FlexRaid storage pool), 2x2TB (recordings), 1x750GB (VMs).
Server Software: Win10 Pro x64 OS, SageTV 64bit v9.2.0.441, Java 1.8 u241, PlayOn, Comskip (Donator) v0.82.003, WampServer v2.5.
Clients: 3xHD300s, 2xHD100, 2xPlaceshifters
Reply With Quote
  #7  
Old 07-10-2009, 01:20 AM
tonysathre tonysathre is offline
Sage Advanced User
 
Join Date: Jun 2008
Posts: 233
Well, I managed to get it to work by changing the file extensions, reimporting the video library, then changing them back to the original file extensions, and then reimporting again. Weird, but everything works now. What would cause this? Some sort of caching? It was really bothering me knowing I had 2 out of 1300 movies that were not working properly.

Thanks for all the help guys.

Tony
Reply With Quote
  #8  
Old 07-10-2009, 06:05 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I'm not sure what would cause this... but I'm glad you finally did get it to work.
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
SageTVService seems to use different properties file jgitta SageTV Software 1 10-30-2008 11:02 PM
Help importing media: does Sage even read the properties file? silkshadow SageTV Software 9 04-05-2006 10:47 AM
XMLTV file not read properly? henk99 SageTV EPG Service 7 02-08-2005 02:00 AM
Properties file RRR SageTV Software 10 08-24-2004 10:37 AM


All times are GMT -6. The time now is 06:21 AM.


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