|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#5941 |
|
Senior Member
Iscritto dal: May 2005
Città: Trieste
Messaggi: 3440
|
Lavoro diciamo finito finalmente! Ecco gli screenshot promessi:
![]() ![]() ![]() Ora mi sono accorto che ho lasciato da correggere la stringa custom in Options>Media Library>Album List>Views '['%length%']' - [%album artist% - ]['['%date%']' ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title% Come vedi dagli screenshot le tracce lunghe 1.00.00 (HH.MM.SS) sono posizionate dopo quelle da 1.00 (MM.SS). Essendo però più lunghe, quale è lo script corretto da usare per visualizzarle ordinate correttamente, cioè per ultime?
__________________
CASE: Antec Solo II | MOBO: Asus Sabertooth Z87 | CPU: Intel i7 4790K | COOLER: Noctua NH-D15 | RAM: G Skill 16Gb | GPU: nVidia GTX-1070 G1 | ROUTER: AVM7530 PSU: Seasonic P520 | AUDIO: Asus STX II | STORAGE: HDD ST2000DM001 + SSD 850 PRO 512Gb + DVDRAM LG GH24NS50 | LCD: Sony SDM-X72 | TV: Sony 32W4000 AMP: Marantz PM-KI Pearl | SPKR: Vienna Mozart Grand | DAC: PS Audio Nuwave | CABLE: WW Electra Platinum - Tasker C276 & RG59 BU - Chord Clearway Analogue
Ultima modifica di plata : 19-09-2023 alle 22:07. |
|
|
|
|
|
#5942 | |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
Quote:
![]() so even better (play radio streming + spin-disc + led vu-meter in action): ![]() This change also benefits the loading of images into libraries. Ultima modifica di ApacheReal : 20-09-2023 alle 18:30. |
|
|
|
|
|
|
#5943 |
|
Senior Member
Iscritto dal: May 2005
Città: Trieste
Messaggi: 3440
|
In Options>Media Library>Album List>Views, quale creare devo usare per ordinare i CD dagli ultimi aggiunti in cima ed i più vecchi sotto (esclusi i video). La stringa è simile a quella per il sorting query pattern per ordinare le voci nella playlist (che non funziona per l'album view):
$sub(99999999,$replace(%file_created%,-,)) - $swapprefix(%album artist%) - $sub(3000,%date%) - %album% - %discnumber% - %tracknumber% - %title%
__________________
CASE: Antec Solo II | MOBO: Asus Sabertooth Z87 | CPU: Intel i7 4790K | COOLER: Noctua NH-D15 | RAM: G Skill 16Gb | GPU: nVidia GTX-1070 G1 | ROUTER: AVM7530 PSU: Seasonic P520 | AUDIO: Asus STX II | STORAGE: HDD ST2000DM001 + SSD 850 PRO 512Gb + DVDRAM LG GH24NS50 | LCD: Sony SDM-X72 | TV: Sony 32W4000 AMP: Marantz PM-KI Pearl | SPKR: Vienna Mozart Grand | DAC: PS Audio Nuwave | CABLE: WW Electra Platinum - Tasker C276 & RG59 BU - Chord Clearway Analogue
|
|
|
|
|
|
#5944 |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
New Multiple Panel 1 (for local files) Add Album Art - Properties & Other Info Full - Text-Reader Full
![]() New Multiple Panel2 (for streaming radios) Add Album Art - Properties & Other Info Full - Text-Reader Full ![]() New Multiple Panel 3 -Only Graphic Effects ![]() New Right Panel (control commad) Add Album Art - Properties & Other Info Full - Text-Reader Full ![]() Properties & Other Info Full - Properties & Other Info + Thumbs.png Text Reader Full - Text Reader + Thumbs.png |
|
|
|
|
|
#5945 |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
Mi sono accorto, che dalla conversione da JSscript a Spider Monkey Panel i bottoni del Right Panel DRMETER / DISCOGS / PROPERT. / COPY TO / FOLDER / CONVERT / DELETE, subiscono una variazione nella istruzione di richiamo.
Nota importante, probabilmente nella conversione da JS Script a Spider Monkey Panel una istruzione che in JS Script non c'era va aggiunta / modificata). Questo vale per chi ha l'ultima mod rilasciata con la conversione dei pannelli da JS Script a Spider Monkey Panel. Chi ha la mod precedente, deve solo verificare se i bottoni funzionano, senza fare modifiche. Per il corretto funzionamento in edit buttons cambiare: DISCOGS fb.RunContextCommandWithMetadb("Tagging/Discogger/Write Tags...", plman.GetPlaylistSelectedItems(plman.ActivePlaylist)) DRMETER fb.RunContextCommandWithMetadb("Dynamic Range Meter", plman.GetPlaylistSelectedItems(plman.ActivePlaylist)) PROPERT. fb.RunContextCommandWithMetadb("Properties", plman.GetPlaylistSelectedItems(plman.ActivePlaylist)) COPY TO fb.RunContextCommandWithMetadb("File Operations/Copy to/...", plman.GetPlaylistSelectedItems(plman.ActivePlaylist)) (nota, va creata una cartella di Default prima) FOLDER fb.RunContextCommandWithMetadb("Open containing folder", plman.GetPlaylistSelectedItems(plman.ActivePlaylist)) CONVERT fb.RunContextCommandWithMetadb("Convert/...", plman.GetPlaylistSelectedItems(plman.ActivePlaylist)) DELETE fb.RunContextCommandWithMetadb("File Operations/Delete file", plman.GetPlaylistSelectedItems(plman.ActivePlaylist)) (nota, questo comando andrebbe rivisto, inquanto cancella solamente una traccia alla volta e non è attivo se si selezionano più tracce da cancellare in una sola volta). Ultima modifica di ApacheReal : 27-09-2023 alle 23:45. |
|
|
|
|
|
#5946 |
|
Member
Iscritto dal: Sep 2023
Messaggi: 30
|
fb.RunContextCommandWithMetadb("File Operations/Delete file" + (plman.GetPlaylistSelectedItems(plman.ActivePlaylist).Count > 1 ? "s" : ""), plman.GetPlaylistSelectedItems(plman.ActivePlaylist))
|
|
|
|
|
|
#5947 |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
|
|
|
|
|
|
#5948 |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
Utilizzo del Text Reader (Full) con DRMETER:
![]() Anche se, vedo che nelle compilation, ordina i dati in modo alfabetico per artista e non segue l'ordine crescente numerico dei brani. Edit: Infatti con le playlist / album del singolo autore, l'ordinamento è ascedente per traccia, o meglio se l'artista è singolo (prima coindizione), segue l'ordine numerico per traccia (seconda condizione).
Ultima modifica di ApacheReal : 29-09-2023 alle 08:07. |
|
|
|
|
|
#5949 |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
Text Display + Album Art Blur
![]() ![]() Edit mi va in errore al riavvio.... Risolto basta solo mettere il file .txt nella directory user-components\foo_jscript_panel3\samples\. Allego file. Ultima modifica di ApacheReal : 01-10-2023 alle 18:23. |
|
|
|
|
|
#5950 |
|
Senior Member
Iscritto dal: May 2005
Città: Trieste
Messaggi: 3440
|
Uso %totaltracks% in foo_osd, ma non tutti i CD sono taggati con questo field, quindi va inserito manualmente usando foobar o Mp3tag. Il problema è che il campo TOTALTRACKS non è lo stesso su Mp3tag e foobar. Mi spiego meglio: ad esempio per un CD da 12 tracce, se uso il valore 12 per TOTALTRACKS su Mp3tag, tutto ok, ma il valore va aggiunto manualmente. Se invece, aggiungo il valore 12 a TOTALTRACKS su foobar, il campo sembra venga salvato assieme al tag %tracks%, infatti Mp3tag non visualizza le tracce come 1,2,3,4... ma 1/12,2/12,3/12/4/12, etc - bruttissimo da vedere.
La soluzione è taggare manualmente tutto con Mp3tag, per evitare di unire il campo TOTALTRACKS con quello TRACKS, ma ho notato che quasi l'intera mia libreria CD contiene già il campo TOTALTRACKS o simile, ma questo non compare nella colonna TOTALTRACKS in Mp3tag, eppure viene rilevato da foobar. Come potrei risolvere?
__________________
CASE: Antec Solo II | MOBO: Asus Sabertooth Z87 | CPU: Intel i7 4790K | COOLER: Noctua NH-D15 | RAM: G Skill 16Gb | GPU: nVidia GTX-1070 G1 | ROUTER: AVM7530 PSU: Seasonic P520 | AUDIO: Asus STX II | STORAGE: HDD ST2000DM001 + SSD 850 PRO 512Gb + DVDRAM LG GH24NS50 | LCD: Sony SDM-X72 | TV: Sony 32W4000 AMP: Marantz PM-KI Pearl | SPKR: Vienna Mozart Grand | DAC: PS Audio Nuwave | CABLE: WW Electra Platinum - Tasker C276 & RG59 BU - Chord Clearway Analogue
Ultima modifica di plata : 02-10-2023 alle 15:33. |
|
|
|
|
|
#5951 |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
Mp3tag v3.22a
2023-09-19 Updated to libwebp 1.3.2 I’ve updated the external library libwebp used by Mp3tag to version 1.3.2, which includes a security fix for lossless decoder (CVE-2023-4863). AGGIORNARE IMMEDIATAMENTE |
|
|
|
|
|
#5952 |
|
Senior Member
Iscritto dal: May 2005
Città: Trieste
Messaggi: 3440
|
Maybe if is better to speak english, let me know
I did some improvements and corrections to the layout adding the dynamic range that I find really useful, play/pause icon, most recent tracks sorting in album list and other stuff. ![]() That said, there still a thing I cant find a solution to yet: I wanna put a total album length field in the classic UI layout or on foo:osd. HERE is a discussion and about that. Of course I tried Sim Playlist component, but I dont want to install garbage or pointless components. Im also 100% sure it's possible to achive that information as foobar uses it natively (right click on the left side of the status bar and tick "show total duration of selected tracks" or the playlist manager's / Refacet's header). Do you have a solution for that? Spasibo
__________________
CASE: Antec Solo II | MOBO: Asus Sabertooth Z87 | CPU: Intel i7 4790K | COOLER: Noctua NH-D15 | RAM: G Skill 16Gb | GPU: nVidia GTX-1070 G1 | ROUTER: AVM7530 PSU: Seasonic P520 | AUDIO: Asus STX II | STORAGE: HDD ST2000DM001 + SSD 850 PRO 512Gb + DVDRAM LG GH24NS50 | LCD: Sony SDM-X72 | TV: Sony 32W4000 AMP: Marantz PM-KI Pearl | SPKR: Vienna Mozart Grand | DAC: PS Audio Nuwave | CABLE: WW Electra Platinum - Tasker C276 & RG59 BU - Chord Clearway Analogue
Ultima modifica di plata : 04-10-2023 alle 22:02. |
|
|
|
|
|
#5953 |
|
Senior Member
Iscritto dal: May 2005
Città: Trieste
Messaggi: 3440
|
EDIT: risolto il problema dei tag %album artist% sdoppiati, il quale smanettando troppo su Mp3tag avevo innavertitamente attivato l'opzione "Read: APE" in Options>Tag>Mpeg.
Gran parte della libreria che importo con EAC tramite ripping include il campo %totaltracks%, ma questo non si visualizza in Mp3tag, altri invece li visualizza. Foobar invece li visualizza tutti. Scrivendo sui file il campo %tracknumber% tramite foobar, Mp3tag lo legge come campo %tracknumber% separato da "/" (ad esempio 1/12, 2/12, 3/12 ecc), c'è un modo per vorrei evitare ciò?
__________________
CASE: Antec Solo II | MOBO: Asus Sabertooth Z87 | CPU: Intel i7 4790K | COOLER: Noctua NH-D15 | RAM: G Skill 16Gb | GPU: nVidia GTX-1070 G1 | ROUTER: AVM7530 PSU: Seasonic P520 | AUDIO: Asus STX II | STORAGE: HDD ST2000DM001 + SSD 850 PRO 512Gb + DVDRAM LG GH24NS50 | LCD: Sony SDM-X72 | TV: Sony 32W4000 AMP: Marantz PM-KI Pearl | SPKR: Vienna Mozart Grand | DAC: PS Audio Nuwave | CABLE: WW Electra Platinum - Tasker C276 & RG59 BU - Chord Clearway Analogue
Ultima modifica di plata : 06-10-2023 alle 16:20. |
|
|
|
|
|
#5954 |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
@kutuzof @Majestyck
Ho trovato un problema su comando next (traccia) nel pannello di destra. Succede questo, premendo next, ma anche al cambio traccia automatico di una playlist, se nel panello di destra sono posizionato al 5 bottone, avviene il cambio automatico anche sul pannello di sinistra sempre al 5 bottone. Ti trovi sul bottone 4 sul pannello di destra e sul bottone 2 sul pannello di sinistra ed aspetti il normale cambio traccia sequenziale del prossimo brano, ebbene sul panello di destra rimani posizionato sul bottone 4, ma il panello di sinistra non rimane sul bottone 2, ma cambia in automatico sul bottone 4 etc.... Ora non ho capito se il problema sta nella function(){fb.Next()}, nel rigo 10 del pannello di destra. Spero di essere stato chiaro. Nel video si capisce meglio: https://www.youtube.com/watch?v=BsvvhhV0-kE Edit: non è il right panel, perchè caricando il sample Playback Buttons, il problema si ripresenta: https://postimg.cc/F1wLCvQV A questo punto il problema sta negli script dei bottoni: sub panel 1 di destra è uguale al sub panel 1 di sinistra: // ----- GLOBAL-FONT ----- $font(%do.font.name%,%do.font.size%,) $font(Impact,12,) // ----- BACKGROUND ----- //$fillrect(0,0,%ps_width%,%ps_height%,%do.colour%) // ----- PANEL PLACEMENT ----- $puts(txt.h,$gettextheight()) $puts(h.off,$add($get(txt.h),$div(%ps_height%,50))) $puts(panel.h,$sub(%ps_height%,$get(h.off))) $movepanel(0,0,0,%ps_width%,$get(panel.h)) $movepanel(1,0,0,%ps_width%,$get(panel.h)) $movepanel(2,0,0,%ps_width%,$get(panel.h)) $movepanel(3,0,0,%ps_width%,$get(panel.h)) $movepanel(4,0,0,%ps_width%,$get(panel.h)) $movepanel(5,0,0,%ps_width%,$get(panel.h)) $movepanel(6,0,0,%ps_width%,$get(panel.h)) $movepanel(7,0,0,%ps_width%,$get(panel.h)) $movepanel(8,0,0,%ps_width%,$get(panel.h)) $movepanel(9,0,0,%ps_width%,$get(panel.h)) $movepanel(10,0,0,%ps_width%,$get(panel.h)) $movepanel(11,0,0,%ps_width%,$get(panel.h)) $movepanel(12,0,0,%ps_width%,$get(panel.h)) // ----- SHOWPANEL ----- $showpanel(0,$ifequal(%do.panel.switch%,1,1,0)) $showpanel(1,$ifequal(%do.panel.switch%,2,1,0)) $showpanel(2,$ifequal(%do.panel.switch%,3,1,0)) $showpanel(3,$ifequal(%do.panel.switch%,4,1,0)) $showpanel(4,$ifequal(%do.panel.switch%,5,1,0)) $showpanel(5,$ifequal(%do.panel.switch%,6,1,0)) $showpanel(6,$ifequal(%do.panel.switch%,7,1,0)) $showpanel(7,$ifequal(%do.panel.switch%,8,1,0)) $showpanel(8,$ifequal(%do.panel.switch%,9,1,0)) $showpanel(9,$ifequal(%do.panel.switch%,10,1,0)) $showpanel(10,$ifequal(%do.panel.switch%,11,1,0)) $showpanel(11,$ifequal(%do.panel.switch%,12,1,0)) $showpanel(12,$ifequal(%do.panel.switch%,13,1,0)) // ----- BUTTON-VARIABLES ----- $puts(btn.y,$sub(%ps_height%,$get(txt.h))) $puts(txt1,$ifgreater($len($getcaption(0)),0,$getcaption(0),RES)) $puts(txt2,$ifgreater($len($getcaption(1)),0,$getcaption(1),RES)) $puts(txt3,$ifgreater($len($getcaption(2)),0,$getcaption(2),RES)) $puts(txt4,$ifgreater($len($getcaption(3)),0,$getcaption(3),RES)) $puts(txt5,$ifgreater($len($getcaption(4)),0,$getcaption(4),RES)) $puts(txt6,$ifgreater($len($getcaption(5)),0,$getcaption(5),RES)) $puts(txt7,$ifgreater($len($getcaption(6)),0,$getcaption(6),RES)) $puts(txt8,$ifgreater($len($getcaption(7)),0,$getcaption(7),RES)) $puts(txt9,$ifgreater($len($getcaption(8)),0,$getcaption(8),RES)) $puts(txt10,$ifgreater($len($getcaption(9)),0,$getcaption(9),RES)) $puts(txt11,$ifgreater($len($getcaption(10)),0,$getcaption(10),RES)) $puts(txt12,$ifgreater($len($getcaption(11)),0,$getcaption(11),RES)) $puts(txt13,$ifgreater($len($getcaption(12)),0,$getcaption(12),RES)) $puts(w1,$gettextwidth($get(txt1))) $puts(w2,$gettextwidth($get(txt2))) $puts(w3,$gettextwidth($get(txt3))) $puts(w4,$gettextwidth($get(txt4))) $puts(w5,$gettextwidth($get(txt5))) $puts(w6,$gettextwidth($get(txt6))) $puts(w7,$gettextwidth($get(txt7))) $puts(w8,$gettextwidth($get(txt8))) $puts(w9,$gettextwidth($get(txt9))) $puts(w10,$gettextwidth($get(txt10))) $puts(w11,$gettextwidth($get(txt11))) $puts(w12,$gettextwidth($get(txt12))) $puts(w13,$gettextwidth($get(txt13))) // ----- BUTTONS ----- $textbutton(0,0,0,0,,,,,) $textbutton($sub($div(%ps_width%,1,26),$div($get(w1),2)),$get(btn.y),$get(w1),$get(txt.h),$get(txt1),$get(txt1),SETGLOBAL:do.panel.switch:1;REFRESH,fontcolor:$ifequal(%do.panel.switch%,1,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,1,255-0-0,%do.btn.hcol%)) $textbutton($sub($muldiv(%ps_width%,3,26),$div($get(w2),3)),$get(btn.y),$get(w2),$get(txt.h),$get(txt2),$get(txt2),SETGLOBAL:do.panel.switch:2;REFRESH,fontcolor:$ifequal(%do.panel.switch%,2,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,2,255-0-0,%do.btn.hcol%)) $textbutton($sub($muldiv(%ps_width%,5,26),$div($get(w3),3)),$get(btn.y),$get(w3),$get(txt.h),$get(txt3),$get(txt3),SETGLOBAL:do.panel.switch:3;REFRESH,fontcolor:$ifequal(%do.panel.switch%,3,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,3,255-0-0,%do.btn.hcol%)) $textbutton($sub($muldiv(%ps_width%,9,26),$div($get(w4),3)),$get(btn.y),$get(w4),$get(txt.h),$get(txt4),$get(txt4),SETGLOBAL:do.panel.switch:4;REFRESH,fontcolor:$ifequal(%do.panel.switch%,4,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,4,255-0-0,%do.btn.hcol%)) $textbutton($sub($muldiv(%ps_width%,11,26),$div($get(w5),3)),$get(btn.y),$get(w5),$get(txt.h),$get(txt5),$get(txt5),SETGLOBAL:do.panel.switch:5;REFRESH,fontcolor:$ifequal(%do.panel.switch%,5,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,5,255-0-0,%do.btn.hcol%)) $textbutton($sub($muldiv(%ps_width%,13,26),$div($get(w6),3)),$get(btn.y),$get(w6),$get(txt.h),$get(txt6),$get(txt6),SETGLOBAL:do.panel.switch:6;REFRESH,fontcolor:$ifequal(%do.panel.switch%,6,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,6,255-0-0,%do.btn.hcol%)) $textbutton($sub($muldiv(%ps_width%,15,26),$div($get(w7),3)),$get(btn.y),$get(w7),$get(txt.h),$get(txt7),$get(txt7),SETGLOBAL:do.panel.switch:7;REFRESH,fontcolor:$ifequal(%do.panel.switch%,7,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,7,255-0-0,%do.btn.hcol%)) $textbutton($sub($muldiv(%ps_width%,17,26),$div($get(w8),3)),$get(btn.y),$get(w8),$get(txt.h),$get(txt8),$get(txt8),SETGLOBAL:do.panel.switch:8;REFRESH,fontcolor:$ifequal(%do.panel.switch%,8,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,8,255-0-0,%do.btn.hcol%)) $textbutton($sub($muldiv(%ps_width%,21,26),$div($get(w9),3)),$get(btn.y),$get(w9),$get(txt.h),$get(txt9),$get(txt9),SETGLOBAL:do.panel.switch:9;REFRESH,fontcolor:$ifequal(%do.panel.switch%,9,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,9,255-0-0,%do.btn.hcol%)) $textbutton($sub($muldiv(%ps_width%,23,26),$div($get(w10),3)),$get(btn.y),$get(w10),$get(txt.h),$get(txt10),$get(txt10),SETGLOBAL:do.panel.switch:10;REFRESH,fontcolor:$ifequal(%do.panel.switch%,10,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,10,255-0-0,%do.btn.hcol%)) $textbutton($sub($muldiv(%ps_width%,25,26),$div($get(w11),3)),$get(btn.y),$get(w11),$get(txt.h),$get(txt11),$get(txt11),SETGLOBAL:do.panel.switch:11;REFRESH,fontcolor:$ifequal(%do.panel.switch%,11,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,11,255-0-0,%do.btn.hcol%)) //$textbutton($sub($muldiv(%ps_width%,23,26),$div($get(w12),3)),$get(btn.y),$get(w12),$get(txt.h),$get(txt12),$get(txt12),SETGLOBAL:do.panel.switch:12;REFRESH,fontcolor:$ifequal(%do.panel.switch%,12,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,12,255-0-0,%do.btn.hcol%)) //$textbutton($sub($muldiv(%ps_width%,25,26),$div($get(w13),3)),$get(btn.y),$get(w13),$get(txt.h),$get(txt13),$get(txt13),SETGLOBAL:do.panel.switch:13;REFRESH,fontcolor:$ifequal(%do.panel.switch%,13,%do.btn.xcol%,%do.btn.ncol%),fontcolor:$ifequal(%do.panel.switch%,13,255-0-0,%do.btn.hcol%)) Ultima modifica di ApacheReal : 05-10-2023 alle 23:31. |
|
|
|
|
|
#5955 |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
Problema RISOLTO
Per i tre Multi Panel di destra ho utilizzato do.vispanel.switch Per i Tre Multi Panel di sinistra ho utlizzato do.megavis.switch |
|
|
|
|
|
#5956 |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
ESLyrics + Cover + Info Album
![]() Text Display + Album Art Picture in Picture (left) Text Display + Album Art Picture in Picture (right) Blur effect enable ![]() Text Display + Album Art (left) Text Display + Album Art (lright) ![]() Text Reader + Thumbs (left) Text Reader + Thumbs (right)
Ultima modifica di ApacheReal : 06-10-2023 alle 17:18. |
|
|
|
|
|
#5957 |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
@Majestyck
Nell'ultima versione che mi hai mandato con la conversione da JS Script a SPM, se tu premi sul panello di sinistra il pulsante STYLE-BUTTON cambia lo stile dei bottoni sul pannello di sinistra ma non in quello di destra. E' il solito problema dell'istruzione cambiata che va bene per JS SCRIPT, ma non per SPM, vedi immagine: ![]() // ----- CREATE BUTTON SWITCHING AND MENUS ----- function AppButtonPreset() { window.SetProperty("Buttons appearance preset", appPreset == 1 ? 2 : appPreset == 2 ? 3 : appPreset == 3 ? 4 : appPreset == 4 ? 5 : appPreset == 5 ? 1 : 1); appPreset = window.GetProperty("Buttons appearance preset",1); window.NotifyOthers("AppPreset", appPreset); buttonsColours(); buttonsOptions(); buttonsSizes(); buttonsRefresh(); window.Repaint(); } function getButtonDepthMenu(x, y) { x = bxf * 11; y = padY * 4; var a = {} for (var i = 0; i < 5; i++) a[i] = window.CreatePopupMenu(); var tmp_arr = ["Flat", "Regular", "Medium", "Strong"]; for (var l = 0; l < 4; l++) a[0].AppendMenuItem(0, l + 201, tmp_arr[l]); a[0].CheckMenuRadioItem(201, 204, depthPreset + 201); var idx = a[0].TrackPopupMenu(x, y); switch (true) { case idx >= 201 && idx <= 204: window.SetProperty("Buttons depth preset", idx - 201); depthPreset = window.GetProperty("Buttons depth preset"); window.NotifyOthers("DepthPreset", depthPreset); buttonsOptions(); buttonsRefresh(); window.Repaint(); break; } } function getOptionalMenu(x, y) { var a = {} for (var i = 0; i < 5; i++) a[i] = window.CreatePopupMenu(); for (var j = 0; j < 11; j++) a[1].AppendMenuItem(b_btns[j].Exists ? 8 : 0, j + 101, b_btns[j].Text ? b_btns[j].Text : b_name[j]); a[1].AppendMenuSeparator(); a[1].AppendMenuItem(0, 112, "Edit Buttons"); a[1].AppendTo(a[0], 0 | 16, "Left Buttons"); var idx = a[0].TrackPopupMenu(x, y); switch (true) { case idx >= 101 && idx <= 111: window.SetProperty(b_name[idx - 101], b_btns[idx - 101].Exists ? false : true); if (b_btns[idx - 101].Exists) { window.Reload(); return true; } else { try { var c = utils.InputBox(window.ID, "Enter your main menu, context menu or JScript command here:", "Button command", "", true); var d = utils.InputBox(window.ID, "Enter the name for the button here\n(up to 10 letters):", "Button name", ""); window.SetProperty(b_name[idx - 101] + " command string", c); d && window.SetProperty(b_name[idx - 101] + " name (up to 10 letters)", d); window.Reload(); return true; } catch (e) { window.SetProperty(b_name[idx - 101], false); } } break; case idx == 112: window.ShowProperties(); break; } for (var m = 0; m < 5; m++); } // ----- DRAW ----- function on_paint(gr) { !window.IsTransparent && gr.FillSolidRect(0, 0, ww, wh, p_backcol); gr.SetInterpolationMode(7); gr.SetSmoothingMode(4); g_btns && gr.DrawImage(g_btns, padX + (bbw - i_size) / 2, padY + (bbh - i_size) / 2, i_size, i_size, 294, 0, 36, 36); g_btns && gr.DrawImage(g_btns, (ww - area / 8) - padX + (bbw - i_size) / 2, padY + (bbh - i_size) / 2, i_size, i_size, 420, 0, 36, 36); gr.GdiDrawText("PANE - STATUS - BAR", gdi.Font(btn1Opt.font_name, btn1Siz.font_size), btnsCol.text_normal, padX + bxf * 3, by1, bbw * 2, Math.ceil(bbh / 3 * 2), 1); gr.GdiDrawText("STYLE - BUTTON - DEPTH", gdi.Font(btn1Opt.font_name, btn1Siz.font_size), btnsCol.text_normal, padX + 1 + bxf * 9, by1, bbw * 2, Math.ceil(bbh / 3 * 2), 1); buttonsDraw(gr); } Tu hai questa versione:
Ultima modifica di ApacheReal : 07-10-2023 alle 21:54. |
|
|
|
|
|
#5958 |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
Risolto, il panello di destra ha delle istruzioni cambiate:
if (name == "ButtonPreset") { deve essere if (name == "AppPreset") { Vanno rimosse anche le istruzioni: a.Dispose(); b.Dispose(); Ultima modifica di ApacheReal : 07-10-2023 alle 22:14. |
|
|
|
|
|
#5959 |
|
Senior Member
Iscritto dal: May 2005
Città: Trieste
Messaggi: 3440
|
Una piccola richiesta: saltare alla prima traccia dell'album seguente/precedente (se presenti più di un album in una playlist attiva). Uso scheduler che però è in grado di ritornare alla prima traccia della playlist...
__________________
CASE: Antec Solo II | MOBO: Asus Sabertooth Z87 | CPU: Intel i7 4790K | COOLER: Noctua NH-D15 | RAM: G Skill 16Gb | GPU: nVidia GTX-1070 G1 | ROUTER: AVM7530 PSU: Seasonic P520 | AUDIO: Asus STX II | STORAGE: HDD ST2000DM001 + SSD 850 PRO 512Gb + DVDRAM LG GH24NS50 | LCD: Sony SDM-X72 | TV: Sony 32W4000 AMP: Marantz PM-KI Pearl | SPKR: Vienna Mozart Grand | DAC: PS Audio Nuwave | CABLE: WW Electra Platinum - Tasker C276 & RG59 BU - Chord Clearway Analogue
|
|
|
|
|
|
#5960 | |
|
Senior Member
Iscritto dal: Feb 2019
Messaggi: 403
|
Quote:
![]() Start Playback First Track....................Continue on Playlist. |
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 20:25.








































