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-15, 12:39   #21 (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
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.
Hi Zupe,

Yeah, I've just found the bug which stops it removing the AMC entries. I'll get that fixed shortly.

No idea why you're having trouble accessing an xml file on the network though - works fine for me. Is there anything in the log or a meaningful error message when it crashes?

Thanks,

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


Default

strange now i works. Whith network path.

I have also tested the remove funktion (dinīt se it before sorry) and it works nice.

But i have a strange problem the program hangs some times when adding new files to amc. The solutions is to remove the log file an try again.

Thank you for a nice program, very useful!

Can you fix so it opens amc with the the used xml file after imorting files?
zupe is offline   Reply With Quote
Old 2007-10-16, 13:31   #23 (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
strange now i works. Whith network path.

I have also tested the remove funktion (dinīt se it before sorry) and it works nice.

But i have a strange problem the program hangs some times when adding new files to amc. The solutions is to remove the log file an try again.

Thank you for a nice program, very useful!

Can you fix so it opens amc with the the used xml file after imorting files?

Hi Zupe,

Glad it works for you. I found a bug in the code which removes database entries for missing files - it would only work if the missing files were originally in the location you're scanning. So if the files were in \\server\movies\ and were then removed, scanning that folder with the 'purge database entries' option would work. I found that if the missing file had a different path (maybe \\server\newmovies) then it wouldn't remove it. I've now fixed that so if you want to remove missing files, it should work happily.

The only known reason for the app to hang is if it encounters a file where it can't easily read the media information (framerate and so on). It could be that it's incorrectly trying to scan a file which isn't a movie, or the MediaInfo.dll I use may be having problems. Either way it -should- eventually finish. I'm currently working on allowing you to cancel this process if it's taking an age. To be honest I doubt the logfile is directly involved as the process which writes to it is very simple and it shouldn't cause any problems. Impossible to be sure, of course.

Re: opening Ant after modifying the database file - this would be more easily done with a script. You can create a batch file which runs my updater, and then runs Ant automatically. Also since Ant can be configured to always re-open the previously used file this should be quick and easy to do. The script would be along the lines of...

c:\AMCUpdater\AMCUpdater [command line options here]
c:\Program Files\Ant Movie Catalog\MovieCatalog.exe

If you save that as a .bat file it should do what you need.

Cheers,

OrionHall.

p.s. New version with a few bugfixes on its way soon!
OrionHall is offline   Reply With Quote
Old 2007-10-23, 20:57   #24 (permalink)
 
Join Date: Sep 2007
Location: London
Posts: 178
Thanks: 1
Thanked 26 Times in 20 Posts

Country:

My System

Default

Hi All,

Just a quick update. I've been spending some time improving the app and it's finally getting there. One of the big annoyances for me was the app seeming to hang when scanning some slightly-problematic files. Same goes if it's simply scanning a lot of files. I wanted to be able to cancel the import if needed, and display a progress bar so you can see it's still working. Apparently this required multithreading, so I've re-written the import to run on a separate thread. Unfortunately that completely broke the command line option

Having read up on threading a bit more I can see why; I just haven't found an easy fix yet (short of duplicating all the import code without the threading, but that seems like terrible programming practice!)

On the bright side I've improved quite a few areas now and hope to get a new release out soon. For users who store DVD copies (i.e. the actual .vob files) the app can now handle these, and assumes the folder containing the DVD image is named after the film. Possibly not suitable for everyone but I'm open to suggestions here.

Anyway, suggesions welcome, and watch this space for the whizzy new version!

Cheers,

OrionHall.
OrionHall is offline   Reply With Quote
Old 2007-10-27, 15:47   #25 (permalink)
 
Join Date: Sep 2007
Location: London
Posts: 178
Thanks: 1
Thanked 26 Times in 20 Posts

Country:

My System

Lightbulb AMCUpdater v4.0 Now Available!

Hi All,

I've been tinkering and testing and it's time for the new release. Please have a go and let me know how it goes.

New version and source code can be found here ...

http://sourceforge.net/project/showf...roup_id=205435

Release notes are included in the downloads, but in brief:
  • Multi-threading when processing files. Also the ability to stop the import. If you do then you can cancel completely or save the changes.
  • Support for copies of DVDs stored in folders. It now checks (optionally - on by default) for folders containing a VIDEO_TS.IFO file and does its best to work out the movie name from the folders.
  • Progress bar so you can see what it's doing when importing
  • Slight improvements to the GUI and Options dialogue box.

I hope this is of use to some of you, and let me know if you find any new bugs or can think of useful new features.

Cheers,

OrionHall.
OrionHall is offline   Reply With Quote
Old 2007-10-27, 16:38   #26 (permalink)
Super Moderator
 
Paranoid Delusion's Avatar
 
Join Date: Jun 2005
Location: Cheshire UK
Posts: 6,465
Thanks: 125
Thanked 221 Times in 196 Posts

Country:

My System

Default

OrionHall

Winrar is saying the files damaged.

Regards
Paranoid Delusion is online now   Reply With Quote
Old 2007-10-27, 18:53   #27 (permalink)
Portal Member
 
Join Date: Jul 2007
Age: 26
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default

i tested this but it dossnīt work. It can only find some of my movies.
zupe is offline   Reply With Quote
Old 2007-10-27, 20:00   #28 (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
i tested this but it dossnīt work. It can only find some of my movies.
Hi Zupe,

Details please! What's it doing / not doing? Any further info would help - I've been testing this as best I can against a 'known' set of files in different folders / different types etc. and it's been holding up so far. If there's a problem I will of course do my best to get it sorted!

Cheers,

OrionHall.
OrionHall is offline   Reply With Quote
Old 2007-10-29, 14:06   #29 (permalink)
Portal Member
 
Join Date: Mar 2007
Age: 37
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

any chance this tool could work both ways and clean up the database if you deleted files?
psiebe is offline   Reply With Quote
Old 2007-10-29, 14:10   #30 (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 psiebe View Post
any chance this tool could work both ways and clean up the database if you deleted files?
Hiya,

It already can do! Try the 'purge database entries' option. The only catch is that I've disabled that option from working in command-line mode. I think it's just too dangerous. If there's enough demand I could re-enable it, but having had problems with this concept before (i.e. network link down - no files found - wipe the whole database!) I thought it best not to have that too automated.

Cheers,

OrionHall.
OrionHall 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 19:46.


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