|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Code Check (Eyes Bleeding)
I need someone to check over my code. I have attached the STV that I have been working on. The issue that I am having is under Libary Import Screen.
It is under Buttons and right now it is named Meta Data. I am trying to get the offline media tagged with data that is in my DVD Profiler export. Running trace you will see the data is there but I am missing something. Any help would be appreciated. I know there is something I am missing from the reverse engineering that I have been doing. I just can't figure out where the problem is. The file is a rar I need to get Winzip on my machine. You should be able to drop the stv extension and unzip with winzip. |
#2
|
|||
|
|||
Hello again
Just adding a pic to the system for people to see what i am doing.
|
#3
|
|||
|
|||
STV File
Ok.. I have fixed my machine and now have zip on it. I am now attaching the correct formated stv file for review.
|
#4
|
||||
|
||||
Are you getting the Description, Genres, Year, Rating and properly punctuated Title? That's all Sage will display by default.
|
#5
|
|||
|
|||
Nope
That is what is killing me. I am not seeing a thing.
Now... if I use your Lib or use Sage MC and do the import the data is populated. and when I switch back to the standard STV it will show the data. Only when I do it inside of my STV does it not show up. I will show you what I see when I get a view detail info. This is what the tracer has. I turned on notify on errors and I don't get anything. This is what the Add Show line looks like in Tracer. Code:
PostEval javax.swing.ImageIcon@1ac1919 AddShow(Title, false, Episode, Description, Duration, Category, SubCategory, PeopleList, RolesForPeopleList, Rated, EpandedRatingsList, Year, ParentalRatings, MiscList, ExternalID, Lanugage, OriginalAirDate) AddShow(Title, false, Episode, Description, Duration, Category, SubCategory, PeopleList, RolesForPeopleList, Rated, EpandedRatingsList, Year, ParentalRatings, MiscList, ExternalID, Lanugage, OriginalAirDate) Show[Title=Alice in Wonderland, Episode=Alice in Wonderland, Desc=Experience the magic, fun and adventure of 'Alice in Wonderland' like never before in this new Masterpiece Edition 2-Disc set. Join Alice as she falls into the madcap world of Wonderland and meets extraordinary characters such as Tweedledee and Tweedledum, the Mad Hatter, the Queen of Hearts and the frantically late White Rabbit. And the fun continues with new bonus features including the Virtual Wonderland Party, the newly discovered Cheshire Cat song "I'm Odd," Mickey's 'Thru the Mirror' animated short, plus sing along songs and all-new games. Your family will want to experience this timeless Disney masterpiece again and again!, Cat=Animation, SubCat=Family, People=[Ed Wynn, Richard Haydn, Sterling Holloway, Jerry Colonna, Verna Felton, Pat O'Malley, Bill Thompson, Heather Angel, Don Barclay, Kathryn Beaumont, Lucille Bliss, Larry Grey, Bob Hamlin, Joseph Kearns, Bill Lee, Queenie Leonard, Doris Lloyd, James G. MacDonald, Thurl Ravenscroft, Max Smith, Dink Trout, ], Rated=G, Year=1951, Bonus=[9716, ], id=9691, extID=] Last edited by Thraxius; 02-11-2008 at 06:01 PM. Reason: Added Tracer Info. |
#6
|
|||
|
|||
I am pretty new to sage coding, but could this problem be because you are adding a show entry, and not related airing entry? In reading the API guide, it states that there should be a 1 to many relationship from the show DB to the airing DB...
thanks, Jeff |
#7
|
|||
|
|||
Thanks
Thanks for the info.. but just an FYI that was all greek to me.
I don't code myself. I am pretty much reverse engineering stuff from other peoples STV's to try and get my Sony VGP-XL1B to work in sage. As you can see.. I have gotten pretty far for being a idiot. Last edited by Thraxius; 02-11-2008 at 07:02 PM. Reason: More Info |
#8
|
||||
|
||||
Quote:
Thraxius, I couldn't see in the picture, do you have a BeforeMenuLoad hook that with an action widget that does: Code:
oDVD = new_DVDPro2Sage_DVDPro2Sage(CollectionLocation) You need the mediafile's show ExternalID so that the new Show you create will be associated with your media file: [CODE]ExternalID = GetShowExternalID(CurrFile)[/QUOTE] And then specify that ExternalID as the ExternalID parameter to the AddShow call. Last edited by stanger89; 02-11-2008 at 07:12 PM. |
#9
|
|||
|
|||
Quote:
Is the show externalID the link between the Airing and the Show objects? |
#10
|
|||
|
|||
Ok
I am going to try that now to see what happens.. Keep your fingers crossed.
|
#11
|
|||
|
|||
Database is clearing.
Just wanted to let everyone know I can get things into the Database now but I can not get the data to stay there. I read something about the Database cleaning up media file meta data. I don't know how to get around that yet.
|
#12
|
||||
|
||||
The way you "get around" it, is by having that metadata attached to a media file in the library.
|
#13
|
|||
|
|||
Lost
It really hurts me to say but ... you lost me again. Over my head.
|
#14
|
||||
|
||||
Metadata is cleaned from the database when there's no longer a mediafile on the HDD that it's attached to. If you want the data to stick around, you need to make sure there's a mediafile on the HDD that it's attached to (SetMediaFileShow I believe) and make sure you give it a new ExternalID (I use the DVD Profiler ID).
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV Import: Video Editing for Sage | BobPhoenix | SageTV Customizations | 279 | 03-07-2013 01:35 PM |
Import Video code changed in 6.2? | ke6guj | SageTV Beta Test Software | 4 | 07-04-2007 01:41 PM |
Reprogram Infrared Code Bugs | orrd | SageTV Software | 1 | 05-30-2006 12:27 PM |
Menu templates: an idea for organizing STV code | GKusnick | SageTV Studio | 0 | 01-27-2006 01:55 PM |
Executable Error Code Return | infiniti_guy | SageTV Studio | 4 | 11-23-2005 03:25 PM |