MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins » Hot Plugins » My Films


My Films MediaPortal My Films plugin.

Reply
 
Thread Tools Display Modes
Old 2007-10-13, 18:17   #11 (permalink)
Portal Member
 
Join Date: Jul 2007
Age: 26
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default

How can i make it work with .iso and .img files?
I have added .iso and .img in the conf file. But the program find the files with .img and .iso, but can't add them to ant xml file.
Nothing happens

example

2007-10-13 18:33:21
Parsing XML File
Parsing XML File - Complete - 0 entries found.
2007-10-13 18:33:21

2007-10-13 18:33:22
Processing Movie List
- File Found - mrbrooks-Crowd\mr brooks.img
Processing Movie List - Done - 1 files found.
2007-10-13 18:33:22

2007-10-13 18:33:23
Finding Orphaned Movies (not in XML file)
- Missing File : mrbrooks-Crowd\mr brooks.img
Processing Complete - Found 1 Orphaned Files.
2007-10-13 18:33:23

2007-10-13 18:33:24
Starting XML update process.
Starting file analysis and import - 1 orphaned files found.

Last edited by zupe; 2007-10-13 at 18:34.
zupe is offline   Reply With Quote
Old 2007-10-13, 18:40   #12 (permalink)
 
Join Date: Sep 2007
Location: London
Posts: 178
Thanks: 1
Thanked 26 Times in 20 Posts

Country:

My System

Default

Quote:
Originally Posted by zupe View Post
How can i make it work with .iso and .img files?
I have added .iso and .img in the conf file. But the program find the files with .img and .iso, but can't add them to ant xml file.
Nothing happens
Hmmm - interesting one! At the moment - not a chance. The app assumes that all files are multimedia formats, and every file matching the configured extensions will be scanned by MediaInfo.dll. Unfortunately, that dll hangs for ages if it can't cope with a file. I use it because it's the best thing I've found for analysing video files, and it's great to have that information included in AMC automatically! So far I've only had this problem with less then 1% of my files, most of which seem to have Ogg audio streams. I guess it would do this big time if you point it to a disk image file! If you left it for a few hours, it would probably get there in the end (!) but obviously that's not exactly useful.

I guess it would be pretty easy to add an extra list of file formats ('multimedia files' and 'other files') and have it not try to analyse the non-multimedia ones. Or I could go the whole hog and add an option to each filetype, so it would appear as a grid with 'scan - yes' or 'scan - no' tickboxes for each file extension. Possibly overkill though!

If the app could import your files into the AMC database, what information should be included? I don't have a way to easily examine the contents of an iso file so apart from the filename, filesize and 'source' fields, what do you think could be automatically added? Any ideas to improve this are appreciated, so let me know what you think.

Cheers,

OrionHall.
OrionHall is offline   Reply With Quote
Old 2007-10-14, 01:23   #13 (permalink)
Portal Member
 
Join Date: May 2007
Location: Brisbane
Posts: 172
Thanks: 21
Thanked 3 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by OrionHall View Post
Hi again,

I've set up a test folder structure with lots of subfolders and files - typically when I ran the updater it worked fine for me. I then added a few more files and again, it just added them correctly. Possibly this is because I'm running the latest version which I've been tinkering with.

Can you please try the attached mini-release and see if it's any different? This is the current development copy but it should be functional. I've only included the .exe and .config so just dump these in the old AMCUpdater folder as it'll need the mediainfo.dll which is in there. This version outputs a bit more detail to the logs which would help - if it still has a problem please post your logfile (might be best to delete the old log first for clarity) and I'll have a look.

Cheers,

OH.
Hi OH,

Tries that new EXE you posted and it worked like a charm
Only thing I noticed was that it said that the file locations I altered manually from when they didn't import properly showed up again as orphan files. However, this seems to be due to the check being case sensitive.
Is it possible to make the check to see if files are already in the database not case sensitive? That way if people manually add in a file location for whatever reason, it won't be picked up again if the case of the file location doesn't match.

eg: If I had entered C:\Movies\animation\Shrek.avi, the program would pickup Shrek.avi as an orphan file as it sees the path as C:\Movies\Animation\Shrek.avi (As the first character of each folder is a capital).
Hope that makes sense.

Cheers.
whatisk is offline   Reply With Quote
Old 2007-10-14, 09:52   #14 (permalink)
Portal Member
 
Join Date: Jul 2007
Age: 26
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I have all my movies as disk image. (dvd)
I don´t care about length and other info.
That fixes IMDB later.
If the program can add filname and file path to AMC, i will be more than pleased.
zupe is offline   Reply With Quote
Old 2007-10-14, 11:27   #15 (permalink)
 
Join Date: Sep 2007
Location: London
Posts: 178
Thanks: 1
Thanked 26 Times in 20 Posts

Country:

My System

Default

