SageTV Properties File Copy

Mar 3, 2014 at 6:19 PM
Edited Mar 3, 2014 at 6:24 PM
Great job on this works fantastic. I have one request if it possible. Sage files have an Identifier at the end is it possible that we can pass this onto the converted or renamed file. This could be optional if it can be done.

Ex Sage File Below The Identifier is -629295-0
ILoveLucy-S05E02-LucyJohnWayne-629295-0.mpg renamed file can look like this I Love Lucy - S05E02 - Lucy & John Wayne -629295-0.mkv
Coordinator
Mar 3, 2014 at 6:40 PM
If the identifier is present in the metadata file it be read and provided an option. Is the identifier there in the metadat file, if so can you attach a sample metadatfile.

Also, what do you need it for?
Mar 3, 2014 at 6:47 PM
No it is not part of the Poperties file… it is part of the filename. Sage uses this to link it to the SageDB. I was looking to do a rename replace. I will test Replacing in place without that Identifier to see if Sage has no problem associating it to the DB.

Thanks for your quick response.


Sent from Windows Mail

Mar 3, 2014 at 9:37 PM
Edited Mar 3, 2014 at 9:47 PM
If possible currently you copy over the EDL if using Sage properties file can you copy the properties file too? So it will look at the destination folder like this?

I Love Lucy - S05E02 - Lucy & John Wayne.edl
I Love Lucy - S05E02 - Lucy & John Wayne.nfo
I Love Lucy - S05E02 - Lucy & John Wayne.mkv
I Love Lucy - S05E02 - Lucy & John Wayne.mkv.properties
Coordinator
Mar 3, 2014 at 10:06 PM
why would you want the properties file for a converted file?


Mar 3, 2014 at 11:03 PM
Because it contains all the SageTV metadata and if I want to view them In Sage again It needs the metadata in the
properties file in order to display correctly. Otherwis all you see is the file name and nothing else in Sage … but If you have the properties file alongside it. It will display the description actors etc..

Sent from Windows Mail

Mar 3, 2014 at 11:31 PM
Here is a complete properties file.

Generator: CMT Metadata, written on Monday, March 3, 2014 2:23 PM

Subtitled=false
Genre=Suspense/Crime drama/Mystery
Contestant=
ChannelPremiere=false
RunningTime=0
Widescreen=false
Guest=
Choreographer=
ExtendedRatings=
Dolby=false
Composer=
Writer=Edward Allen Bernero
Stereo=true
ParentalRating=TV14
EpisodeNumber=22
Description=The team travels to Kansas City to investigate a report of homeless people disappearing from the city's streets.
ExternalID=EP7537910047
SAP=false
HDTV=true
Title=Criminal Minds
SeasonNumber=2
CC=true
SeriesFinale=false
TotalParts=0
Live=false
Voice=
Surround=false
Judge=
EpisodeName=Legacy
Director=Glenn Kershaw
SeriesPremiere=false
Anchor=
PartNumber=0
Guest\ Voice=
3D=false
DD5.1=false
Executive\ Producer=Mark Gordon;Ed Bernero
Guest\ Star=Ronnie Steadman;Jack Donner;Kristoffer Winters;Bre Blair;Steven Williams;Tahmus Rounds;Joel Heyman;Wil Garret;Mary Gillis
SeasonPremiere=false
Musical\ Guest=
New=false
Letterbox=false
Taped=false
Producer=
Misc=
Language=
Dubbed=false
Narrator=
SeasonFinale=false
Rated=
Correspondent=
OriginalAirDate=1178755200000
Host=
Team=
Year=
Premiere=false
Actor=Mandy Patinkin;Thomas Gibson;Paget Brewster;Shemar Moore;Matthew Gray Gubler;A.J. Cook;Kirsten Vangsness
Coordinator
Mar 4, 2014 at 1:55 AM
You realize that even if one copies the properties file it will have the same name as the converted file.

And The converted file will not have your identifier at the end of the filename unless you turn off renaming.

Does that still work for you?

