Hiding the delete track option (X) from playlist

The forum for designers and developers.
[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
locka
Posts: 18
Joined: 4. Jun 07, 21:13
[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

Hiding the delete track option (X) from playlist

Postby locka » 14. Jun 07, 00:37

I want to be able to allow people to use the play now and play next functions , while at the same time not be allowed to remove tracks that are waiting to play or have played.

Because although you can set up silverjuke to not allow the same track to be played as soon as this is deleted it you can play it again. Might be a nice I dear if in the future silverjuke keep note of these some how so that even if people try to be clever they will not be able to get round a track being played more than once in a set time frame.

User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[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: Hiding the delete track option (X) from playlist

Postby Service-Team » 14. Jun 07, 10:01

Hello locka,

as you may have noticed, you can disable the "Play now" and "Play next" functions together with the "X" for removing tracks from the queue.

We have linked these options as "Kiosk mode / Functionality / Edit queue" as both allow massive changes in the playing order and can avoid other tracks from being played ever.

If you trust your users in the kiosk mode to use the "Play now" function - which will eg. interrupt the playing track, you should also trust them to use the "Remove track" function. If this case, please enable the "Edit queue" option.

If you do not want the users to remove or interrupt tracks, please disable "Edit queue". Finally, the the latter case, you can also write a little for very special things that eg. allows playing tracks next under some circumstances. Such a script can be bound eg. to a button then.

Best regards,
Your Silverjuke Team
Last edited by Service-Team on 12. Sep 07, 11:51, edited 1 time in total.

Guest
[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: Hiding the delete track option (X) from playlist

Postby Guest » 14. Jun 07, 15:50

What tags would I use to create a play next I had a look but not with much luck.

User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[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: Hiding the delete track option (X) from playlist

Postby Service-Team » 14. Jun 07, 18:57

Guest wrote:
> What tags would I use to create a play next I had
> a look but not with much luck.

I'm not sure if I understand you correctly. Do you want to know how to access the "play next" function? For this, simply use the context menu of a track or use the shortcut CTRL+N:

edit-queue.gif
edit-queue.gif (13.65 KiB) Viewed 4106 times


To allow or disallow the "play next" function in kiosk mode, use the "edit queue" option from the settings dialog:

play-next.gif
play-next.gif (21.17 KiB) Viewed 4106 times
Last edited by Service-Team on 12. Sep 07, 11:52, edited 1 time in total.

locka
Posts: 18
Joined: 4. Jun 07, 21:13
[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: Hiding the delete track option (X) from playlist

Postby locka » 14. Jun 07, 23:53

I Those I already know problem is I wish to stop people being able to delete tracks from the queue but at the same time still be able to insert a track to be the next to play next even if there are other tracks there already. If tick the box above they can delete tracks and use the play next function if I un-tick the box they can not delete tracks but neither can they use the play next function insert tracks in the list waiting to play. They only appear at the end

If the silver juke admin team suggest I need to right a script what script tags would I need to use to achieve this.

User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[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: Hiding the delete track option (X) from playlist

Postby Service-Team » 15. Jun 07, 19:20

locka wrote:
> [...] If tick the box above they can delete tracks and
> use the play next function if I un-tick the box they
> can not delete tracks but neither can they use the play
> next function

Okay, you are right. Separating the "Edit queue" option into "Edit queue" and "Unqueue" does not hurt ...

For the upcoming Silverjuke Version (2.52 or newer), the "Functionality" page will look like the following:

unqueue.gif
unqueue.gif (16.29 KiB) Viewed 4093 times


Thank you very much for your ideas and for your endurance.

Best regards,
Your Silverjuke Team
Last edited by Service-Team on 12. Sep 07, 11:53, edited 1 time in total.

locka
Posts: 18
Joined: 4. Jun 07, 21:13
[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: Hiding the delete track option (X) from playlist

Postby locka » 15. Jun 07, 23:59


User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[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: Hiding the delete track option (X) from playlist

Postby Service-Team » 16. Jun 07, 12:15

Last edited by Service-Team on 30. Sep 08, 09:20, edited 2 times in total.

Guest
[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: Hiding the delete track option (X) from playlist

Postby Guest » 16. Jun 07, 12:25

thanks for the post what complier could I use to create and test code please, it looks like c++

User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[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: Hiding the delete track option (X) from playlist

Postby Service-Team » 16. Jun 07, 12:36



[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
[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

Return to “Developer Network”