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: PanelsUI Coding Questions (Read 6892 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

PanelsUI Coding Questions

It has been suggested to me that I combine all my questions within one thread, so here goes my attempt to combine any present and future coding questions into this thread relating to coding PanelsUI.

For my first question:

Is there a way to display the name of the currently active Playlist?  I have learned how to display the %Artist%, %Title%, %Date%, %Album%, etc...    Is there syntax to display the name of a Playlist?

Thanks for any help forthcoming!


PanelsUI Coding Questions

Reply #2
Thank you, SS!

PanelsUI Coding Questions

Reply #3
I have run across something I could use some help with, if anyone knows the answer. 

I want to display some artist art while a song is playing, or paused.  When the song is stopped, I want a second piece of art to display.  Over the both of them, I want an overlay to be displayed.

The code below works for me well on all counts, playing, paused, and stopped.

My problem is that when the song is playing, and I just click once on a different song within the same album ( so that it will be the next song in line to be played), in the same playlist, my artist art stops being displayed, even tho that same song is still playing, and the NoArt.jpg is displayed.

Anyone have an idea about what I'm doing wrong here?

Code: [Select]
///////////ART DISPLAY//////////////////

$if(%isplaying%,
    $imageabs2(265,235,0,0,,,284,255,$get(artistPath),nokeepaspect)
,
$imageabs2(265,245,0,0,,,284,245,/images\NoArt.jpg,nokeepaspect)
)

$drawrect(277,511,281,5,brushcolor-0-0-0 pencolor-NULL blur-5)
$imageabs2(281,281,0,0,,,279,230,/images\overlay.png,nokeepaspect)
////////////////////////////////////////////

PanelsUI Coding Questions

Reply #4
I updated to the latest version of panels_ui, but i can't find the option for removing the title bar anymore. It must be still there right?
Inter Deum et Diabolum semper Musica est", Tanzwut

PanelsUI Coding Questions

Reply #5
It's now a command executed in the configuration.
The command is $windowstyle(hidetitlebar)
and it goes in the // Background section of code.
elevatorladylevitateme

PanelsUI Coding Questions

Reply #6
I have run across something I could use some help with, if anyone knows the answer. 

I want to display some artist art while a song is playing, or paused.  When the song is stopped, I want a second piece of art to display.  Over the both of them, I want an overlay to be displayed.

The code below works for me well on all counts, playing, paused, and stopped.

My problem is that when the song is playing, and I just click once on a different song within the same album ( so that it will be the next song in line to be played), in the same playlist, my artist art stops being displayed, even tho that same song is still playing, and the NoArt.jpg is displayed.

Anyone have an idea about what I'm doing wrong here?


OK, after looking at everything in my codes for both PanelsUI and the SCPL codiing I had made, I finally stumbled, and I do mean stumbled on what the issue was.  Something so basic that I almost was not going to post the solution to it, except that I am doing so in the hopes that maybe in the future it will save someone else the time and trouble that I had finding out the problem.

It was just a simple context menu selection that was causing the issue all along!  The fix was to  right-click, choose Mode, then switch from Follow Cursor to Now Playing. 

To be honest, I did not even know that was there, or what it was for!  Let me tell ya, I do now!!!!!!!!!

Hope this helps someone in the future!

PanelsUI Coding Questions

Reply #7
I have a question about the command:
FILTER:name|value:name2|value2: 

What does sthis exactly do. I read the wiki but it is not clear for me

PanelsUI Coding Questions

Reply #8
It's now a command executed in the configuration.
The command is $windowstyle(hidetitlebar)
and it goes in the // Background section of code.
Ah thx
Inter Deum et Diabolum semper Musica est", Tanzwut

PanelsUI Coding Questions

Reply #9
I was thinking about the library viewer, but it doesn't really work for me. I use the standard viewer for fast searching for what i need. I have set it on directory structure and then i just start typing the thing i want. Is this also possible in the library viewer?
So directory structure instead of album/band/year etc.
And when you start typing it searches what you type (like in windows explorer)
Inter Deum et Diabolum semper Musica est", Tanzwut

PanelsUI Coding Questions

Reply #10
I was thinking about the library viewer, but it doesn't really work for me. I use the standard viewer for fast searching for what i need. I have set it on directory structure and then i just start typing the thing i want. Is this also possible in the library viewer?
So directory structure instead of album/band/year etc.
And when you start typing it searches what you type (like in windows explorer)

Why don't you try foo_dbsearch ?  I think you'll really like it, it's FAST, it's EASY, and it will do what you want, I believe.....

 
SimplePortal 1.0.0 RC1 © 2008-2021