SilverEagle schrieb:
> (continued from here)
>
> Grobekelle wrote:
> > Hi SilverEagle,
> >
> > you told me in the german forums, that it is
> > impossible to load a playlist via
> >
> > > C:\Programme\Silverjuke\Silverjuke.exe
> > > --execute="player.addAtPos(0,
> > > 'D:\xyz.m3u');"
> >
> > Is there another way to realize it? So i would
> > like to put 4-5 songs via a shortcut at the top
> > of the playlist. Maybe with a script that looks
> > like that:
> >
> > player.addAtPos(0,'D:\xyz0.mp3');
> > player.addAtPos(1,'D:\xyz1.mp3');
> > player.addAtPos(2,'D:\xyz2.mp3');
> > player.addAtPos(3,'D:\xyz3.mp3');
> > .....
> >
> > I guess this should work, but i dont now how the
> > code has to look like exactly, can you help me
> > out?
> >
> > greetings patrick
>
> Hi Patrick,
>
> Like in wrote in the German forum:
>
> C:\Programme\Silverjuke\Silverjuke.exe
> D:\xyz.m3u
> will add the playlist at the end, but this is not
> what you want.
>
> Your suggestion is possible, but to see what is
> the most elegant solution could you give some
> more background, like:
> - What do you need it for?
> - Does your controlling app generate a m3u file,
> or can you script that freely yourself?
>
> SilverEagle
Hi SilverEagle,
thanks for your reply. I used your Skin for a Xmas Party the first time, it worked pretty well, but there is one little problem, which crashes the party. Think about this situation,
a song is playing and everybody is dancing, but the next song in the playlist isnt good for a dance, so in this Situation I would like to load a playlist or a couple of songs (3-5) which will put on the top to the playlist, but all other songs should stay in the list. And I would like to do that with a shortcut, because i have a remotecontrol, which sends different shortcuts to my pc. So the next time people are dancing on a kind of music i can add some songs of the same kind with my remotecontrol easily from the bar. :) Usally i create a m3u file, but i also would be fine with a script, where i have to put in the mp3 manually. Maybe theres another way, let me now? Do you have any solution for me, but attend to my words, i have no clue about c/c+. Thanks for your help....
greetings Patrick
Externally adding a playlist to the top of the queue
-
- 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
-
- 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: Externally adding a playlist to the top of the queue
Hi Patrick,
First suggestion: Do you have a laptop you could use on the same network as the jukebox and which only you could control from behind the bar? You could then use my remote plugin to get full (correctional) control over the playlist any way you want.
But as you create the m3u/script/whatever file yourself by hand, I think an external shortcut solution is possible as well. I'll try to get back on that tomorrow.
SilverEagle
First suggestion: Do you have a laptop you could use on the same network as the jukebox and which only you could control from behind the bar? You could then use my remote plugin to get full (correctional) control over the playlist any way you want.
But as you create the m3u/script/whatever file yourself by hand, I think an external shortcut solution is possible as well. I'll try to get back on that tomorrow.
SilverEagle
Re: Externally adding a playlist to the top of the queue
No room for a laptop behind the bar. :(
-
- 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
-
- Posts: 20
- Joined: 3. Jan 10, 11:31
- Location: germany
- Contact:
Re: Externally adding a playlist to the top of the queue
Allright, today i tried your solution with the batchfile. It works great, thx. Is there any way to run the batchwindow in the background, at the moment it pops up as soon as i start the batchfile and closes a few seconds later.
I didnt understand your second solution, could you be more specific?
This is what I did so far:
Made a batchfile called silverjuke_queue.bat with this in it and copied it to my silverjuke folder:
@for /f "delims=|" %%x in (%1) do silverjuke.exe --execute="player.addAtPos(player.queuePos+1, '%%x');"
silverjuke.exe --next
I created a listing.lst file with the path to the mp3s in it. like you told me above.
I dont understand the last step, how to load up my listing via shortcut?
Where to put this in?
Thx....
I didnt understand your second solution, could you be more specific?
This is what I did so far:
Made a batchfile called silverjuke_queue.bat with this in it and copied it to my silverjuke folder:
@for /f "delims=|" %%x in (%1) do silverjuke.exe --execute="player.addAtPos(player.queuePos+1, '%%x');"
silverjuke.exe --next
I created a listing.lst file with the path to the mp3s in it. like you told me above.
I dont understand the last step, how to load up my listing via shortcut?
Where to put this in?
Thx....
-
- 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: Externally adding a playlist to the top of the queue
Grobekelle wrote:
> Allright, today i tried your solution with the
> batchfile. It works great, thx. Is there any way
> to run the batchwindow in the background, at the
> moment it pops up as soon as i start the
> batchfile and closes a few seconds later.
>
Yes, run 'minimized', ...
> I didnt understand your second solution, could you
> be more specific?
... but I made it easy for you: my testfiles are in the attached zipfile.
(No idea why I originally did not post them for you in the first place. Must have been sleeping at the time
)
Good luck,
SilverEagle
> Allright, today i tried your solution with the
> batchfile. It works great, thx. Is there any way
> to run the batchwindow in the background, at the
> moment it pops up as soon as i start the
> batchfile and closes a few seconds later.
>
Yes, run 'minimized', ...
> I didnt understand your second solution, could you
> be more specific?
... but I made it easy for you: my testfiles are in the attached zipfile.
(No idea why I originally did not post them for you in the first place. Must have been sleeping at the time

Good luck,
SilverEagle
- Attachments
-
- Queue_demo.zip
- (950 Bytes) Downloaded 571 times
Re: Externally adding a playlist to the top of the queue
Wow, thank you so much ill try this tomorrow.
One more thing i need to know, is there also a way to create a batchfile which deletes the whole playlist but keeps playing the actual song?
greetings patrick
One more thing i need to know, is there also a way to create a batchfile which deletes the whole playlist but keeps playing the actual song?
greetings patrick