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
Products
TV-Server
TV Server Plugin: TvWishList
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="foxbenw" data-source="post: 843212" data-attributes="member: 115475"><p>So far i haven't seen any case where we would want to use episode part and episode name separately. I don't know if it is better to have it separately for future use, or wait until someone needs it.</p><p>In the MP plugin are the last 4 options for the manual override? Or do they change the default setting? I can't quite picture it from what you have written.</p><p></p><p></p><p></p><p>I don't understand why you need two sets of code. Shouldn't automatic be the same as manual, except useDescription etc take some default value? The way you have it now, the blanks will be treated differently for each. Perhaps that is on purpose. I think this might explain why in one of my previous posts the 'fresh meat' wish was returning skip = true. useDescription = false, default = true, and episodeName and episode/seriesNumber were blank. </p><p></p><p>Also, using this code, if useDescription = useName = usePart = useNumbers = false</p><p>the program is skipped?</p><p>You may need to change the last nested if statement to allow for that.</p><p></p><p>Before I saw what you had written I think something like this was what was in my head. The logic between the criteria is OR not AND. ie any match on a criteria is enough to skip, rather than all of them having to match. I assume you have thought about it and rejected this for some reason in the past! Sorry if anything is wrong, I have only ever done amateur VBA.</p><p></p><p>if ((newDescription == oldDescription) && (newDescription != string.Empty) && (useDescription) )</p><p>{</p><p> return true;</p><p>}</p><p></p><p>if ((newSeriesNumber == oldSeriesNumber) && (newSeriesNumber != string.Empty) && (useNumbers) )</p><p>{</p><p> if ((newEpisodeNumber != string.Empty) && (newEpisodeNumber == oldEpisodeNumber)) {</p><p> return true;</p><p> }</p><p>}// if series number exists but there is no episode number it will not skip.</p><p></p><p>if ((newEpisodeName == oldEpisodeName) && (newEpisodeName != string.Empty) && (useNames) )</p><p>{</p><p> if ((newEpisodePart == string.Empty) || (newEpisodePart == oldEpisodePart)) {</p><p> return true;</p><p> }</p><p>}//different to numbers. an empty episode part allows for skipping.</p><p></p><p>return false;</p><p></p><p></p><p>Ben</p></blockquote><p></p>
[QUOTE="foxbenw, post: 843212, member: 115475"] So far i haven't seen any case where we would want to use episode part and episode name separately. I don't know if it is better to have it separately for future use, or wait until someone needs it. In the MP plugin are the last 4 options for the manual override? Or do they change the default setting? I can't quite picture it from what you have written. I don't understand why you need two sets of code. Shouldn't automatic be the same as manual, except useDescription etc take some default value? The way you have it now, the blanks will be treated differently for each. Perhaps that is on purpose. I think this might explain why in one of my previous posts the 'fresh meat' wish was returning skip = true. useDescription = false, default = true, and episodeName and episode/seriesNumber were blank. Also, using this code, if useDescription = useName = usePart = useNumbers = false the program is skipped? You may need to change the last nested if statement to allow for that. Before I saw what you had written I think something like this was what was in my head. The logic between the criteria is OR not AND. ie any match on a criteria is enough to skip, rather than all of them having to match. I assume you have thought about it and rejected this for some reason in the past! Sorry if anything is wrong, I have only ever done amateur VBA. if ((newDescription == oldDescription) && (newDescription != string.Empty) && (useDescription) ) { return true; } if ((newSeriesNumber == oldSeriesNumber) && (newSeriesNumber != string.Empty) && (useNumbers) ) { if ((newEpisodeNumber != string.Empty) && (newEpisodeNumber == oldEpisodeNumber)) { return true; } }// if series number exists but there is no episode number it will not skip. if ((newEpisodeName == oldEpisodeName) && (newEpisodeName != string.Empty) && (useNames) ) { if ((newEpisodePart == string.Empty) || (newEpisodePart == oldEpisodePart)) { return true; } }//different to numbers. an empty episode part allows for skipping. return false; Ben [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
TV Server Plugin: TvWishList
Contact us
RSS
Top
Bottom