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 2008-08-08, 16:00   #1 (permalink)
 
Join Date: Sep 2007
Location: London
Posts: 178
Thanks: 1
Thanked 26 Times in 20 Posts

Country:

My System

Default AMC Updater v0.7.3 Now Available!

Hi All,

It's been a while but I've finally got a new release ready to roll...

Quite a few improvements went into this - here's the main bits:
  • Greatly improved GUI interface.
  • Updated with latest MediaInfo.dll.
  • Added support for Languages and Subtitles data from MediaInfo.dll. Maybe this needs work - the output string could be made more readable I think.
  • Added Windows Install package option.
  • Added option to scan CD/DVD disk label and use that as MediaLabel.
  • Added multi-threading to Manual Update mode.
  • Added some documentation!!
  • Fixed bug in validation when using Manual Update and NOT EXISTS parameters.
  • Known Bug : Issue with + symbol (probably others) in filenames.

Downloads are in the usual place on SourceForge : SourceForge.net: Files

Feedback is, as always, very welcome! Please keep 0.7.3 related posts in this thread so I can keep track of them.

Please Note : If you scan your files for Internet data, and then click ‘ever ignore’, then the filename is stored in the Excluded Movie File and will not be processed again. The extension of this file has been variously referred to as .xml and .txt in prior versions of AMCUpdater. From this version onwards, this file will by default be called 'AMCUpdater_Excluded_Files.txt’ and will be stored in the application installation directory. If you use this feature, please ensure you move and/or rename your file as required to suit this standard.

Wishing you all a jolly good weekend of MediaPortal-related goodness,

Orion Hall.

Last edited by OrionHall; 2008-08-08 at 16:26. Reason: Automerged Doublepost
OrionHall is offline   Reply With Quote
2 Users Say Thank You:
Old 2008-08-08, 21:55   #2 (permalink)
Portal Member
 
z3us's Avatar
 
Join Date: Dec 2007
Posts: 275
Thanks: 51
Thanked 8 Times in 8 Posts

Country:


Default

Bug: when using the manual updater to update the media data of all records:
1-It doesnt update all the files.
2- It is changing the AMC number of all the movies to z
ero
Quote:
Added support for Languages and Subtitles data from MediaInfo.dll. Maybe this needs work - the output string could be made more readable I think.
How does it work???

Last edited by z3us; 2008-08-08 at 23:54.
z3us is offline   Reply With Quote
Old 2008-08-09, 10:46   #3 (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 z3us View Post
Bug: when using the manual updater to update the media data of all records:
1-It doesnt update all the files.
2- It is changing the AMC number of all the movies to z
ero
Quote:
Added support for Languages and Subtitles data from MediaInfo.dll. Maybe this needs work - the output string could be made more readable I think.
How does it work???
Hi z3us,

I've found the bug which sets the movie number to zero - no idea how that got in there! Now fixed - I'll upload a bugfix release shortly. I will need more detail about the 'doesn't update all the files' - I can't reproduce that problem.

The Languages and Subtitles data works just like the rest of the Media data - if the Language and/or Subtitle options are selected on the Database Fields tab, then the program will attempt to read this information from the file. Languages refers to audio language streams; Subtitles to the list of available subtitle languages.

This will only work with container formats such as mkv, where the subtitles are held within the file. Let me know if it doesn't work for you - and if so please use the Tests tab to see if MediaInfo.dll can read your file properly.

Thanks,

Orion Hall.

Update : Found another bug The Language value was being stored in the Ant database as 'Language' and not showing up in Ant. It should have been stored as 'Languages'. Now fixed - bug release soon!

Update again : please try the attached files. Unzip and place in your AMCUpdater application folder.
Attached Files
File Type: zip AMCUpdater Bugfix.zip (133.2 KB, 46 views)

Last edited by OrionHall; 2008-08-09 at 12:52.
OrionHall is offline   Reply With Quote
Old 2008-08-09, 17:56   #4 (permalink)
Portal Member
 
z3us's Avatar
 
Join Date: Dec 2007
Posts: 275
Thanks: 51
Thanked 8 Times in 8 Posts

Country:


Default

