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
Scraper Version & Published
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="fforde" data-source="post: 386511" data-attributes="member: 52082"><p>Well the problem is you do not have the ${count} variable properly escaped (you need brackets) in your add node. But that doesn't really matter because the way you are doing this will not work. ${count} is a system variable that represents the current iteration of the loop and it persists until you run another loop. So what you need to do is store to a new variable, let's call it ${next_free} that is set to ${count} + 1 after the first loop <em>but before the second loop</em>. Then inside the second loop you need to use the ${next_free} variable as an index into your cover_art array. And be sure to add 1 to the ${next_free} variable each iteration of the second loop.</p><p></p><p>Hope that makes sense.</p></blockquote><p></p>
[QUOTE="fforde, post: 386511, member: 52082"] Well the problem is you do not have the ${count} variable properly escaped (you need brackets) in your add node. But that doesn't really matter because the way you are doing this will not work. ${count} is a system variable that represents the current iteration of the loop and it persists until you run another loop. So what you need to do is store to a new variable, let's call it ${next_free} that is set to ${count} + 1 after the first loop [I]but before the second loop[/I]. Then inside the second loop you need to use the ${next_free} variable as an index into your cover_art array. And be sure to add 1 to the ${next_free} variable each iteration of the second loop. Hope that makes sense. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Scraper Version & Published
Contact us
RSS
Top
Bottom