SageTV Community  

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

Notices

Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-21-2011, 10:03 PM
dismorphic02 dismorphic02 is offline
Sage User
 
Join Date: Feb 2011
Location: Miami
Posts: 24
BMT and MyMovies

Is there a way to have BMT keep the metadata my movie collection already has due to MyMovies but still download the fanart? I have a large collection and I prefer the MyMovies metadata but like to use BMT for the fanart.
Reply With Quote
  #2  
Old 02-22-2011, 07:28 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by dismorphic02 View Post
Is there a way to have BMT keep the metadata my movie collection already has due to MyMovies but still download the fanart? I have a large collection and I prefer the MyMovies metadata but like to use BMT for the fanart.
Not quite. I think bmt still has a simple mymovies adapter that will use a single mymovies xml file that has all your metadata, and it can use that metadata and then search for fanart. The issue, is that it relies on you needing to export your collection to an xml file everytime you add a new movie. I've never used movies (I can't even install it, since it's a windows product), so I have no idea if it works or not. Someone gave me an xml file at one point and I just wrote a scraper for it.

That being said, bmt is a pluggable product. Someone can write a native mymovies adapter to do exactly what you want... but it won't be me
Reply With Quote
  #3  
Old 02-22-2011, 09:34 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Why not just have mymovies output the native properties files? It should do it before bmt picks it up. I am not sure if that would winout over bmt though would it Stuckless?

Also of note you can use mymovies fanart in the next upcoming release of Diamond.
Reply With Quote
  #4  
Old 02-22-2011, 09:48 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by PLUCKYHD View Post
Why not just have mymovies output the native properties files? It should do it before bmt picks it up. I am not sure if that would winout over bmt though would it Stuckless?

Also of note you can use mymovies fanart in the next upcoming release of Diamond.
BMT tries to be a nice citizen to other metadata providers.... so if you create .properties... bmt will ignore those files, since it assumes that another provider has updated it already. So, in the case of mm creating .properties, bmt will not attempt to find fanart for those files.

The best solution would be to have a MM implemetation of the IMetadataProvider interface... that would allow MM to feed back the properties directly to bmt, and the provider configuration could also delegate fanart to another lookup such as themoviedb.

Also, if you implemented an IFanartSupport for MyMovies, then Diamond (or any other phoenix consumer) would not need to add any extra code/logic to use MyMovies fanart as well (provided they are coded to use phoenix fanart).

Just thoughts
Reply With Quote
  #5  
Old 02-22-2011, 10:04 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by stuckless View Post
BMT tries to be a nice citizen to other metadata providers.... so if you create .properties... bmt will ignore those files, since it assumes that another provider has updated it already. So, in the case of mm creating .properties, bmt will not attempt to find fanart for those files.

The best solution would be to have a MM implemetation of the IMetadataProvider interface... that would allow MM to feed back the properties directly to bmt, and the provider configuration could also delegate fanart to another lookup such as themoviedb.

Also, if you implemented an IFanartSupport for MyMovies, then Diamond (or any other phoenix consumer) would not need to add any extra code/logic to use MyMovies fanart as well (provided they are coded to use phoenix fanart).

Just thoughts
Yeah to me writing a implementation for that data doesn't seem useful since sagetv natively supports the property files sagetv uses anyways.

As for the fanart time is a issue there easier/quicker to write a quick changer/logic into diamond. Also makes it where BMT isn't required for diamond if they use mymovies.
Reply With Quote
  #6  
Old 02-22-2011, 10:22 AM
dismorphic02 dismorphic02 is offline
Sage User
 
Join Date: Feb 2011
Location: Miami
Posts: 24
Thanks for the input. I have researched using mymovies fanart. I am not at the point level yet and have a good collection of fanart already. From what I have read I cannot simply (simple but very time consuming) drop the fanart into the corresponding movie folders (which I have many of) due to mymovies IDs. As stuckless said, BMT will show the metadata that mymovies provides but doesnt fetch fanart. Would there be a way to tell BMT to "eventhough there is a properties file, fetch fanart" that users could envoke (checkbox maybe)?
Reply With Quote
  #7  
Old 02-22-2011, 10:33 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by PLUCKYHD View Post
Yeah to me writing a implementation for that data doesn't seem useful since sagetv natively supports the property files sagetv uses anyways.
It's useful in that if you have users that want to additionally fetch fanart from other sources (which is what it sounds like), then you don't have to add additional logic to mymovies for that to happen.

