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: JScript Panel script discussion/help (Read 516281 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: JScript Panel script discussion/help

Reply #2050
A new topic has been added to the forum, JSP3 Script Analog VU Meter, for any posts concerning this project--its continuing development, use, examples, etc. Please use it as of today.

A special thanks to marc2k3 for his past forbearance in the use of his "JScript Panel script discussion/help" topic's thread for posts concerning this project.

Re: JScript Panel script discussion/help

Reply #2051
Using "foo_uie_jsplitter" and "foo_flowin", I am enjoying Artist images (Last.fm) being displayed one after another on "foo_flowin" with "Thumbs (Thumbs off)" overlaid on top of a "Text Display (Text only)" Panel (Automatic, Manual).
Of course, you can also double-click the image to enlarge it as a standard feature.
Is it possible to make this into one Panel using JScript Panel 3 Script?
Thank you.

https://i.imgur.com/slUspT8.mp4
https://i.imgur.com/y8aNQhP.mp4



foo_uie_jsplitter 3.6.1.10
https://foobar2000.ru/forum/viewtopic.php?t=6378

foo_flowin 0.2.2
https://github.com/ttsping/foo_flowin/releases
----------
foobar2000 v2.24 preview 2024-11-14 : 32-bit | 64-bit
Windows 11 24H2
Processor: AMD Ryzen 7 5700X 8-Core Processor 3.40 GHz
RAM: 64.0 GB
GPU: NVIDIA GeForce RTX 4060
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, HIFIMAN ANANDA, Bowers & Wilkins P7, FiiO FT5, FiiO FT1 Pro, 水月雨 (MOONDROP) 空鳴 - VOID, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #2052
Hi :)
I ask here, even though we talked about it here
https://hydrogenaud.io/index.php/topic,126966.new.html

I have the discography of many singers and I would like to click on the entries of the songs that I seem to remember that I like and I would like to hear them directly (then if they are bad I manually delete them from the playlist) but if I disable Enqueue I lose the playlist, if I leave it enabled I don't hear the songs and I have to click on them to start them.
basically I want to click on a song in Win Explorer and I would like this song to be added to the default playlist and played directly. Is possible?

I use the playlist of  JScript Panel with Playlist Organizer

Re: JScript Panel script discussion/help

Reply #2053
i am not vary good at this but have you tried smooth browser from the panel list

Re: JScript Panel script discussion/help

Reply #2054
If I might chip in: basically LauraQ wants to set up shell integration so that if Windows sends a media file to FB2K, it gets added to a playlist (not sent to playlist) and starts playing it.

For whatever reason, she does not want to browse her library within FB2K (and I sort of get that, the library in FB2K has to be pre-configured and you can't just pick any file on the computer ad hoc).
It's your privilege to disagree, but that doesn't make you right and me wrong.

Re: JScript Panel script discussion/help

Reply #2055
@LauraQ

How about changing your perspective? I don't say it's necessary, but if you use foobar2000 and want to play music from Windows Explorer, it's because you're not familiar with the "Media Library" function.

Basically, foobar2000 is great for building a "Media Library" and allowing you to search and create flexible playlists using features such as Album List, Playlist Panels such as ReFacets, and "Library Search".

"Playlist Organizer" is not the best choice for you.
"Playlist Organizer" is good, but you should also become proficient with the basic Album List and ReFacets Library Search.
In other words, master the basic usage.

Then there's the difference in threads.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, HIFIMAN ANANDA, Bowers & Wilkins P7, FiiO FT5, FiiO FT1 Pro, 水月雨 (MOONDROP) 空鳴 - VOID, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #2056
If I might chip in: basically LauraQ wants to set up shell integration so that if Windows sends a media file to FB2K, it gets added to a playlist (not sent to playlist) and starts playing it.

For whatever reason, she does not want to browse her library within FB2K (and I sort of get that, the library in FB2K has to be pre-configured and you can't just pick any file on the computer ad hoc).

thank you, you are very kind to help me make others understand what I am looking for :)

Re: JScript Panel script discussion/help

Reply #2057
@LauraQ

How about changing your perspective? I don't say it's necessary, but if you use foobar2000 and want to play music from Windows Explorer, it's because you're not familiar with the "Media Library" function.

Basically, foobar2000 is great for building a "Media Library" and allowing you to search and create flexible playlists using features such as Album List, Playlist Panels such as ReFacets, and "Library Search".

"Playlist Organizer" is not the best choice for you.
"Playlist Organizer" is good, but you should also become proficient with the basic Album List and ReFacets Library Search.
In other words, master the basic usage.

Then there's the difference in threads.

thank you but I'm not an expert and then I'm "habitual", I usually listen to music by clicking on the files from Win explorer and, sorry if I'm arrogant, I don't think I'm asking for such absurd things if I'm looking for a player that plays them

Re: JScript Panel script discussion/help

Reply #2058
Anyway, it's a different thread
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, HIFIMAN ANANDA, Bowers & Wilkins P7, FiiO FT5, FiiO FT1 Pro, 水月雨 (MOONDROP) 空鳴 - VOID, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)


Re: JScript Panel script discussion/help

Reply #2060
extra buttons
@Jacob91 @Air KEN

Hi Jacob,

Couple of things. Your script is based on an older version version of my script. Therefore you miss out on left doubleclicking on the textpart to open an explorer in the folder of the currently displayed track. You also won't get a Radio stub image displayed on a stream.

Random was already implemented by rightclick on Play/Pause.
Show Console I now added as a rightclick on Preferences.
I added support for an optional Albumlist button. Go to line 57 and set var al_enable to 1 to have it displayed.

I also made sure alignment is centered again. Hereby attached the modified version. (With required stub images which did not change).

Enjoy!

NB. With mouseover on buttons the second line of help shows the assigned rightclick function when implemented.

Thanks,
I added one button for TotalCommander.

Re: JScript Panel script discussion/help

Reply #2061
good afternoon is it possible to make a jsp script to show number of times a track has been played and the date last played

like
no. of plays / last played on
       3              03/12/2024

i hope you understand what I mean and maybe you fancy a challenge if possible

many thanks in advance happy scripting :)

Re: JScript Panel script discussion/help

Reply #2062
You don't need at all jscript for that, it can be done with standard columns and tags. But yes, it can also be done with jscript.
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Components/Playback_Statistics_v3.x_(foo_playcount)

Re: JScript Panel script discussion/help

Reply #2063
thank you roger i tried this but it didn't display as I wanted

Re: JScript Panel script discussion/help

Reply #2064
Just install the component and display it using Text Display (JSP3) or similar.

Playback Statistics (foo_playcount)
https://www.foobar2000.org/components/view/foo_playcount

Titleformat Playback Statistics
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Titleformat_Playback_Statistics

[Play Count: %play_count% x]$crlf()
[First Played: $date(%first_played%)]$crlf()
[Last Played: $date(%last_played%)]

------

Playcount 2003 (foo_playcount_2003)
https://marc2k3.github.io/component/playcount-2003/

%2003_playcount%
%2003_first_played%
%2003_last_played%

%2003_first_played_ts%
%2003_last_played_ts%

%2003_first_played_ago%
%2003_last_played_ago%

%2003_first_played_ago2%
%2003_last_played_ago2%

-----

Text Display (JSP3)
https://jscript-panel.github.io/gallery/text-display/
Custom text...

Flowin

SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, HIFIMAN ANANDA, Bowers & Wilkins P7, FiiO FT5, FiiO FT1 Pro, 水月雨 (MOONDROP) 空鳴 - VOID, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #2065
thank you will give it a try

Re: JScript Panel script discussion/help

Reply #2066
i got foo playcount what else what I see do i just open text display in a new panel

Re: JScript Panel script discussion/help

Reply #2067
Do as you like.
There are helpful instructions so anyone can do it.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, HIFIMAN ANANDA, Bowers & Wilkins P7, FiiO FT5, FiiO FT1 Pro, 水月雨 (MOONDROP) 空鳴 - VOID, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #2068
thank you  ;D

Re: JScript Panel script discussion/help

Reply #2069
Please don't send me PMs to ask for support when that can be asked on the forum. Specially when you are asking me the same than here.

Re: JScript Panel script discussion/help

Reply #2070
sorry I do apologize

Re: JScript Panel script discussion/help

Reply #2071
woo hoo i did it  :)  :) the only thing I don't like is the way the way the date is displayed but this maybe adjusted in my pc settings but a big thank you to all that helped
my text format
$font(Segoe UI,13,700)

Title: %title% $crlf()
Album: %album% $crlf()
Year: %date% $crlf()
Played: %play_count% times$crlf()
First Played: %first_played% $crlf()
Since Last Play: %last_played% $crlf()

Re: JScript Panel script discussion/help

Reply #2072
I always tell you to read carefully.

[First Played: $date(%first_played%)]
[Last Played: $date(%last_played%)]

Reply #2064 https://hydrogenaud.io/index.php/topic,110516.msg1055352.html#msg1055352

Title Formatting Reference - Time and date functions
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Title_Formatting_Reference#Time_and_date_functions
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, HIFIMAN ANANDA, Bowers & Wilkins P7, FiiO FT5, FiiO FT1 Pro, 水月雨 (MOONDROP) 空鳴 - VOID, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel script discussion/help

Reply #2073
thank you

Re: JScript Panel script discussion/help

Reply #2074
trying to format the date
this last Play: %$day_of_month(time)%%$month(timw)%%$year%(time)%$crlf()[/b]
returns this
Last Played: ???

all i would like is Friday 07 December 2024  11.22

the format i used here
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Title_Formatting_Reference
using text format in jsp script
any help would be appropriate