Quote:
Originally Posted by OrionHall View Post
I will need more detail about the 'doesn't update all the files' - I can't reproduce that problem.
I have 125 films. AMCupdater log says
Code:
"Ready to Proceed. 125 Records Matched."
But, when updating media data of all records, it only scans 43 files:
Code:
"09/08/2008 17:53:04 - File Scanned for Media Data : 43 | Alien vs. Predator 2
09/08/2008 17:53:04 - Manual Update Process Complete.
09/08/2008 17:53:04 - ===================================================================================================
"
and the progress bar is not full filled. But the scanning process stops totally

Quote:
Originally Posted by OrionHall View Post
The Languages and Subtitles data works just like the rest of the Media data - if the Language and/or Subtitle options are selected on the Database Fields tab, then the program will attempt to read this information from the file. Languages refers to audio language streams; Subtitles to the list of available subtitle languages.

This will only work with container formats such as mkv, where the subtitles are held within the file. Let me know if it doesn't work for you - and if so please use the Tests tab to see if MediaInfo.dll can read your file properly.
It seems like if AMCu is able to detect if a .avi file contains two audio streams. Then it fills the languages field with a "/" character. Would it be possible to write "dual" instead?

Last edited by z3us; 2008-08-09 at 18:04.
z3us is offline   Reply With Quote
Old 2008-08-10, 10:47   #5 (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 z3us View Post
Quote:
Originally Posted by OrionHall View Post
I will need more detail about the 'doesn't update all the files' - I can't reproduce that problem.
I have 125 films. AMCupdater log says
Code:
"Ready to Proceed. 125 Records Matched."
But, when updating media data of all records, it only scans 43 files:
Code:
"09/08/2008 17:53:04 - File Scanned for Media Data : 43 | Alien vs. Predator 2
09/08/2008 17:53:04 - Manual Update Process Complete.
09/08/2008 17:53:04 - ===================================================================================================
"
and the progress bar is not full filled. But the scanning process stops totally

Quote:
Originally Posted by OrionHall View Post
The Languages and Subtitles data works just like the rest of the Media data - if the Language and/or Subtitle options are selected on the Database Fields tab, then the program will attempt to read this information from the file. Languages refers to audio language streams; Subtitles to the list of available subtitle languages.

This will only work with container formats such as mkv, where the subtitles are held within the file. Let me know if it doesn't work for you - and if so please use the Tests tab to see if MediaInfo.dll can read your file properly.
It seems like if AMCu is able to detect if a .avi file contains two audio streams. Then it fills the languages field with a "/" character. Would it be possible to write "dual" instead?
Hi z3us,

Sounds like it's having a problem with the 43rd or 44th file then. Can you try using the Tests tab on both files (AVP2 and whatever is next in the database)? Also sounds like it needs better error handling there!

With the audio streams - I guess it's able to see that there's two streams but doesn't have the metadata required to know what language is what. I don't have many files with multiple audio streams, so it's a hard one for me to test properly.

If anyone else gets 'interesting' results from the Subtitles option then please post here and I'll see how best to tidy up the output!

Cheers,

Orion Hall.
OrionHall is offline   Reply With Quote
Old 2008-08-10, 16:08   #6 (permalink)
Portal Member
 
z3us's Avatar
 
Join Date: Dec 2007
Posts: 275
Thanks: 51
Thanked 8 Times in 8 Posts

Country:


Default

Quote:
Originally Posted by OrionHall View Post
Hi z3us,

Sounds like it's having a problem with the 43rd or 44th file then. Can you try using the Tests tab on both files (AVP2 and whatever is next in the database)? Also sounds like it needs better error handling there!

With the audio streams - I guess it's able to see that there's two streams but doesn't have the metadata required to know what language is what. I don't have many files with multiple audio streams, so it's a hard one for me to test properly.

If anyone else gets 'interesting' results from the Subtitles option then please post here and I'll see how best to tidy up the output!

Cheers,

Orion Hall.
I found the problem. I am really silly. The 44th file is a file stored in a DVD not inserted in the moment With the parameters "source - like - c:" everything goes perfect

About the languages, I think I would look for a program that replaces languages="/" for langages="dual" in my database. Is it possible to do that with a batch file???

Thanks
z3us is offline   Reply With Quote
Old 2008-08-10, 16:19   #7 (permalink)
 
Join Date: Sep 2007
Location: London
Posts: 178
Thanks: 1
Thanked 26 Times in 20 Posts

Country:

My System

Default

Glad to hear you worked it out! I also use the manual update with 'source like \\servername\sharename' logic so it gets the right entries.

I just scanned my whole movie collection (mainly .avi files) for the 'languages' values. Not very useful information:
'undefined', 'english', ' / / ' and ' / ' were the only unique values returned, and only a dozen of my files had any data at all in that field. I will look into how to improve this, though I suspect if you use MKV or similar then you should get 'english / german / dutch' values instead.

For now, you can correct your database file using Notepad! Just open the xml file and do 'find and replace' to replace 'languages=" \ "' with 'languages="Dual"'
and so on, for whatever bad values you have.

Cheers,

Orion Hall.
OrionHall is offline   Reply With Quote
Old 2008-08-10, 16:54   #8 (permalink)
Portal Member
 
z3us's Avatar
 
Join Date: Dec 2007
Posts: 275
Thanks: 51
Thanked 8 Times in 8 Posts

Country:


Default

I have 3 mkv files, and they returned a value of languages="spanish".
To change the languages="/", no need to use notepad. It can be done using your Great app: manual update
- update value- languages-Dual
- parameters: languages - like - /




One more thing: the new feature of reading the DVD label works great in the automatic mode, but not if you perform a manual update

Last edited by z3us; 2008-08-10 at 19:41.
z3us is offline   Reply With Quote
Old 2008-08-11, 15:22   #9 (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 z3us View Post
I have 3 mkv files, and they returned a value of languages="spanish".
To change the languages="/", no need to use notepad. It can be done using your Great app: manual update
- update value- languages-Dual
- parameters: languages - like - /




One more thing: the new feature of reading the DVD label works great in the automatic mode, but not if you perform a manual update
You know, I didn't even think of doing it like that

The DVD label feature isn't hooked in to the manual updater. The reason being that it's only relevant for CDs and DVDs, so how would that work in a manual update scan? I assumed that if you need to scan a load of disks then you put one in - scan it - put the next in - scan it, and so on. But if you do a manual update it would logically be just as easy to type in the value you want and apply that to as many database entries as you need. Let me know what you think.

I've been working on improving the language detection - it's tricky as the results from MediaInfo.dll vary a lot. Hopefully I'll have a better system in place for the next release.

Cheers,

Orion.
OrionHall is offline   Reply With Quote
Old 2008-08-13, 20:38   #10 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Hi, thanks for your program - I'm just starting to set up MyFilms and have never fancied it before because of the need to manually enter each and every film. However your program will hopefully negate the need to do that!

I have a problem though, the program imports many files that I keep inside of hidden folders - I do not want to delete these files but do not want them imported either, could you please add an option not to import a file if it, or it's parent folder is hidden?

Also, perhaps a feature request: my files are not named with the exact movie title but the parent folder is - this obviously limits how useful some features of your program are to me but an option to use the folder name instead would correct that - and be awesome!

Edit: something I tried to work around my first problem was to try using wild cards in the excluded paths file (ie, '*\*extras*\*' would ignore any file in a folder with 'extras' in it's name) - as you'll already know, this isn't supported but would be a nice ability to have...

Thanks,

Jamie

Last edited by jamieo; 2008-08-13 at 20:52.
jamieo is offline   Reply With Quote
Reply

Bookmarks

Tags
amc, updater

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
auto-updater! Eyep0p Improvement Suggestions 2 2007-10-29 14:43
Auto SVN updater SpudR Improvement Suggestions 3 2007-08-31 16:29
Updater and DShow filters diehard2 General Support 0 2006-09-07 19:30
Skinproblem with updater 0.2.0.2 olbo Skins 4 2006-07-28 10:22
FireDTV remote don't work after 0.2.0.2 updater Hell_Angel General Support 0 2006-07-25 12:58


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


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