Connexion rapide:  

Forum: General Discussion

Sujet Jukebox Remove Selected Song

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

Hey guys just wondering Im using the code

<button panel="br" action="browser_window 'playlist' ? deck 1 load & deck 1 play : browser_window 'playlist' & deck 1 load & deck 1 play">

And was wondering if theres any code to delete a specific type of song in the playlist when its selected, if there is could you please send it through thanks
 

Posté Mon 13 Jul 20 @ 3:35 am
NicotuxHome userMember since 2014
in fact there is not but i use a workaround using extra deck (thanks to DjDad)

action="deck 2 playlist_load_and_remove &amp; unload &amp; deck 1 select"

note: instead of test for browser window you can go to already selected one with no issue
<button panel="br" action="browser_window 'playlist' &amp; deck 2 playlist_load_and_remove &amp; unload &amp; deck 1 select">
 

Posté Mon 13 Jul 20 @ 4:12 am
Sorry, The one you sent through only deletes the top song

<button panel="br" action="browser_window 'playlist' &amp; deck 2 playlist_load_and_remove &amp; unload &amp; deck 1 select">

I am looking to delete a selected song with a button if that is possible as I want to have certain songs deleted thank you
 

Posté Mon 13 Jul 20 @ 5:10 am
NicotuxHome userMember since 2014
didn't immediately remember a new function was implemented for that ^^

browser_window 'playlist' & browser_remove
 

Posté Mon 13 Jul 20 @ 7:26 am
Thanks for that Nico, I got it working now using this code below

<button panel="br" action="browser_window 'playlist' & browser_remove 'playlist' &amp; unload &amp; deck 1 select">

I will let you know if i get any issues
 

Posté Mon 13 Jul 20 @ 11:35 pm
---------------------------------------------

Just encountered 2 errors with these codes if you could please help me with the correct code to delete the specific song it would be great, so far this is what the issue is.

<button panel="br" action="browser_window 'playlist' & browser_remove 'playlist' &amp; unload &amp; deck 1 select">

When no song is loaded it would delete the selected song
When Song is loaded on the deck it would only ask to stop playing on the deck and will not delete the song but instead skip the loaded song

----------------------------------------------
NEXT BUTTON :

<button panel="br" action="browser_window 'playlist' & browser_remove &amp; deck 2 playlist_remove &amp; unload &amp; deck 1 select">

This Button will delete the Selected song and also the beginning song,
If you could help me out it would be appreciated thank you

---------------------------------------------

All i want is a working button that would delete the selected song that is playing or paused, looks like im on the right track just need the extra help now,
 

Posté Tue 14 Jul 20 @ 1:25 am
After a bit of messing around seems like i think I've got it working again

<button panel="br" action="browser_window 'playlist' & browser_remove &amp; deck 1 select">

I've changed the code again and removed unload
From Deck 1

and seems to be working fine
 

Posté Tue 14 Jul 20 @ 2:12 am
NicotuxHome userMember since 2014
no need to use a second deck for action without deck
so that "&amp; deck 1 select " can remove too


 

Posté Tue 14 Jul 20 @ 2:15 am


(Les anciens sujets et forums sont automatiquement fermés)