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-25-2007, 04:04 AM
Madcoder Madcoder is offline
Sage Advanced User
 
Join Date: Dec 2004
Posts: 111
MyMovies data converted over to .properties

There has been talk around about having a better way to manage movie data, and perhaps using MyMovies. I like the interface there, and it is also nice because if you want to switch over to MCE to play with it, your data is there as well. Now, the only thing to do is make the data readable for Sage. I am thinking to just write an short bit of code to convert the MyMovie data files that get put in each movie folder over to also a properties file for Sage. Then we don't have to wait for integration from MyMovies. Does anyone see any reason why this approach isn't feasible?
Reply With Quote
  #2  
Old 07-26-2007, 12:17 AM
Madcoder Madcoder is offline
Sage Advanced User
 
Join Date: Dec 2004
Posts: 111
OK, I am thinking to do this. Where can I find the most complete schema description for a .properties file? I searched but didn't see any link for a definitive source.
Reply With Quote
  #3  
Old 07-26-2007, 12:23 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
The last thread on the topic is here: Details about metadata properties files.

Edit: I haven't added that thread to an index anywhere, so I just made it a sticky topic in this forum for now.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #4  
Old 07-26-2007, 12:42 AM
Madcoder Madcoder is offline
Sage Advanced User
 
Join Date: Dec 2004
Posts: 111
Great, thanks! I just tried a test file. It seems ok, but what should the properties filename be if it is for a dvd folder structure and not an individual media file? I tried the folder name placed next to the video_ts, then one called video_ts.ifo.properties next to the video_ts folder, and also a video_ts.ifo.properties inside of the video_ts folder. None of those seem to work. I did do a refresh (removed the import folder, then added it back, with scans in between) to force a re-import, but still it is not reading for dvd folders. How should I handle these?

Also, I just noticed that the details thread is a sticky. I don't know how I didn't find it on a search, and then also missed visually seeing it up there!

Last edited by Madcoder; 07-26-2007 at 01:06 AM.
Reply With Quote
  #5  
Old 07-26-2007, 10:15 AM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
you can try mine at:

http://forums.sagetv.com/forums/down...do=file&id=190
__________________
http://www.hydranterouge.com
Reply With Quote
  #6  
Old 07-26-2007, 10:30 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by Madcoder View Post
what should the properties filename be if it is for a dvd folder structure
Properties files for imported DVDs are not currently supported.

Quote:
Also, I just noticed that the details thread is a sticky. I don't know how I didn't find it on a search, and then also missed visually seeing it up there!
What I meant in my 'edit' above, though I must have worded it poorly, was that I changed that to be a sticky right then, not that it was a sticky previously.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #7  
Old 07-26-2007, 12:11 PM
Madcoder Madcoder is offline
Sage Advanced User
 
Join Date: Dec 2004
Posts: 111
Ah, ok. In that case I don't see how it would be possible to do what I want. I have xml files in my folders with all the information for each dvd, but no way to get it into Sage then if it won't read properties files for dvd folders.
Reply With Quote
  #8  
Old 07-26-2007, 12:33 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Have you looked at the SageTV API? That should let you add information directly to the database without using properties files.
__________________
-- Greg
Reply With Quote
  #9  
Old 07-26-2007, 12:43 PM
Madcoder Madcoder is offline
Sage Advanced User
 
Join Date: Dec 2004
Posts: 111
Quote:
Originally Posted by GKusnick View Post
Have you looked at the SageTV API? That should let you add information directly to the database without using properties files.
I haven't looked at it. That sounds too much like "real" work. Heh. I was hoping for a quick and dirty solution.
Reply With Quote
  #10  
Old 07-26-2007, 04:17 PM
mikesm mikesm is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,293
Quote:
Originally Posted by Madcoder View Post
I haven't looked at it. That sounds too much like "real" work. Heh. I was hoping for a quick and dirty solution.
It's too bad. Maybe we can put in a feature request for .properties files to apply to DVD's as well. It doesn't seem like that hard a change.

I completely agree about using the mymovies interface to do metadata setup. it just works so well. The DVD profiler stuff just doesn't work well for me, at least the 3.0 version. So many of the movies that are in the mymovies database don't show up in DVDprofiler. And it's a PITA to set up on top of that.

Thanks,
mike
Reply With Quote
  #11  
Old 07-26-2007, 04:19 PM
mikesm mikesm is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,293
PS I'd pay to see this feature developed BTW (a mymovies database interface into Sage's metadata). I bet others would too. Would that twist your arm about doing the work in the Sage API? The current metadata processing is pretty poor.

thanks,
Mike
Reply With Quote
  #12  
Old 07-29-2007, 04:15 AM
Madcoder Madcoder is offline
Sage Advanced User
 
Join Date: Dec 2004
Posts: 111
Hmm. I don't want to get your hopes up. I was hoping for an easier solution as I mentioned, but I suppose that is why someone else didn't do it yet. I will look into it as I have time, but I won't promise anything. Maybe I should change my alias to slowcoder, heh.

Last edited by Madcoder; 07-29-2007 at 08:11 AM.
Reply With Quote
  #13  
Old 07-31-2007, 08:34 AM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
Quote:
Originally Posted by Madcoder View Post
Hmm. I don't want to get your hopes up. I was hoping for an easier solution as I mentioned, but I suppose that is why someone else didn't do it yet. I will look into it as I have time, but I won't promise anything. Maybe I should change my alias to slowcoder, heh.


You don't need an API just a simple converter.

hint hint . You're welcome to my source code BTW if you know a little Python it should be an easy edit for your needs.
http://forums.sagetv.com/forums/showthread.php?t=26516
(shameless plug)
__________________
http://www.hydranterouge.com

Last edited by roxy99; 07-31-2007 at 01:39 PM.
Reply With Quote
  #14  
Old 07-31-2007, 07:39 PM
Madcoder Madcoder is offline
Sage Advanced User
 
Join Date: Dec 2004
Posts: 111
Quote:
Originally Posted by roxy99 View Post
You don't need an API just a simple converter.

hint hint . You're welcome to my source code BTW if you know a little Python it should be an easy edit for your needs.
http://forums.sagetv.com/forums/showthread.php?t=26516
(shameless plug)
Actually in this case an interface IS needed. As Opus4 mentioned above, Sage will not read a properties file for DVD folder structure video imports. Now for video FILE imports, it would be easy. The trick is to get Sage to start supporting the properties files for the DVD folder import case! Then it would be cake.
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: Read & Write Metadata files for Default STV 5/6 (v2.2.9 18/Feb./2010) JREkiwi SageTV Customizations 251 10-09-2019 11:11 AM
Zap2It & SageTV: Built-in data not affected; Alternatives for EPG data not included? Opus4 SageTV EPG Service 20 08-21-2008 06:31 PM
"no signal" and no data reswob SageTV Software 0 06-24-2007 11:24 AM
Scripts to modify XMLTV data. grooves12 SageTV EPG Service 3 12-31-2006 11:50 PM


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


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