Automatically updating AMC database when new files are added... (1 Viewer)

rickyman

Portal Pro
February 5, 2008
210
1
is there anyway i can put an update buttom on Myfilms so if i have some more movies, i can just push update buttom. what is the filename called?

where can i put this ?

<string>
<id>79861</id>
<value>Update</value>
</string>
 

takagari

Portal Member
February 17, 2008
37
0
i must admit. nice program

question?
So it exports to an xml. if i want to change anything i need to import it to amc? then re export it?

also
is there a way you can have it auto build a playlist for multi cd files? and link to that instead?
AVIList.exe has this feature and its really handy?
 

zebons

Portal Pro
January 2, 2006
1,484
114
i must admit. nice program
THANKS :)
So it exports to an xml. if i want to change anything i need to import it to amc? then re export it?
Actually Yes but it's not really an export/import as AMC can work directly with the xml file. It can worrk with two native format (.amc and .xml) so if you use MyFilms, it's better to work with the xml. Some items (actually a few one) are posssibly updating with the plugin (Rating, movie filename and one or two others that you can define), but not all the field and you cann't add a new entry (we work on that for a future release...)
is there a way you can have it auto build a playlist for multi cd files? and link to that instead?
AVIList.exe has this feature and its really handy?
You can use amcupdater for that. That tools manage multi cd files by adding all of them in the filename field (no need to build a playlist).
 

carmenm

Portal Pro
April 15, 2008
258
4
Home Country
France France
Looking in the code i saw that you dont use a regex for the filename and the one you use for multiparts only deal with multipart like "1 of 2"([0-9] of [0-9]). Maybe you could use a regex that deal with name and the multipart. That way you could even recover Year from filename if it s in it, which is useful for movie remakes.
What do you think?
 

OrionHall

Portal Pro
September 13, 2007
198
31
London
Home Country
United Kingdom United Kingdom
Looking in the code i saw that you dont use a regex for the filename and the one you use for multiparts only deal with multipart like "1 of 2"([0-9] of [0-9]). Maybe you could use a regex that deal with name and the multipart. That way you could even recover Year from filename if it s in it, which is useful for movie remakes.
What do you think?

Hi carmenm,

You don't need to change the code to change the RegEx - it's in the Options dialog. If you change it to detect 'CD' followed by a number, then it should be able to merge your files as multi-part files in the catalog.

The utility is designed to import the basic media data into Ant, and you can then use Ant's built-in IMDB (or whatever) lookup system to load other data such as Year, Genre, Rating, Actors and so on. The next version of the AMCUpdater will have a built-in Internet lookup system courtesy of zebons who wrote the MyFilms plugin. But because everyone stores their files in different ways (folder structures, naming conventions etc.) this tool can't be perfect for everyone.

Cheers,

OrionHall.
 

carmenm

Portal Pro
April 15, 2008
258
4
Home Country
France France
Wow i am an a.. i didnt see about the regex :p
About the year, let s say i want to use the lookup as a batch, do you think if the original title is "Title (Year)" or if the Original Title is "Title" and the Year is "Year" the lookup result will be the same? If so you are right there s no need but if not i think it might be useful to recover as much info as you can from the filename.
Finally you are right this tool cannot be perfect for everyone, but i think using regex even for filename can be a way to simply accomodate a lot of people especially if you think about adding batch internet lookup which need to find a perfect match in most cases possible.
 

takagari

Portal Member
February 17, 2008
37
0
i must admit. nice program
THANKS :)
So it exports to an xml. if i want to change anything i need to import it to amc? then re export it?
Actually Yes but it's not really an export/import as AMC can work directly with the xml file. It can worrk with two native format (.amc and .xml) so if you use MyFilms, it's better to work with the xml. Some items (actually a few one) are posssibly updating with the plugin (Rating, movie filename and one or two others that you can define), but not all the field and you cann't add a new entry (we work on that for a future release...)
is there a way you can have it auto build a playlist for multi cd files? and link to that instead?
AVIList.exe has this feature and its really handy?
You can use amcupdater for that. That tools manage multi cd files by adding all of them in the filename field (no need to build a playlist).


i have seen that
but this method gives me a Play cd one, or play cd 2 option when i launch the movie i believe. no?
If it creates the playlist file then links to that, there is no need for the option to play cd 1 or 2 :D
i realize its a big step but makes it REALLY handy. at least i think anywho.

oh and to add to that.
It would be sweet (maybe i missed it) if i could set this thing to check multiple folders that i can specify for files?
I have 3 movie hdd's right now. and setting up a raid, just isn't feesible at the moment.
 

OrionHall

Portal Pro
September 13, 2007
198
31
London
Home Country
United Kingdom United Kingdom
i have seen that
but this method gives me a Play cd one, or play cd 2 option when i launch the movie i believe. no?
If it creates the playlist file then links to that, there is no need for the option to play cd 1 or 2 :D
i realize its a big step but makes it REALLY handy. at least i think anywho.

oh and to add to that.
It would be sweet (maybe i missed it) if i could set this thing to check multiple folders that i can specify for files?
I have 3 movie hdd's right now. and setting up a raid, just isn't feesible at the moment.

Hi takagari,

I can't comment on the playlists idea - I've never used them in MediaPortal. I can guess how they work but I've always done it the same way as AMCUpdater - semi-comma separated paths in the Source field in Ant. That's particularly good for me, as I keep DVD copies in separate folders, so Lord of the Rings with 4 disks per film are in separate folders so easy to get to with the 'select disk to play' prompt. Maybe in a future release (if it's easy!) :)

Scanning multiple folders will be possible in the next release - until then I can only recommend writing a batch file to run the AMCUpdater three times, once for each of your movie folders.

Cheers,

OrionHall.
 

Justchill

Portal Pro
February 25, 2008
247
1
Brugge
Home Country
Belgium Belgium
Hi,
I'm new to this.

so if I understand this right, it will automatically add all your movies to the xml ANT database? That feature is seriously missing inside ANT!!
Well I'm at work now, so I can't test this atm; but I've tested here your testtab.
It struck me that it took 2 seconds to test an 7080p mkv file and 49 seconds to test an DVIX avi file...
 

Justchill

Portal Pro
February 25, 2008
247
1
Brugge
Home Country
Belgium Belgium
It would be sweet (maybe i missed it) if i could set this thing to check multiple folders that i can specify for files?
+1
would be great surplus!

ps: now importing files! really curious how it's gonna go..

edit: it worked flawlessly... I just can't understand the author of ANT M C hasn't included this feature ??! He's Belgian though ;-)

It seems that the multiple files parsing is case sensitive. Could you change that?

the matrix-cd1
the matrix-cd2

are recognised as 1 movie

the matrix-Cd1
the matrix-Cd2

are recognised as seperate movies (=unwanted)

1 Problem; I see the database inside MyFilms.
However I cannot play the file ?? When I select play, it says : "insert disc number = 14"

why is that ??¿¿
 

Users who are viewing this thread

Top Bottom