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: Biography Text, Album Info, Picture. www.last.fm (Read 72416 times) previous topic - next topic - Topic derived from Re: WSH Panel Mod scr...
0 Members and 1 Guest are viewing this topic.

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #125
Hi everyone,

Is there a way to disable the ability to drag&drop the text around? It would be cool if the user could select the text instead of moving it around.

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #126
1. The function of "Remap album name" will be fixed.
New metod to remap: Artist(Remaped Artist)*Album*Remaped Album.
2. I want add to this script my script "Get Covers (Artwork)..." to view external and embedded covers.

Is there a way to disable the ability to drag&drop the text around? It would be cool if the user could select the text instead of moving it around.
Sorry. I can not understand.
UR5EQF. Ukraine

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #127
Thank you for a great mod.

It works perfectly with local playlist, but when i open online radio (somafm.com/listen for example) it shows red screen with "JavaScript error" and following error message:
"JScript Panel v2.5.3 (Biography, albums, title, similar artist info.www.last.fm. v10062020 by kgena_ua)
JavaScript runtime error:
Object not a collection
File: <main>
Line: 975, Col: 5"

Is it solvable?

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #128
On line 971, replace the existing Eval function with this...

Code: [Select]
function Eval(field) {   
    if (!metadb) return "";  
    complete_path = metadb.Path;
    directory_path = fb.Titleformat("$directory_path(%path%)").EvalWithMetadb(metadb);

var tfo = fb.TitleFormat("[" + field + "]");

if (fb.IsPlaying && complete_path.indexOf('://') > 0) {
return tfo.Eval();
} else {
return tfo.EvalWithMetadb(metadb);
}
}

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #129
snotlicker
Solved, thank you!

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #130
Biography, Covers, Albums, Title, Similar artist, Lyrics info.www.last.fm.
version "06042021

tested on Wsh Panel Mod v1.5.10.

Add: covers review.  See menu item "Image source".
Choice:
     - external covers;
     - embedded covers, or external and embedded covers;
     - priority external covers;
     - priority embedded covers;
     - cover information
Add: set the default cover image.  See menu item ""Image" - "Default image ".
Fixed: New "Album remap" metod.
Many changes

The Properties menu must be updated.
Check your "_download" folder. Some files will be renamed.
UR5EQF. Ukraine

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #131
hi kgena_ua

I have tested your new script a little with jscript-panel v.1.3.2.2
so far i only noticed this (see picture)

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #132
another little thing found:
the first header of "similar artists" is missing
this is how it looked in the last version:

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #133
another little thing found:
the first header of "similar artists" is missing
this is how it looked in the last version:

Hi, lender1257.
Yes, i changed it. Now first header - similar artist. Second header - years activity.
UR5EQF. Ukraine

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #134
hello kgena_ua
i have tested a little again with jscript-panel v. 1.3.2.2

thank you:
- for sorting remap files.
- the change to remap-album also works very well
(duplicate album names can now be distinguished)

this does not fit yet (see picture)
artist=chicago; this will be shown when switched to "similar artists"

please put back "similar artists" as in the previous version.
otherwise you don't know that you have changed to "similar artist".
you haven't changed the other settings (album, most popular albums, ...) either (they are the same as before).
I also think it's clearer.

thank you

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #135
i have tested a little again with jscript-panel v. 1.3.2.2
lender1257[/b],
I cannot understand why this does not work with jscript-panel.
I tested it with:
https://jsfiddle.net/a8c1z4x6/
everything is ok. The code is written correctly.
I use Wsh Panel Mod v1.5.10.
type=thumb]post_tmp_125956_341f5ff53d74bd49bd768392f4d1b685[/attach]
Quote
put back "similar artists" as in the previous version.
in any case, there will be an update since I found several bugs[attach
UR5EQF. Ukraine

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #136
hello kgena_ua
a few notes what i have done.

properties completely new.
listeners, scrobbles, ... switched off
birthday, active ...  switched on

when loading the data from the database, birthday or active comes up with <P>.
you can recreate this at any time with "refresh". (pic1)

when foobar is restarted + the same artist, the data is read from the hard disk.
now the birthday, active line is missing (pic2)
(no problem for me)

I hope this helps a little bit

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #137
Quote
please put back "similar artists" as in the previous version.
Done.
Similar artists are added to history.  Done.
Fix errors (remap function), Done.
Wot else ?
UR5EQF. Ukraine

 

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #138
the test will show ...
please release the new script

addendum: please sort the history_list file

thank you


Re: Biography Text, Album Info, Picture. www.last.fm

Reply #140
@kgena_ua

thanks for the changes.

have now installed both panels
foo_jscript_panel-v1.3.2.2 (from 2017)
foo_uie_wsh_panel_mod-1.6.3 (from 2015)

jscript-panel shows in addition to "active + founded" also the members of the band - maybe that's where the error comes from (<P>)
wsh-panel shows only "active + founded - no band members


Re: Biography Text, Album Info, Picture. www.last.fm

Reply #141
Check with foo_spider_monkey_panel.
Works fine.
X

An hour with a timer needs someone

UR5EQF. Ukraine

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #142
spider-monkey panel:  will try it out soon

question: Similar artists are added to history - why?

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #143
question: Similar artists are added to history - why?
"History" is my favorite function. I use it a lot.

For spider-monkey panel need to redo a lot. If there is a need, I can try.


UR5EQF. Ukraine

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #144
For spider-monkey panel need to redo a lot. If there is a need, I can try.

i think it would be good to have a 2nd panel available. it will be a lot of work. and you always have to change everything 2 times.
maybe it would be better to create your own bio-plugin.  :D

have a nice sunday

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #145
Biography, Covers, Albums, Title, Similar artist, Lyrics info.www.last.fm.
version 14042021

tested with Spider Monkey Panel v 1.4.1

This is my first experience with SMP.
UR5EQF. Ukraine

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #146
very good work - congratulations !

I noticed:
history file: called "similar artists" 2 times
the entries are duplicated and each entry is 2 lines long
Birthdates and years active are not shown.

Addendum:
after looking at the artist's "most popular albums" and going back to artist, the birthday announcement is also there !!

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #147
Hi, lender1257. Thanks.

"History code" has been changed. The old file "history_list.txt" may not be merged with the new version. Delete it.

Function "Years active" while temporarily disabled. Saving is disabled. If you use the old saved data, then it is read.

The main thing is that the script works with Spider Monkey Panel. Working on this panel is a pleasure.
Now I plan to use the JSON format to save the data. I study.
I am interested in how the function of displaying covers works - "Image source : Covers".


UR5EQF. Ukraine

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #148
Function "Years active" while temporarily disabled. Saving is disabled. If you use the old saved data, then it is read.

I am interested in how the function of displaying covers works - "Image source : Covers".

do you mean it is currently deactivated in your SMP-script and will be reactivated with the next update? or am i doing something wrong?
i'm sorry, i don't use the cover-feature.

Re: Biography Text, Album Info, Picture. www.last.fm

Reply #149
Biography, Covers, Albums, Title, Similar artist, Lyrics info.www.last.fm.
version  01052021
tested with Spider Monkey Panel v 1.4.1

Fixes.
Added menu item "Cusnom colors".
UR5EQF. Ukraine