Quote:
As for the fanart time is a issue there easier/quicker to write a quick changer/logic into diamond. Also makes it where BMT isn't required for diamond if they use mymovies.
The IFanartSupport is not a part of bmt, but rather a part of phoenix. I don't anything depends on bmt since it's really just a web front end to phoenix/phoenix-core. But, as I said, writing a fanart implementation for mymovies that uses the phoenix api would mean that a user could chose to use mymovies fanart for any plugin that currently uses the phoenix fanart apis. (currently there are 25 plugins that depend on phoenix/phoenix-core)

It's just something to think about. If I ever get time maybe I'll take a stab at it myself, since it's just a simple interface that resolves fanart based on a mediafile. Should be too hard to map a sage mediafile to a mymovies fanart entry??
Reply With Quote
  #8  
Old 02-22-2011, 10:51 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by stuckless View Post
It's just something to think about. If I ever get time maybe I'll take a stab at it myself, since it's just a simple interface that resolves fanart based on a mediafile. Should be too hard to map a sage mediafile to a mymovies fanart entry??
There in lies one of the problems because multiple files can be associated with one set of fanart (since mymovies is folder based and not file based). So would take listing all the files in folder.
Reply With Quote
  #9  
Old 02-22-2011, 11:07 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by PLUCKYHD View Post
There in lies one of the problems because multiple files can be associated with one set of fanart (since mymovies is folder based and not file based). So would take listing all the files in folder.
I don't pretend to be a MyMovies expert, so I'l defer to your knowledge... just seems to me that if given a file in Diamond, you can resolve the fanart artifacts for a poster, banner, background, etc, then you should be able to do the samething in Java. Somewhere there is a mapping between a media file and it's fanart... doesn't matter if that media file is a single file or a folder.

