NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) SearchWiz & MovieWiz v
« Previous 1 … 9 10 11 12 13 … 16 Next »
Import Movies Catalog

 
  • 0 Vote(s) - 0 Average
Import Movies Catalog
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#11
2008-05-21, 05:30 AM
psycik Wrote:Any way that I can set my "Location" and offline ID field to the ANT Medialabel field? You seem to be generating a number/id based on the db name.

This is where I'm putting the disk id for offline movies.

Otherwise its all looking really good.
The location field is a unique key in the db. So... how about this:
  • The location and offlineID fields default with the generated number. This is basically 'AMC_' + your catalog name + MovieNumber.
  • If the MediaLabel field exists
    • AND it's value points to an existing file, the location field is updated with this value AND the offlineFlag is set to false
    • If value does not point to a file, the offlineID field is set to the MediaLabel value, and the location field is left with the generated value above.
So in your case, the OfflineID would contain the MediaLabel field, and the Location field would contain the unique generated value.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#12
2008-05-21, 05:57 AM
yeah i've actually done that manually - and I also went and updated the details using your lookup details since it was better than what I'd got from dvdempire.

I guess as long as i can specify that for offline files that the media label is shown then the internal location field can be whateverit wants...

Is a imagesource 1 a file based image?? or something else entirely?

So that's probably a good solution what you've come up with. I think in future I'll just enter into MovieWiz and manually go and get the image. I was just handy to get the images with ant the first time.
mymymy
Offline

Junior Member

Posts: 31
Threads: 12
Joined: Jan 2008
#13
2008-05-28, 05:03 PM
is it possible to partially populate the data, ie the location and title, and then have the rest of the information looked up manually when the xml file is imported? This way I could get a much better hit ratio on the titles when uploading movies in bulk. Or alternatively is there a way to re-lookup all movies in the db in one go?
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#14
2008-05-28, 05:13 PM
psycik Wrote:Is a imagesource 1 a file based image?? or something else entirely?
Yes, don't have the code in front of me, but I believe that is true. The codes get translated in the Manage tab under the thumbnail. (ie Local Source, Yahoo, Imdb,...)
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#15
2008-05-28, 05:16 PM
mymymy Wrote:is it possible to partially populate the data, ie the location and title, and then have the rest of the information looked up manually when the xml file is imported? This way I could get a much better hit ratio on the titles when uploading movies in bulk. Or alternatively is there a way to re-lookup all movies in the db in one go?
Good ideas, both of them. Currently these features do not exist, but it shouldn't be too hard to implement one or both of them.

Look for changes in a future release.
mymymy
Offline

Junior Member

Posts: 31
Threads: 12
Joined: Jan 2008
#16
2008-05-28, 06:14 PM
wow, quick response.

A third way, perhaps the best solution, might be to make the title resolver into an interface that would take the file location, and return the title and allow pluggable resolvers to be implemented. This would give the greatest flexibility, but would probably be more work on your end. It would also be beyond most, but would have the advantage that once a title resolver implementation had been written many others could use it. Just a thought...
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#17
2008-05-28, 06:23 PM
mymymy Wrote:wow, quick response.

A third way, perhaps the best solution, might be to make the title resolver into an interface that would take the file location, and return the title and allow pluggable resolvers to be implemented. This would give the greatest flexibility, but would probably be more work on your end. It would also be beyond most, but would have the advantage that once a title resolver implementation had been written many others could use it. Just a thought...
Actually, it already works similar to this.

There is a routine that resolves a filename into a potential show/episode title. Then there is an abstract interface (I think it's called WizScraper), that takes show/episode as input, and returns information fields. The class that implements the interface will retrieve info based on it's source (ie IMDB or TheTvDb, TvGuide,...).
mymymy
Offline

Junior Member

Posts: 31
Threads: 12
Joined: Jan 2008
#18
2008-05-28, 06:31 PM
cool, so a simple change to make the resolving of the filename to a show/episode/movie title an interface and a configuration option to allow me to specify the concrete class that will do the resolution and jobs a good 'un Smile.

excellent work on the plugin by the way.

is there any option to make pluggable filters for the movies? Currently you can have comedy/action/romance etc, but having this be pluggable so that other filters could be added would be a great feature I can see filters like 'movies from the 1980s', 'movies under 90 mins', 'oscar winners' (not sure if this info is available from IMDB) etc

Is the source code available?
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#19
2008-05-28, 07:21 PM
mymymy Wrote:cool, so a simple change to make the resolving of the filename to a show/episode/movie title an interface and a configuration option to allow me to specify the concrete class that will do the resolution and jobs a good 'un Smile.
The current WizTools support thread can be found here and the Wiki entry here. The version on the wiki is the public release, version in that thread has not been released yet, but I hope to within the next week or so.

The config to MovieWiz is not plugable, although I've been considering adding a scripting feature, so that users could write code to scrape their own sites. That might provide you with the features you are looking for.

Quote:is there any option to make pluggable filters for the movies? Currently you can have comedy/action/romance etc, but having this be pluggable so that other filters could be added would be a great feature I can see filters like 'movies from the 1980s', 'movies under 90 mins', 'oscar winners' (not sure if this info is available from IMDB) etc
Well, you can setup specific categories to do this, and manually add entries into each category. The config program allows you to create your own categories.
Quote:Is the source code available?
I have not released the source code for my specific plugins or the wiztools, but the wiztools provides skeleton code for creating a plugin, an example plugin, a tutorial and API help file. If folks have had specific questions, I have supplied snippets to illustrate how I've done things.
mymymy
Offline

Junior Member

Posts: 31
Threads: 12
Joined: Jan 2008
#20
2008-05-28, 08:12 PM
looks good. thanks.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  MovieWiz - Offline Import & Images meccano 8 3,957 2010-02-08, 01:48 PM
Last Post: meccano
  Can I import my .mvc file to moviewiz? frickinfrack 2 2,242 2009-08-08, 05:15 PM
Last Post: JavaWiz
  MovieWiz Import not using directory specified in Config? JohnInSJ 9 3,938 2009-06-22, 06:02 PM
Last Post: JohnInSJ
  Problem playing .iso movies tsandershsa 4 3,276 2009-05-11, 01:52 AM
Last Post: tsandershsa
  can't import xml into movie tvshowman 3 2,343 2009-02-11, 04:40 AM
Last Post: JavaWiz
  Losing movies stevenjwilson 0 1,388 2008-11-23, 10:15 PM
Last Post: stevenjwilson
  Missing movies in Movie Wizard razor2pp 2 2,312 2008-04-29, 05:15 AM
Last Post: razor2pp
  Wish List - DVD Catalog mikimous 1 1,469 2008-03-31, 08:10 PM
Last Post: JavaWiz
  Mpeginport and moviewiz import difficulty tvshowman 1 1,595 2008-03-18, 06:19 AM
Last Post: tvshowman
  MovieWiz wishes - recently added movies and import recordings iwan 12 4,659 2008-01-31, 02:54 AM
Last Post: jksmurf

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode