Controlling Fast/Slow Song ratio
Controlling Fast/Slow Song ratio
Is there a way with SilverJuke to control how many fast songs are played before a slow one is allowed in kiosk mode. I could tag songs as fast or slow, but need a way of telling silverjuke to only play requested slow songs every 20mins or every 4th song. Any ideas of how to handle this? Thanks.
Re: Controlling Fast/Slow Song ratio
I'm not sure if this is really possible by a script, however, I would give this a try first.
Regards,
B.
Regards,
B.
Re: Controlling Fast/Slow Song ratio
Unfortunately... I haven't the first clue of how to script this. Any other ideas of getting something close to this with current functionality? Thanks for any help.
Re: Controlling Fast/Slow Song ratio
Can anyone script this type of need? Or get me pointed in the right direction to learn how to script this so I can give it a try? Thanks.
-
- Posts: 713
- Joined: 30. Sep 08, 14:00
- Location: Netherlands [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Controlling Fast/Slow Song ratio
Guest wrote:
> Can anyone script this type of need? Or get me
> pointed in the right direction to learn how to
> script this so I can give it a try? Thanks.
Where do the slow songs come from, do users enter them? What should happen with the songs, should they shift backbards in time, or should the user get a warning the song cannot be queued? What should happen if there are only slow songs left in the queue?
(By the way: better create a forum account, that way you also get email notifications if any question or hint is posted).
SilverEagle
> Can anyone script this type of need? Or get me
> pointed in the right direction to learn how to
> script this so I can give it a try? Thanks.
Where do the slow songs come from, do users enter them? What should happen with the songs, should they shift backbards in time, or should the user get a warning the song cannot be queued? What should happen if there are only slow songs left in the queue?
(By the way: better create a forum account, that way you also get email notifications if any question or hint is posted).
SilverEagle
-
- Posts: 6
- Joined: 23. Feb 10, 22:30 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Controlling Fast/Slow Song ratio
That is weird... I responded to this yesterday... but when I went to check my post was not there. I took your advice and opened an account... thanks for the tip on getting the emails.
I really appreciate your taking a look at this. The way I am thinking about it is... as songs are played in the queue... there should be a counter that will watch for ~4 songs (I can tag anywhere... probably comments field) and after 4 songs allow a slow one to be played. If a slow song comes up before 4 fast songs have been played then push the slow song back one in the queue.
I haven't really thought much about what if there are only slow songs left in the queue. I will be using autoplay when there are no songs chosen... perhaps autoplay can be triggered to pull a song to meet the fast song quota. I am not too worried about this scenerio but it is a good one to thing about. Thanks for any help you can give.
I really appreciate your taking a look at this. The way I am thinking about it is... as songs are played in the queue... there should be a counter that will watch for ~4 songs (I can tag anywhere... probably comments field) and after 4 songs allow a slow one to be played. If a slow song comes up before 4 fast songs have been played then push the slow song back one in the queue.
I haven't really thought much about what if there are only slow songs left in the queue. I will be using autoplay when there are no songs chosen... perhaps autoplay can be triggered to pull a song to meet the fast song quota. I am not too worried about this scenerio but it is a good one to thing about. Thanks for any help you can give.
-
- Posts: 713
- Joined: 30. Sep 08, 14:00
- Location: Netherlands [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Controlling Fast/Slow Song ratio
tbeckman wrote:
> That is weird... I responded to this yesterday...
> but when I went to check my post was not there.
Forum has button for preview, then you must click again to actually post. I still get bitten by that once every few weeks and discard a nice post, maybe you did the same...
> I took your advice and opened an account...
> thanks for the tip on getting the emails.
Welcome on board
I'll have a deep think about what scripting could do for you, in the meantime:
> I can tag anywhere... probably comments field
You could try using the beats-per-minute field in the MP3 tags. Silverjuke should import that into its database, try creating a music filter showing only your slow songs to test it out. You can edit the BMP from inside SJ and write it back I think, but I must confess I never tried anything like that. But comments will probably work as well in a pinch, but depending on the source of your music collection BPM might be already filled in for a lot of them so that route would save you some tedious work.
SilverEagle
> That is weird... I responded to this yesterday...
> but when I went to check my post was not there.
Forum has button for preview, then you must click again to actually post. I still get bitten by that once every few weeks and discard a nice post, maybe you did the same...
> I took your advice and opened an account...
> thanks for the tip on getting the emails.
Welcome on board

I'll have a deep think about what scripting could do for you, in the meantime:
> I can tag anywhere... probably comments field
You could try using the beats-per-minute field in the MP3 tags. Silverjuke should import that into its database, try creating a music filter showing only your slow songs to test it out. You can edit the BMP from inside SJ and write it back I think, but I must confess I never tried anything like that. But comments will probably work as well in a pinch, but depending on the source of your music collection BPM might be already filled in for a lot of them so that route would save you some tedious work.
SilverEagle
-
- Posts: 713
- Joined: 30. Sep 08, 14:00
- Location: Netherlands [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Controlling Fast/Slow Song ratio
Hi tbeckman,
Got your ready!
SilverEagle
Got your ready!
SilverEagle
Re: Controlling Fast/Slow Song ratio
Awesome... I am going to try this out tonight... sorry for not getting to the sooner. Really appreciate your time to work on this.
-
- Posts: 6
- Joined: 23. Feb 10, 22:30 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Controlling Fast/Slow Song ratio
Can you tell me when the script actually moves songs... is it when it is chosen, when a song ends or other? Also, I noticed your wording says a "minimum" of 4 consecutive songs... does that mean it will play more than 4 songs sometimes? Tell me if I have this right... but it looks like it waits for one slow song to play and then makes sure a second one doesn't play till 4 have passed through? Thanks... this is great.