Marked as answer by rboy1 on 3/4/2014 at 7:14 AM
Mar 4, 2014 at 5:30 AM
Yes that is perfect thanks.

Edwin Perez AKA NYPlayer



Coordinator
Mar 4, 2014 at 2:14 PM
Done you'll file it in the next build
Mar 8, 2014 at 12:44 AM
Edited Mar 8, 2014 at 12:59 AM
It appears that MCEBUDDY is having problems picking out the media type Movies. See log and properties below.

Custom Rename by Series -> %ismovie%<\Movies\%originalfilename%,\TVSHOWS\%showname%\Season %season%##\%originalfilename%>

Moving converted file C:\Program Files\MCEBuddy2x\working0\Point Break (1991) -640846-0.mkv to \NYPLAYER\backup\MCEBUDDY\TVSHOWS\Point Break\Season\Point Break (1991) -640846-0.mkv

INFORMATION> 2014-03-07T16:08:14 MCEBuddy.MetaData.VideoMetaData --> Extracting Alt SageTV PROPERTIES Tags
2014-03-07T16:08:14 MCEBuddy.MetaData.VideoMetaData --> Extracting SageTV meta data
WARNING> 2014-03-07T16:08:14 MCEBuddy.MetaData.VideoMetaData --> Skipping invalid properties entry -> #Generator: CMT Metadata, written on Friday, March 7, 2014 3:11 PM
2014-03-07T16:08:14 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted ->
Title: Point Break
SubTitle: Point Break
Description: After a string of bizarre bank robberies in Southern California, with the crooks donning masks of various former presidents, a federal agent, Johnny Utah (Keanu Reeves), infiltrates the suspected gang. But this is no ordinary group of robbers. They're surfers -- led by the charismatic Bodhi (Patrick Swayze) -- who are addicted to the rush of thievery. But when Utah falls in love with a female surfer, Tyler (Lori Petty), who is close to the gang, it complicates his sense of duty.
Network:
Parental Rating: TV14
Media Credits: Patrick Swayze;Keanu Reeves;Gary Busey;Lori Petty;John C. McGinley;James LeGros;John Philbin;BoJesse Christopher
Genres: Movie;Action
Season: 0
Episode: 0
Banner:
Banner URL:
IMDB MovieId:
MovieDB MovieId:
TVDB SeriesId:
Is Show Movie: False
Is Show Sports: False
OriginalBroadcastDateTime: 1991-07-12T17:00:00
RecordedDateTime: 1899-12-31T16:00:00
SeriesPremiereDate: 1899-12-31T16:00:00
CopyProtected: False



Properties file below.

Generator: CMT Metadata, written on Friday, March 7, 2014 5:11 PM

