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
Moving Pictures
Help with samples filter RegEx
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="Matt Kirby" data-source="post: 1186579" data-attributes="member: 95689"><p>I've worked something out that might be helpful - when changing the sample regex, you also need to look at the file size filter as well - it's not either/or, its both. And restarting Moving Pictures also seems to help - sometimes I made changes that didn't seem to take effect until I did.</p><p></p><p>In the advanced settings, the "Settings Details" text for the regex setting suggests that the regex will be used to identify "that the file is a <em>possible </em>sample".</p><p></p><p>Then, for the max filesize setting it says "if the filesize of the potential sample file is below this value it will be skipped".</p><p></p><p>So - it first uses the regex, and then checks the size - so only files that match regex <em>and</em> are lower than the size will be ignored.</p><p></p><p>I have downloaded trailers in the same folder as my films, and I'd rather have Moving Pictures ignore them as I use the trailers plugin if I want to watch the trailer. Otherwise the trailer plays after the film, and the calculated time of the film is off.</p><p></p><p>I don't know if this will work for files in a separate folder however.</p><p></p><p>I tried the simple regex of "sample|plugin" which didn't make any difference, until I also changed the filesize - as my trailers were bigger than the default 150. Setting this to 200, restarting Moving Pictures, and sending a film back to the importer resulted in the film being imported, without the trailer being added.</p><p></p><p>The more complex regex didn't seem to work - but I'm not worried about my simpler regex causing false positives - as any film file with either the word "sample" or "trailer" in the title will be bigger than 200 Mb, so won't be ignored.</p></blockquote><p></p>
[QUOTE="Matt Kirby, post: 1186579, member: 95689"] I've worked something out that might be helpful - when changing the sample regex, you also need to look at the file size filter as well - it's not either/or, its both. And restarting Moving Pictures also seems to help - sometimes I made changes that didn't seem to take effect until I did. In the advanced settings, the "Settings Details" text for the regex setting suggests that the regex will be used to identify "that the file is a [I]possible [/I]sample". Then, for the max filesize setting it says "if the filesize of the potential sample file is below this value it will be skipped". So - it first uses the regex, and then checks the size - so only files that match regex [I]and[/I] are lower than the size will be ignored. I have downloaded trailers in the same folder as my films, and I'd rather have Moving Pictures ignore them as I use the trailers plugin if I want to watch the trailer. Otherwise the trailer plays after the film, and the calculated time of the film is off. I don't know if this will work for files in a separate folder however. I tried the simple regex of "sample|plugin" which didn't make any difference, until I also changed the filesize - as my trailers were bigger than the default 150. Setting this to 200, restarting Moving Pictures, and sending a film back to the importer resulted in the film being imported, without the trailer being added. The more complex regex didn't seem to work - but I'm not worried about my simpler regex causing false positives - as any film file with either the word "sample" or "trailer" in the title will be bigger than 200 Mb, so won't be ignored. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Help with samples filter RegEx
Contact us
RSS
Top
Bottom