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

Country:

My System

Default

Update : quite a few bugfixes in this new version, particularly in the Manual Updater. Full release won't be far behind if I don't find any more bugs

Cheers,

Orion.
Attached Files
File Type: zip AMCUpdater.zip (129.9 KB, 23 views)
OrionHall is offline   Reply With Quote
This User Say Thank You:
Old 2008-08-21, 15:50   #32 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by OrionHall View Post
Detecting the duplicate entries however is very difficult - at the point of Internet lookup it loops through the list and does the lookup for each file, but it wouldn't notice a duplicate 'Bourne Trilogy, the' entry until it gets to the second bourne film!
That would only be a problem for my suggestion to set up the group separator, even then you could avoid that just by assuming if other valid files exist in the same folder then you will (using folder name) have a duplicate. This would be a great feature btw, but not a priority. For skipping duplicates it doesn't matter as you want to show first occurance to the user anyway so they can decide whether to skip it or not.

Quote:
Originally Posted by OrionHall View Post
Hopefully that all makes sense - please have another play and let me know if it's not doing that for you!
All weirdness has gone from the latest version. Thanks also for the changes to the lookup dialog.

edit: spoke too soon, just started to import and no matter what I do it will not import anything with any of the internet related fields checked. Even just 'Original Title' with 'Folder Name' (no lookup) enabled.

Edit2: removed all default entries for 'Strip Characters from Title' and it works again...

Last edited by jamieo; 2008-08-21 at 19:39.
jamieo is offline   Reply With Quote
Old 2008-08-22, 23:10   #33 (permalink)
Portal Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


fixed

Quote:
I've noticed that with multi-part movies the paths seem to be duplicated in the source field 3 or 4 times.
Edit: Never mind, I haven't been able to reproduce the error, must have done something weird while I was testing.



Other than that, great app! I was planning on something similar with the next version of AVIList, but you've beaten me to it (and made a better job of it than I was planning to ).

Also, I use playlists in my source field to keep it a bit neater. Any chance of parsing playlist files when you're looking for orphans? If you're too busy I could have a look through your source.

Last edited by ryall; 2008-08-23 at 00:48.
ryall is offline   Reply With Quote
Old 2008-08-23, 04:26   #34 (permalink)
Portal Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by OrionHall View Post
Detecting the duplicate entries however is very difficult - at the point of Internet lookup it loops through the list and does the lookup for each file, but it wouldn't notice a duplicate 'Bourne Trilogy, the' entry until it gets to the second bourne film! I'll see if there's any easy way to work that out in advance but I'm not hugely hopeful. Do bear in mind that even if you have to manually correct some entries, it's still a one-off chore to do!
It's easy to detect duplicates if you do a sort on your array, then you just check against the previous element in the array. Roughly:

Code:
if moviename(i) = moviename(i - 1) then _
     duplicate = true

ryall is offline   Reply With Quote
Old 2008-08-23, 12:20   #35 (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 ryall View Post
Quote:
I've noticed that with multi-part movies the paths seem to be duplicated in the source field 3 or 4 times.
Edit: Never mind, I haven't been able to reproduce the error, must have done something weird while I was testing.



Other than that, great app! I was planning on something similar with the next version of AVIList, but you've beaten me to it (and made a better job of it than I was planning to ).

Also, I use playlists in my source field to keep it a bit neater. Any chance of parsing playlist files when you're looking for orphans? If you're too busy I could have a look through your source.
Hi Ryall,

Really glad you like it! Means a lot to me, particularly since I started off with MyFilms using AVIList and eventually started writing my own based on my experience with that

Hopefully the multi-part movie issue was just a temporary glitch!

I can happily give my utility support for playlists - I guess that won't be too hard. But since I've never used them at all, please give me any info you can about their structure, how you use them etc. and I'll try and incorporate that.

Cheers,

Orion.
OrionHall is offline   Reply With Quote
Old 2008-08-23, 18:57   #36 (permalink)
 
Join Date: Sep 2007
Location: London
Posts: 178
Thanks: 1
Thanked 26 Times in 20 Posts

Country:

My System

Default Group Separator

Jamie,

Have a go with the attached for a group separator system. It'll only kick-in if the Movie Title is set to 'Folder Name + Internet Lookup' and where you have multiple files within a folder. The Internet lookup allows you to choose which file is which (supports multi-part files too!) and then the Original Title in Ant should be 'FolderName \ InternetLookupMovieName' if you get what I mean! This will only work on Import at the moment - not hooked in to the Manual Update bit yet. I tested this with a folder structure matching your 'Bourne Trilogy' structure.

Let me know what you think,

Orion.

p.s. Usual caveat - beta version, backup first etc.!
Attached Files
File Type: zip AMCUpdater.zip (131.1 KB, 10 views)

Last edited by OrionHall; 2008-08-24 at 10:19. Reason: Forgot to attach the file!
OrionHall is offline   Reply With Quote
Old 2008-08-24, 00:13   #37 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by OrionHall View Post
Have a go with the attached for a group separator system.
Sounds great! There is no file attached though?!

However, after much deliberation I decided that I should use the translated title as the master so I would need to put that group separator there instead, I already done it manually though......