Quote:
Originally Posted by whatisk View Post
Hi OH,

Tries that new EXE you posted and it worked like a charm
Only thing I noticed was that it said that the file locations I altered manually from when they didn't import properly showed up again as orphan files. However, this seems to be due to the check being case sensitive.
Is it possible to make the check to see if files are already in the database not case sensitive? That way if people manually add in a file location for whatever reason, it won't be picked up again if the case of the file location doesn't match.

eg: If I had entered C:\Movies\animation\Shrek.avi, the program would pickup Shrek.avi as an orphan file as it sees the path as C:\Movies\Animation\Shrek.avi (As the first character of each folder is a capital).
Hope that makes sense.

Cheers.
Wahey - glad it worked. I'll have a look into the case issue and let you know - all of my AMC entries were created by this utility so I've not seen it process manually-added entries. I'll have a play today.

Cheers,

OH.
OrionHall is offline   Reply With Quote
Old 2007-10-14, 15:34   #16 (permalink)
Portal Member
 
Join Date: May 2007
Location: Brisbane
Posts: 172
Thanks: 21
Thanked 3 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by OrionHall
Wahey - glad it worked. I'll have a look into the case issue and let you know - all of my AMC entries were created by this utility so I've not seen it process manually-added entries. I'll have a play today.

Cheers,

OH.
No worries. Unless the case for the filename and directories matches exactly, the program treats it as a new entry that doesn't exist in the DB.
whatisk is offline   Reply With Quote
Old 2007-10-14, 16:06   #17 (permalink)
 
Join Date: Sep 2007
Location: London
Posts: 178
Thanks: 1
Thanked 26 Times in 20 Posts

Country:

My System

Lightbulb AMC Updater v0.3 now available!

Hi All,

Thank you to everyone who's given feedback so far - it's good to know this is of use to people!

And it gives me something to tinker with on a Sunday afternoon. So I've been tinkering and the new version is now available to download from SourceForge.

http://sourceforge.net/projects/amcupdater/

Release notes are also online at SF, but the basics are:
- Support for duplicate filenames (uniqueness is based on the whole path now)
- Support for non-multimedia filetypes, for users who store DVD images in the Ant Catalog.
- File comparison now actually works and isn't fussy about case sensitivity.
- Added option to remove entries from the Ant Catalog which refer to missing files. Use with caution!
- Better error handling and logging and internal stuff that should make it a bit faster.

Any problems with the new release, do of course let me know

Cheers,

OrionHall
OrionHall is offline   Reply With Quote
Old 2007-10-14, 19:08   #18 (permalink)
Portal Member
 
zebons's Avatar
 
Join Date: Feb 2006
Posts: 572
Thanks: 5
Thanked 59 Times in 43 Posts


Default

Hi,
I test the latest version but I got an error with mediainfo values :
for most of my films, the frame rate is 25000 but with the decimal french standard format it's written 25.000 (point as thousands separator). With that new version, that value is converted as Integer and there is an error.
No problems with version v0.1

Regards,
Attached Files
File Type: txt AMCUpdater_Log.txt (1.2 KB, 8 views)
zebons is online now   Reply With Quote
Old 2007-10-14, 20:36   #19 (permalink)
 
Join Date: Sep 2007
Location: London
Posts: 178
Thanks: 1
Thanked 26 Times in 20 Posts

Country:

My System

Default

Quote:
Originally Posted by zebons View Post
Hi,
I test the latest version but I got an error with mediainfo values :
for most of my films, the frame rate is 25000 but with the decimal french standard format it's written 25.000 (point as thousands separator). With that new version, that value is converted as Integer and there is an error.
No problems with version v0.1

Regards,
Oops

That was actually sort of deliberate - I was trying to tidy it up! I didn't realise it would cause a problem - easy to undo though. I'll get an updated version out soon to fix that.

Thanks,

OrionHall.
OrionHall is offline   Reply With Quote
Old 2007-10-14, 22:15   #20 (permalink)
Portal Member
 
Join Date: Jul 2007
Age: 26
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Nice work!
work like a sharm!
But i craches when path to xml file is over the network.

Can you fix so it removes info from AMC when the file don´t exists enymore.
zupe is offline   Reply With Quote
Reply

Bookmarks

Tags
added, amc, automatically, database, updating

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
About: MyFilms - Use an ANT Movie Database (AMC) in MP zebons My Films 22 2008-08-25 11:04
MyFilms don't work if there are no image on AMC database mamachan My Films 1 2007-02-16 09:36
(original thread) MyFilms v3.1 - Use an ANT Movie Database (AMC) in MP zebons My Films 201 2007-02-12 09:27
Updating movie database Niclas75 The old Bugreport Forum 2 2006-07-06 13:32
EPG not updating automatically brsexton WebEPG 3 2006-03-12 17:20


All times are GMT +1. The time now is 20:09.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden