home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Films
Automatically updating AMC database when new files are added...
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="OrionHall" data-source="post: 224238" data-attributes="member: 56502"><p><strong>AMCUpdate v0.5 Now Available!</strong></p><p></p><p>Hello All,</p><p></p><p>It's been a while, but I've finally found time to have another look at the AMCUpdater project.</p><p></p><p>I think I've now fixed most of the outstanding bugs that I know about. I found a few subtle ones whilst working on it too. The best/worst was one I came across at the last minute, just as I thought it was finished... Schindler's List came up. It's the first time I've come across a multi-part file with a quote in the filename. Single files with quotes have worked fine since the first version, but the code I used involved an xpath query using the filename as a parameter. That really doesn't work with quotes in the title. So I re-wrote a fair bit of the code to use the unique movie ID where possible. That wasn't fun!</p><p></p><p>The other area which needed a lot of attention was the 'purge missing database entries' option. I found it didn't work quite as planned if the Ant database contains links to files in various locations. For example - it might have links to the movie collection such as '\\server\movies\blah.avi', as well as DVDs referenced as 'd:\VIDEO_TS\VIDEO_TS.IFO', and home videos as '\\server\videos\homeblah.avi'. If you were scanning a folder at '\\server\movies' and it found files such as '\\server\movies\filename.avi' then it would be fine, but an entry like 'd:\filename.avi' would be removed. I figure that logic isn't exactly logical. </p><p></p><p>The new code will ensure that if the XML file lists '\\server\movies\filename.avi' and you scan '\\server\movies' (or enter '\\server\movies\' as an override path) then they will either match as expected, or the database entry will be removed if the file isn't there. Other database entries which aren't referencing '\\server\movies\' will be ignored to account for offline media. So 'd:\blah.avi' or '\\OtherServer\OtherShare\blah.avi' won't be touched.</p><p></p><p>Hopefully you'll find this a stable release! As usual, please do let me know if you find any bugs, and include as much detail as possible if (or when) you do so. I haven't had many feature requests lately so I reckon this is ready to become a (probably final) v1.0, assuming I've got the last of the bugs!</p><p></p><p>Oh, and Happy New Year to the wonderful MediaPortal team, and everyone here!</p><p></p><p>Cheers,</p><p></p><p>OrionHall.</p><p></p><p>p.s. v0.5 is available at SourceForge as usual - here's the direct link : <a href="http://sourceforge.net/project/showfiles.php?group_id=205435" target="_blank">http://sourceforge.net/project/showfiles.php?group_id=205435</a></p></blockquote><p></p>
[QUOTE="OrionHall, post: 224238, member: 56502"] [b]AMCUpdate v0.5 Now Available![/b] Hello All, It's been a while, but I've finally found time to have another look at the AMCUpdater project. I think I've now fixed most of the outstanding bugs that I know about. I found a few subtle ones whilst working on it too. The best/worst was one I came across at the last minute, just as I thought it was finished... Schindler's List came up. It's the first time I've come across a multi-part file with a quote in the filename. Single files with quotes have worked fine since the first version, but the code I used involved an xpath query using the filename as a parameter. That really doesn't work with quotes in the title. So I re-wrote a fair bit of the code to use the unique movie ID where possible. That wasn't fun! The other area which needed a lot of attention was the 'purge missing database entries' option. I found it didn't work quite as planned if the Ant database contains links to files in various locations. For example - it might have links to the movie collection such as '\\server\movies\blah.avi', as well as DVDs referenced as 'd:\VIDEO_TS\VIDEO_TS.IFO', and home videos as '\\server\videos\homeblah.avi'. If you were scanning a folder at '\\server\movies' and it found files such as '\\server\movies\filename.avi' then it would be fine, but an entry like 'd:\filename.avi' would be removed. I figure that logic isn't exactly logical. The new code will ensure that if the XML file lists '\\server\movies\filename.avi' and you scan '\\server\movies' (or enter '\\server\movies\' as an override path) then they will either match as expected, or the database entry will be removed if the file isn't there. Other database entries which aren't referencing '\\server\movies\' will be ignored to account for offline media. So 'd:\blah.avi' or '\\OtherServer\OtherShare\blah.avi' won't be touched. Hopefully you'll find this a stable release! As usual, please do let me know if you find any bugs, and include as much detail as possible if (or when) you do so. I haven't had many feature requests lately so I reckon this is ready to become a (probably final) v1.0, assuming I've got the last of the bugs! Oh, and Happy New Year to the wonderful MediaPortal team, and everyone here! Cheers, OrionHall. p.s. v0.5 is available at SourceForge as usual - here's the direct link : [url]http://sourceforge.net/project/showfiles.php?group_id=205435[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Films
Automatically updating AMC database when new files are added...
Contact us
RSS
Top
Bottom