SeasonNumber=0
Live=false
Subtitled=false
Director=Kathryn Bigelow
Guest\ Voice=
ExtendedRatings=Violence;Language;Brief Nudity;Adult Situations
Actor=Patrick Swayze;Keanu Reeves;Gary Busey;Lori Petty;John C. McGinley;James LeGros;John Philbin;BoJesse Christopher
Trivia=
DiscNumber=0
Host=
MediaProviderID=tmdb
Stereo=false
Dolby=false
ScrapedDate=1394240094268
Writer=W. Peter Iliff
Correspondent=
EpisodeNumber=0
Anchor=
Dubbed=false
PartNumber=0
Guest\ Star=
Title=Point Break
MediaType=Movie
Guest=
Taped=false
IMDBID=tt0102685
3D=false
Executive\ Producer=James Cameron
Letterbox=false
MediaTitle=Point Break
Musical\ Guest=
ChannelPremiere=false
SAP=false
Producer=Peter Abrams;Robert L. Levy
OriginalAirDate=679302000000
SeasonFinal=false
ParentalRating=
SeriesInfoID=0
MediaProviderDataID=1089
Description=After a string of bizarre bank robberies in Southern California, with the crooks donning masks of various former presidents, a federal agent, Johnny Utah (Keanu Reeves), infiltrates the suspected gang. But this is no ordinary group of robbers. They're surfers -- led by the charismatic Bodhi (Patrick Swayze) -- who are addicted to the rush of thievery. But when Utah falls in love with a female surfer, Tyler (Lori Petty), who is close to the gang, it complicates his sense of duty.
TrailerUrl=http://www.youtube.com/watch?v=UsbuQ-jg014
Rated=R
UserRating=64
Misc=***;20th Century Fox
New=false
DD5.1=false
TotalParts=0
Language=English
Contestant=
HDTV=false
Composer=
Choreographer=
Team=
Narrator=
SeriesFinale=false
Judge=
Premiere=false
SeasonPremiere=false
CC=false
Genre=Movie/Action
ExternalID=MV0337110000
Voice=
RunningTime=7320000
SeriesPremiere=false
Year=1991
Quotes=
EpisodeName=Point Break
Widescreen=false
Surround=false
TagLine=Twenty-seven banks in three years. Anything to catch the perfect wave.
ScrapedBy=Phoenix
SeasonFinale=false
Coordinator
Mar 10, 2014 at 3:59 PM
It's working fine with the latest 2.3.15 build. See the output below of processing the above properties file.
INFORMATION> 2014-03-10T11:56:35 MCEBuddy.Engine.ConversionJob --> Getting show information and banner from Internet sources
INFORMATION> 2014-03-10T11:56:35 MCEBuddy.MetaData.VideoMetaData --> Extracting SageTV PROPERTIES Tags
2014-03-10T11:56:35 MCEBuddy.MetaData.VideoMetaData --> Extracting SageTV meta data
WARNING> 2014-03-10T11:56:35 MCEBuddy.MetaData.VideoMetaData --> Skipping invalid properties entry -> #Generator: CMT Metadata, written on Friday, March 7, 2014 5:11 PM
WARNING> 2014-03-10T11:56:35 MCEBuddy.MetaData.VideoMetaData --> Skipping invalid properties entry -> TrailerUrl=http://www.youtube.com/watch?v=UsbuQ-jg014
2014-03-10T11:56:35 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted -> 
Title: Point Break
SubTitle: Point Break
Description: After a string of bizarre bank robberies in Southern California, with the crooks donning masks of various former presidents, a federal agent, Johnny Utah (Keanu Reeves), infiltrates the suspected gang. But this is no ordinary group of robbers. They're surfers -- led by the charismatic Bodhi (Patrick Swayze) -- who are addicted to the rush of thievery. But when Utah falls in love with a female surfer, Tyler (Lori Petty), who is close to the gang, it complicates his sense of duty.
Network: 
Parental Rating: 
Media Credits: Patrick Swayze;Keanu Reeves;Gary Busey;Lori Petty;John C. McGinley;James LeGros;John Philbin;BoJesse Christopher
Genres: Movie,Action
Season: 0
Episode: 0
Banner: 
Banner URL: 
IMDB MovieId: tt0102685
MovieDB MovieId: 
TVDB SeriesId: 
Is Show Movie: True
Is Show Sports: False
OriginalBroadcastDateTime: 1991-07-12T03:00:00
RecordedDateTime: 1899-12-31T19:00:00
SeriesPremiereDate: 1899-12-31T19:00:00
CopyProtected: False
May 24, 2014 at 5:03 AM
Is there something that needs to be turned on in order to keep rename the properties file and have it follow the converted file for those sage properties files?

Thanks!
May 24, 2014 at 12:28 PM
I did a Post Command.
PostCustomCommandPath=C:\mcebuddy\copyassets.bat
PostCustomCommandParameters=""%sourcefile%" "%convertedfile%" "%destinationpath%""
PostCustomCommandHangPeriod=300
PostCustomCommandCritical=false
PostCustomCommandUISession=false
PostCustomCommandShowWindow=false

copyassets.bat
copy "%~f1.properties" "%~f2.properties"


Edwin Perez AKA NYPlayer



Marked as answer by rboy1 on 5/24/2014 at 9:55 AM