I noticed some bugs etc. Even when the picture field is unselected an image is still downloaded. This gets a bit messy as the image later downloaded by AMC may be named slightly different and therefore you end up with many superfluous files.

I have your program in a folder other than mediaportal's - why is it that the mediaportal folder structure keeps getting recreated in the AMCUpdater program folder?

Program adds the entire path reference to the picture in the db xml - unlike AMC which just puts the filename so the database is portable between different folder locations.

The filename needs to be shown in the lookup dialogue when performing a manual update as well.

Jamie
jamieo is offline   Reply With Quote
Old 2008-08-24, 05:58   #38 (permalink)
Portal Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by OrionHall View Post
Hopefully the multi-part movie issue was just a temporary glitch!

I can happily give my utility support for playlists - I guess that won't be too hard. But since I've never used them at all, please give me any info you can about their structure, how you use them etc. and I'll try and incorporate that.

Cheers,

Orion.
Hey Orion,
I'm stoked to hear you used to use AVIList, I guess it was the inherent limitations in it that inspired you to create AMC Updater

Don't worry about the multi-part glitch, I was doing a lot of cancelling/re-scanning while testing out my regex filters. AMC Update works perfectly under normal operation

About the playlists: MyFilms can parse a playlist stored in your "Source" field to get the files (and order) for a multi-part movie. So what I did in AVIList was add the option to create a playlist when it detected multi-part movies.

The playlists themselves aren't complicated, it's basically just a text file with each path\file on a separate line.

e.g.
The contents of The Matrix.m3u would look like this:

Code:
C:\Movies\The Matrix\The Matrix (part 1).avi
C:\Movies\The Matrix\The Matrix (part 2).avi
Playlist support would make this app golden for me You're probably pretty busy with other features so I had a look at your source to see if I could add it myself, but it seems to be missing some reference files (grabber and something else I can't remember right now).
ryall is offline   Reply With Quote
Old 2008-08-24, 09:10   #39 (permalink)
Portal Member
 
Join Date: Jul 2008
Posts: 41
Thanks: 7
Thanked 0 Times in 0 Posts


Default

hi,

what should i Put in the field path to internetlookup parser. I updated the new version and it returned internet look up failed

8/24/2008 2:06:49 AM - File Imported - D:\Downloads\Cloverfield.2008.720p.BluRay.DTS.x264-ESiR\Cloverfield.2008.720p.BluRay.DTS.x264-ESiR.mkv (Internet Lookup Failed)

Thanks
arryo is offline   Reply With Quote
Old 2008-08-24, 10:36   #40 (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 jamieo View Post
However, after much deliberation I decided that I should use the translated title as the master so I would need to put that group separator there instead, I already done it manually though.
I'll be making it optional, so the group separator can be used in Original Title or Translated Title (or both) but for proof of concept I've kept it simple.

Quote:
Originally Posted by jamieo View Post
I noticed some bugs etc. Even when the picture field is unselected an image is still downloaded. This gets a bit messy as the image later downloaded by AMC may be named slightly different and therefore you end up with many superfluous files.
Yup - I just found that one. I'd also like to be able to give the downloaded images a better naming structure like Ant does. I'll get onto that.

Quote:
Originally Posted by jamieo View Post
I have your program in a folder other than mediaportal's - why is it that the mediaportal folder structure keeps getting recreated in the AMCUpdater program folder?
Curious - never seen that. Should be just a scripts folder and probably a log folder in there. What folders do you get?

Quote:
Originally Posted by jamieo View Post
Program adds the entire path reference to the picture in the db xml - unlike AMC which just puts the filename so the database is portable between different folder locations.
Hadn't noticed that one, but yeah that clearly needs correcting. I use relative paths too.

Quote:
Originally Posted by jamieo View Post
The filename needs to be shown in the lookup dialogue when performing a manual update as well.
Oops!

Quote:
Originally Posted by ryall View Post
Don't worry about the multi-part glitch, I was doing a lot of cancelling/re-scanning while testing out my regex filters. AMC Update works perfectly under normal operation
Already found the bug - it was an internal datatable not being cleared out. Should be fixed in the file I just posted; and it only affected the multi-part files when running the import several times.

Quote:
Originally Posted by ryall View Post
Playlist support would make this app golden for me You're probably pretty busy with other features so I had a look at your source to see if I could add it myself, but it seems to be missing some reference files (grabber and something else I can't remember right now).
Should be easy enough to have it parse any .m3u files it finds. I'll have a look when I have time. The Grabber.dll, Core.dll, Utils.dll and MediaInfo.dll are needed to compile and run the app. They should be available in the full binary package download. Let me know if you modify the code and I'll incorporate your changes into my copy so everyone can benefit!

Quote:
Originally Posted by arryo View Post
what should i Put in the field path to internetlookup parser. I updated the new version and it returned internet look up failed
The Internet scripts are in the full release packages, not in the test release I posted in this thread. Download the full version from SourceForge and set the Internet lookup Parser to one of the files in the Scripts folder of AMCUpdater. Each script represents a different Internet lookup site.

Cheers,

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


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