Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ? (Read 1125 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Hi
i love Tedgo 's DarkOne4Mod or even the new DarkOne4Mod v2.0 2019 beta 3 theme

in the last mod DarkOne4Mod v2.0 2019 , it's pretty easy to add new buttons
I have watched many video but i can't find a solution

1)
I would like to add 1 button to enable / disable replaygain
2)
a second button to switch between track and album replaygain

might yo please help how to do it?
thanks

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #1
Give us a clue as to how easy adding buttons is? I'm not wasting time trying to find the theme, install it and figure it out myself. If you give examples of buttons you've already added, that *might* enable me to help you.

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #2
Give us a clue as to how easy adding buttons is? I'm not wasting time trying to find the theme, install it and figure it out myself. If you give examples of buttons you've already added, that *might* enable me to help you.
hi
i'm sorry but the skin is based on JScript panel , i guess i should know this language to assign to the button some functions
thanks

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #3
I know the buttons are JScript Panel. That's why I asked.

I happen to know a little bit about that but I'm not prepared to go find and the theme and pick it apart. If you simply answered the question about how "pretty easy" it was for you to add buttons, I might have helped.  :/

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #4
I know the buttons are JScript Panel. That's why I asked.

I happen to know a little bit about that but I'm not prepared to go find and the theme and pick it apart. If you simply answered the question about how "pretty easy" it was for you to add buttons, I might have helped.  :/
Hi Marc
may i know what could I write to have some help?
i don't speak english verywell
i have tried to create some buttons but i don't know how call some function via JScript Panel.
thanks

 

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #5
What do you mean with loved/unloved?
I support different forms for Rating/Playcount which are also more or less standard in vanilla DarkOne if I remember correctly.
Don't really use it myself though.

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #6
Hi
i love Tedgo 's DarkOne4Mod or even the new DarkOne4Mod v2.0 2019 beta 3 theme

in the last mod DarkOne4Mod v2.0 2019 , it's pretty easy to add new buttons
I have watched many video but i can't find a solution

1)
I would like to add 1 button to enable / disable replaygain
2)
a second button to switch between track and album replaygain

might yo please help how to do it?
thanks

Thanks to Marc I was able to add an extra audiocontrol that handles Replaygain.

It's an imagebutton that re[resents the state of Replaygain by the color of the button (supports hover).
If you click it a dropdown menu appears where you can select what mode of Replaygain you want and subsequently the color of the button  will change accordingly.

Status Disable=Red, Track=Blue, Album=Green, by playbackorder=Yellow.
Right clicking the button sets Track mode.

I'll send you a private message how to proceed.

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #7

Thanks to Marc I was able to add an extra audiocontrol that handles Replaygain.

It's an imagebutton that re[resents the state of Replaygain by the color of the button (supports hover).
If you click it a dropdown menu appears where you can select what mode of Replaygain you want and subsequently the color of the button  will change accordingly.

Status Disable=Red, Track=Blue, Album=Green, by playbackorder=Yellow.
Right clicking the button sets Track mode.

I'll send you a private message how to proceed.

Hi,
Can I have the JS code for thoses buttons ? I'd like to use ReplayGain with buttons.
Afterwards, it will be a matter of placing the buttons correctly in the appropriate tab. (foobar2000 with DUI)
I'll try to do my best.

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #8

Thanks to Marc I was able to add an extra audiocontrol that handles Replaygain.

It's an imagebutton that re[resents the state of Replaygain by the color of the button (supports hover).
If you click it a dropdown menu appears where you can select what mode of Replaygain you want and subsequently the color of the button  will change accordingly.

Status Disable=Red, Track=Blue, Album=Green, by playbackorder=Yellow.
Right clicking the button sets Track mode.

I'll send you a private message how to proceed.

Hi,
Can I have the JS code for thoses buttons ? I'd like to use ReplayGain with buttons.
Afterwards, it will be a matter of placing the buttons correctly in the appropriate tab. (foobar2000 with DUI)
I'll try to do my best.


Yeah, sure. I'll compose a readme and will create a package.

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #9
Hi,
Can I have the JS code for thoses buttons ? I'd like to use ReplayGain with buttons.
Afterwards, it will be a matter of placing the buttons correctly in the appropriate tab. (foobar2000 with DUI)
I'll try to do my best.


I posted the stuff with a readme

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #10
Hi,
Can I have the JS code for thoses buttons ? I'd like to use ReplayGain with buttons.
Afterwards, it will be a matter of placing the buttons correctly in the appropriate tab. (foobar2000 with DUI)
I'll try to do my best.


I posted the stuff with a readme
hi Denfender
may i know where can i get it or download it?
thanks

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #11
Hi,
Can I have the JS code for thoses buttons ? I'd like to use ReplayGain with buttons.
Afterwards, it will be a matter of placing the buttons correctly in the appropriate tab. (foobar2000 with DUI)
I'll try to do my best.


I posted the stuff with a readme
hi Denfender
may i know where can i get it or download it?
thanks

here?

https://hydrogenaud.io/index.php/topic,125548.msg1040199/topicseen.html#new

Re: DarkOne4Mod how to add 2 buttons for replaygain on/off and album or track ?

Reply #12
Hi,
Can I have the JS code for thoses buttons ? I'd like to use ReplayGain with buttons.
Afterwards, it will be a matter of placing the buttons correctly in the appropriate tab. (foobar2000 with DUI)
I'll try to do my best.


I posted the stuff with a readme
hi Denfender
may i know where can i get it or download it?
thanks

here?

https://hydrogenaud.io/index.php/topic,125548.msg1040199/topicseen.html#new
Thanks a lot. 👍👍