Old 21st December 2018, 16:28   #1
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 495
Vortex progbutton.m

(Continued from Why does this crash Winamp?)

The programmable buttons in the left drawer of Vortex used to work fine when Vortex was released for Winamp 5.2 but are broken in recent versions of Winamp.

You can still bookmark the currently played song by right-clicking on a button and selecting the option but then you cannot play it by left-clicking on the button.

However, the same feature works well in KameleonDUI.

I looked inside studio.xnf to see the difference between how Vortex and KameleonDUI save the currently played song and I found that Vortex starts the path with
code:
PATH|file://C:\

while KameleonDUI starts it with
code:
PATH|C:\

After adding file:// between PATH| and C:\ the bookmarked song could be played by left-clicking on the programmed button.

My question is how shall I modify progbutton.m to make it save the path of the currently played song with file:// between PATH| and C:\ ?

Plague has a script that has something to do with the file:// part but I cannot figure out how it could help with this issue.

Latest and greatest modern skins: Big Bento Modern v1.13 & Quinto Black CT v3.1
ariszlo is offline   Reply With Quote
Old 21st December 2018, 16:44   #2
PeterK.
Quinto Black CT Developer
 
Join Date: Sep 2016
Posts: 589
Quote:
Originally Posted by ariszlo View Post
...
Do both skins use exactly the same command? Please copy and paste the lines from both scripts.
PeterK. is offline   Reply With Quote
Old 21st December 2018, 17:08   #3
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 495
Quote:
Originally Posted by PeterK. View Post
Do both skins use exactly the same command? Please copy and paste the lines from both scripts.
KameleonDUI does not provide the source of progbutton.maki.

Latest and greatest modern skins: Big Bento Modern v1.13 & Quinto Black CT v3.1
ariszlo is offline   Reply With Quote
Old 21st December 2018, 17:24   #4
PeterK.
Quinto Black CT Developer
 
Join Date: Sep 2016
Posts: 589
Quote:
Originally Posted by ariszlo View Post
KameleonDUI does not provide the source of progbutton.maki.
Really?



Quote:
Originally Posted by ariszlo View Post
...Right-clicking on a programmable button and left-clicking on "type path/url" does nothing in Vortex....
It seems there are a lot of things that do nothing in Vortex. Like those Open buttons in Skin Preferences.

Attached Thumbnails
Click image for larger version

Name:	kameleon.png
Views:	420
Size:	11.4 KB
ID:	54266  
PeterK. is offline   Reply With Quote
Old 21st December 2018, 17:53   #5
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 495
Quote:
Originally Posted by PeterK. View Post
Really?
Oh, yes, it does. I was looking inside the wrong .wal file.

Latest and greatest modern skins: Big Bento Modern v1.13 & Quinto Black CT v3.1
ariszlo is offline   Reply With Quote
Old 21st December 2018, 17:05   #6
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 495
It was enough to ask the question to find the answer. All I had to do was replace "PATH|" with "PATH|file://" in two lines of progbutton.m.

Now another question. Right-clicking on a programmable button and left-clicking on "type path/url" does nothing in Vortex. In KameleonDUI, it pops up a dialog.

What does Vortex do wrong? How shall I modify progbutton.m?
Attached Thumbnails
Click image for larger version

Name:	KameleonDUI-dialog.png
Views:	165
Size:	22.9 KB
ID:	54264  

Latest and greatest modern skins: Big Bento Modern v1.13 & Quinto Black CT v3.1
ariszlo is offline   Reply With Quote
Old 21st December 2018, 17:56   #7
PeterK.
Quinto Black CT Developer
 
Join Date: Sep 2016
Posts: 589
Quote:
Originally Posted by ariszlo View Post
... How shall I modify progbutton.m?
Are you looking for this?

Attached Thumbnails
Click image for larger version

Name:	popup container.png
Views:	402
Size:	34.5 KB
ID:	54267  
PeterK. is offline   Reply With Quote
Old 21st December 2018, 18:24   #8
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 495
Yes. How did you fix it?

Latest and greatest modern skins: Big Bento Modern v1.13 & Quinto Black CT v3.1
ariszlo is offline   Reply With Quote
Old 21st December 2018, 18:27   #9
PeterK.
Quinto Black CT Developer
 
Join Date: Sep 2016
Posts: 589
Quote:
Originally Posted by ariszlo View Post
Yes. How did you fix it?
Add <include file="xml/popup-container.xml"/> to skin.xml.
PeterK. is offline   Reply With Quote
Old 21st December 2018, 18:59   #10
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 495
Thanks a lot!

Two more remaining issues:
  1. Replacing "PATH|" with "PATH|file://" fixes bookmarking but it is a bit ugly (although it seems to work) that urls are stored in studio.xnf as "PATH|file://http://..."
  2. Albumart is not shown if I play a song by left-clicking on a programmed button.

Latest and greatest modern skins: Big Bento Modern v1.13 & Quinto Black CT v3.1
ariszlo is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump