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
AMC Updater v0.7.3 Now Available!
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="jamieo" data-source="post: 293533" data-attributes="member: 53052"><p>Hi, thanks for your reply. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p></p><p>I agree that automatically using the folder name may be hard to implement. However, I was thinking a more simple option that if enabled would simply use the parent folder name for the film title instead of the filename. It would do this blindly for all files so no fancy logic would be required.</p><p></p><p>I've actually just wrote a script for amc that will do this for me afterwards, the main line of which just replaces whatever is in the Title field with the parent folder name as can be seen below:</p><p></p><p><em><span style="color: SeaGreen"> // The part in blue is just a long winded way to get the parent folder name</span></em></p><p> SetField(fieldOriginalTitle, <em><span style="color: Blue">ExtractFileName(ExcludeTrailingPathDelimiter(ExtractFilePath</span></em>(GetField(fieldSource)))));</p><p></p><p>However, this means I cannot use your program for internet lookups which is a shame as it would be nice to have the basic information already added without having to use amc. It is my hope that the info retrieved by your scripts will become as complete as amc meaning it will not be required (at all?) in future.</p><p></p><p></p><p>That's exactly how my folder structure is, wrt the 'The League of Extraordinary Gentlemen' I would imagine defining something like 'M:\films\*\*extra*\*.*' so it would only match at a certain folder depth (number of '\' characters). For a film called 'Extras' it will match 'M:\films\extras\extras\makingof.mkv' but not 'M:\films\extras\extras.mkv' .</p><p></p><p></p><p>Excellent! This will at least give me an easy way to exclude stuff in lieu of the last point, any idea when your next release (or even just an exe with this change) will be available? <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>Thanks, Jamie.</p></blockquote><p></p>
[QUOTE="jamieo, post: 293533, member: 53052"] Hi, thanks for your reply. :) I agree that automatically using the folder name may be hard to implement. However, I was thinking a more simple option that if enabled would simply use the parent folder name for the film title instead of the filename. It would do this blindly for all files so no fancy logic would be required. I've actually just wrote a script for amc that will do this for me afterwards, the main line of which just replaces whatever is in the Title field with the parent folder name as can be seen below: [I][COLOR="SeaGreen"] // The part in blue is just a long winded way to get the parent folder name[/COLOR][/I] SetField(fieldOriginalTitle, [i][COLOR="Blue"]ExtractFileName(ExcludeTrailingPathDelimiter(ExtractFilePath[/COLOR][/i](GetField(fieldSource))))); However, this means I cannot use your program for internet lookups which is a shame as it would be nice to have the basic information already added without having to use amc. It is my hope that the info retrieved by your scripts will become as complete as amc meaning it will not be required (at all?) in future. That's exactly how my folder structure is, wrt the 'The League of Extraordinary Gentlemen' I would imagine defining something like 'M:\films\*\*extra*\*.*' so it would only match at a certain folder depth (number of '\' characters). For a film called 'Extras' it will match 'M:\films\extras\extras\makingof.mkv' but not 'M:\films\extras\extras.mkv' . Excellent! This will at least give me an easy way to exclude stuff in lieu of the last point, any idea when your next release (or even just an exe with this change) will be available? ;) Thanks, Jamie. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Films
AMC Updater v0.7.3 Now Available!
Contact us
RSS
Top
Bottom