ie, if MyMovies stores data like...
Terminator/movie.avi
Terminator/Backgrounds/*.jpg
Terminator/Posters/*.jpg

Then it would be a simple case of getting the folder that holds the file, and then get the backgrounds, etc. Maybe MyMovies has made it a lot more complicated than that?? It is a commercial produce, so I can see them obfuscating the fanart,etc, so that people can't easily make the connection (sort of like what imdb does with their freely downloaded data).
Reply With Quote
  #10  
Old 02-22-2011, 11:16 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by stuckless View Post
I don't pretend to be a MyMovies expert, so I'l defer to your knowledge... just seems to me that if given a file in Diamond, you can resolve the fanart artifacts for a poster, banner, background, etc, then you should be able to do the samething in Java. Somewhere there is a mapping between a media file and it's fanart... doesn't matter if that media file is a single file or a folder.

ie, if MyMovies stores data like...
Terminator/movie.avi
Terminator/Backgrounds/*.jpg
Terminator/Posters/*.jpg

Then it would be a simple case of getting the folder that holds the file, and then get the backgrounds, etc. Maybe MyMovies has made it a lot more complicated than that?? It is a commercial produce, so I can see them obfuscating the fanart,etc, so that people can't easily make the connection (sort of like what imdb does with their freely downloaded data).
For basic fanart yes you can have it stored like that (and that is how diamond retrieves it for the moment). But allot of it uses GUID stored in the mymovies SQL database which then is stored in a central fanart directory of mymoives by type\guid. So those you can't get without sql access.

If I had the time I would right a simple one from the current mymovies api since it already has access but time is short right now maybe someday.
Reply With Quote
  #11  
Old 02-22-2011, 12:06 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by PLUCKYHD View Post
For basic fanart yes you can have it stored like that (and that is how diamond retrieves it for the moment). But allot of it uses GUID stored in the mymovies SQL database which then is stored in a central fanart directory of mymoives by type\guid. So those you can't get without sql access.

If I had the time I would right a simple one from the current mymovies api since it already has access but time is short right now maybe someday.
Well, the option is always there... btw, since you are producing .properties... you could easily add a custom metadata fields, MyMoviesGUID, and set the guid into sagetv. That way, a separate fanart implementation could actually read the guid based fanart as well
Reply With Quote
  #12  
Old 02-22-2011, 01:05 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by stuckless View Post
Well, the option is always there... btw, since you are producing .properties... you could easily add a custom metadata fields, MyMoviesGUID, and set the guid into sagetv. That way, a separate fanart implementation could actually read the guid based fanart as well
Yeah except I don't produce them mymovies does and don't have much control or influence to get it added. There are 3 guid's used per movie as well.
Reply With Quote
  #13  
Old 02-22-2011, 01:22 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by PLUCKYHD View Post
Yeah except I don't produce them mymovies does and don't have much control or influence to get it added. There are 3 guid's used per movie as well.
In this case, though, you don't care who actually creates them. it's like the sagetv mediafileid. I know it is exists, and I know it can relatate to only one mediafile, so it's safe to use it as a primary key for a mediafile. In the case mymovies, the assumption is that if you are creating the .properties for a media file that is managed by mymovies, then you also have access to the guids of that media file at the time that you create .properties... and if so, that information could be passed along in the .properties. I'm just saying it's way to bridge the gap between the 2 systems. I use the custom metadata fields to store a link to the media file and it's imdb/tvdb id as well. I can't create new imdb ids, but can I can use their id as a primary key into into their system, and store it against a sagetv mediafile.
Reply With Quote
  #14  
Old 02-22-2011, 02:31 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by stuckless View Post
In this case, though, you don't care who actually creates them. it's like the sagetv mediafileid. I know it is exists, and I know it can relatate to only one mediafile, so it's safe to use it as a primary key for a mediafile. In the case mymovies, the assumption is that if you are creating the .properties for a media file that is managed by mymovies, then you also have access to the guids of that media file at the time that you create .properties... and if so, that information could be passed along in the .properties. I'm just saying it's way to bridge the gap between the 2 systems. I use the custom metadata fields to store a link to the media file and it's imdb/tvdb id as well. I can't create new imdb ids, but can I can use their id as a primary key into into their system, and store it against a sagetv mediafile.
I think you mistunderstood my statement I don't produce the properties file the collection manager of MyMovies does this by default.
Reply With Quote
  #15  
Old 02-22-2011, 02:46 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by PLUCKYHD View Post
I think you mistunderstood my statement I don't produce the properties file the collection manager of MyMovies does this by default.
oh.... yeah, i see the problem

Couldn't you just rewrite mymovies from scratch... pluckymovies?? (how hard could it be)
Reply With Quote
  #16  
Old 02-22-2011, 05:36 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by stuckless View Post
oh.... yeah, i see the problem

Couldn't you just rewrite mymovies from scratch... pluckymovies?? (how hard could it be)


Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #17  
Old 03-08-2011, 09:06 AM
Mailman74 Mailman74 is offline
Sage Advanced User
 
Join Date: Feb 2011
Posts: 90
Well I have been reading through this thread and I can not get BMT to import mymovies. I saved an xml file from mymovies and pinted bmt to it and still nothing.
Reply With Quote
  #18  
Old 03-08-2011, 09:08 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Mailman74 View Post
Well I have been reading through this thread and I can not get BMT to import mymovies. I saved an xml file from mymovies and pinted bmt to it and still nothing.
I don't think the support for mymovies is very robust... but you'd need to also set the movie provider to 'mymovies' in Configuration -> Phoenix -> Metadata/Fanart options -> Movie Metadata Providers.
Reply With Quote
  #19  
Old 03-08-2011, 09:21 AM
Mailman74 Mailman74 is offline
Sage Advanced User
 
Join Date: Feb 2011
Posts: 90
I am trying and will post some screenshots. I am still missing metadata for 83 items.


Last edited by Mailman74; 03-08-2011 at 09:24 AM.
Reply With Quote
  #20  
Old 03-08-2011, 09:29 AM
Mailman74 Mailman74 is offline
Sage Advanced User
 
Join Date: Feb 2011
Posts: 90
I can not win with anything I try on Sagetv. I have my movie metadata good in mymovies collection manager. But on Sagetv movie metadata is horrible. I installed sage mymovies but can not get folders to show up. I wonder if it is the way I am ripping movies?
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
MyMovies and Playon war10ck Sage My Movies 6 02-01-2011 12:58 PM
MyMovies and WHS, HELP!!!!! blewis Sage My Movies 3 11-13-2010 06:46 PM
Using BMT to populate MyMovies sivilya Sage My Movies 1 09-06-2010 02:46 PM
BMT: Read this if you don't see any BMT topics Opus4 SageTV Customizations 0 04-25-2010 09:17 PM
BMT, SageMC and MyMovies Confusion cowboyway SageMC Custom Interface 0 08-11-2009 10:03 AM


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


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