HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: kgena_ua on 2018-03-24 08:09:43

Title: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2018-03-24 08:09:43
"Get Covers (Artwork) radio logos"
version "24032018"


previous, next img. - mouse wheel on the img;      
img. interval setting - Shift + mouse wheel on the img;    
Title: Re: Get Covers (Artwork) radio logos
Post by: MojoBass on 2018-03-25 06:50:51
I can not find any download link for the code - is that intended?
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2018-03-25 08:56:02
I can not find any download link for the code - is that intended?
sorry, my mistake
Title: Re: Get Covers (Artwork) radio logos
Post by: MojoBass on 2018-03-26 04:44:21
Thanks, very nice script!
Works well with the WSH panel, only thing I saw is that manual previous/next image scroll freezes quite often, refresh solves the freeze.
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2018-03-26 13:16:28
Thanks, very nice script!
Works well with the WSH panel, only thing I saw is that manual previous/next image scroll freezes quite often, refresh solves the freeze.

MojoBass, how do you think this can be corrected.
Thanks.
Title: Re: Get Covers (Artwork) radio logos
Post by: MojoBass on 2018-03-26 20:44:33
kgena_ua, unfortunately I am not a programmer - meaning: I have no idea...
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2018-03-27 09:49:57
I am not a programmer
I am too  :)
Title: Re: Get Covers (Artwork) radio logos
Post by: muxx on 2018-03-27 19:17:49
Sorry. Where I paste the skript? Or rather, I need a special component for operation?
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2018-03-28 07:41:53
Sorry. Where I paste the skript? Or rather, I need a special component for operation?
muxx,
You need:
foo_uie_wsh_panel_mod
or
foo_jscript_panel up to version 2.0.0.
Title: Re: Get Covers (Artwork) radio logos
Post by: muxx on 2018-03-28 15:21:09
Ok, thanks! I have WSH Panel Mod 1.5.6 (no newer version found, actually I can find not any download resource). Must I import the .txt file in it? But the WSH import feature looks only for .cfg files!?  :-[
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2018-03-28 15:50:00
Ok, thanks! I have WSH Panel Mod 1.5.6 (no newer version found, actually I can find not any download resource). Must I import the .txt file in it? But the WSH import feature looks only for .cfg files!?  :-[

muxx,
txt file - open - select all - copy;
WSH panel - paste - apply.
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2018-03-29 09:30:51
"Get Covers (Artwork) radio logos"   
version "29032018"   

some fixes
Title: Re: Get Covers (Artwork) radio logos
Post by: aloola on 2018-03-29 11:31:27
"Get Covers (Artwork) radio logos"   
version "29032018"   

some fixes
thank you.
would be nice if there is an automatic download missing album art option.
Title: Re: Get Covers (Artwork) radio logos
Post by: Roger Hågensen on 2018-03-31 02:24:08
would be nice if there is an automatic download missing album art option.

I thought that was what this did?

If not then what does this do? Foobar is able to show the artwork for local songs. Is it unable to do so for live streams (I thought foobar supported Ogg Opus and Vorbis streams). Does this add artwork support for shoutcast since you mention radio?
Does this reference a online database of artwork?

I description of what the plugin actually does would be nice.


Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-05-02 08:50:14
how to use it with Spider Monkey Panel?
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-05-02 09:32:53
how to use it with Spider Monkey Panel?

hello Mrakobes.
If there is interest, then I will adapt the script.
Temporarily use the script "Biography, Covers, Albums, Title, Similar artist, Lyrics info.www.last.fm.".
There is an opportunity to view the covers.
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-05-02 10:04:39
Hi, thank you for responding so quickly. I asked in another topic

https://hydrogenaud.io/index.php?topic=116669.msg996586#msg996586

(https://i114.fastpic.ru/thumb/2021/0502/f0/f1abea02108671aa370a4b4cd91631f0.jpeg) (https://i114.fastpic.ru/big/2021/0502/f0/f1abea02108671aa370a4b4cd91631f0.png)

In general, I know this is possible in your script - you need to configure the display of any image files with any names that are located in the "covers" folder, which is either in the album folder or on the level up, if the audio storage structure implies the presence of "CD1"
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-05-02 11:00:29
Quote
.... script to search for images in the "Covers" folder, which is located in two versions

1. In the same folder with the album
2. One level above the album being played, when listening to a two-disc edition, it is located in the album folder

Script "Get Covers (Artwork) radio logos" do it.
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-05-06 12:04:28
Quote
.... script to search for images in the "Covers" folder, which is located in two versions

1. In the same folder with the album
2. One level above the album being played, when listening to a two-disc edition, it is located in the album folder

Script "Get Covers (Artwork) radio logos" do it.

Then go under the spider monkey, a very-very-very big request!
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-05-07 10:03:56
how to use it with Spider Monkey Panel?

hello Mrakobes.
If there is interest, then I will adapt the script.

Very interesting indeed. Please do this. This viewer can be displayed in a separate topic
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-05-10 11:16:44
Get Covers (Artwork) radio logos
version 10052021

For Spider Monkey Panel.
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-05-13 18:37:06
Hi my friend, thank you very much! Tell me how to change the code so that it only looks at the folder "Covers"

var root_folders = ["cover", "scan", "art", "img", "images", "pic"];

I also want to create a file with a different resolution but with the same name, only "Logo" In the root folder of artist
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-05-13 19:58:29
I also want to understand how and from which photo is displayed, how many and what photos are in the folder, in the form of a list or thumbnails
(https://i114.fastpic.ru/thumb/2021/0513/62/_6d0a00877bace8efd738724e895df562.jpeg) (https://i114.fastpic.ru/big/2021/0513/62/_6d0a00877bace8efd738724e895df562.png)
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-05-14 16:34:28
Hi.
Quote
I also want to understand how
The figure 'get covers.png' shows the scheme of how the script works.
Quote
from which photo is displayed
The figure 'img path.png'
Quote
how many and what photos are in the folder
it needs to be done.
It is possible to make a menu item with a list of folders from which images are taken with the number of images in the folder.




Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-09-10 19:38:18
@kgena_ua
Hi, and what lines should I delete so that the script does not get into folders with music files? In general, I ONLY looked at the "Images" folder

and how else to make the image size 1:1 and decrease if it does not fit into the screen size, i.e. 400x600 does not need to be stretched, and UHD reduced
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-09-12 07:32:45
@kgena_ua
.... I ONLY looked at the "Images" folder
And this is a good idea. I'll think about how to implement it.
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-09-20 08:45:39
@kgena_ua Also, please make it possible to raise one level up, if a two-disc edition, to the folder with the artist

Dark Tranquillity
                        |2020 - Moment
                        |Covers
                                                 |CD1
                                                 |CD2
                                                        |Dark Tranquillity - 2020 - Moment (CD1).cue



In general, study only the folder "Covers" and do not read other images
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-09-22 15:50:47
In general, I ONLY looked at the "Images" folder

I added the ability to view only selected folders. See the menu item "Search in folders".
Management and settings:
main menu - rigth mouse button over the image;
text menu - rigth mouse button over the text (font size - Ctrl + mouse wheel over the text).
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-09-22 15:53:01
make it possible to raise one level up, if a two-disc edition, to the folder with the artist
Mrakobeб this should work
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-09-25 18:40:44
@kgena_ua Hello, my friend! Yes, this is my structure
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-09-26 07:26:06
I registered the "images" folder, but still pulls the "cover.jpg", how can I exclude it?
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-09-26 10:01:40
I registered the "images" folder, but still pulls the "cover.jpg", how can I exclude it?

I rechecked.
I think in the "images" folder there is a file called "cover.jpg"
Or there are two folders named "images".
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-09-26 10:15:23
Yes, you're right, everything works, I restarted the player and the mat left. Now another problem is that the search does not go up a level in the search, from the subfolder to the "artist" folder from the two-disc edition. that is, 2 levels up. It rises to one without any problems if the "images" is located in the "album" folder

I think you've already understood what I'm doing - I have 2 panels, one for displaying scans, the other for displaying photos of a musical band
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-09-27 12:19:19
Now another problem is that the search does not go up a level in the search, from the subfolder to the "artist" folder from the two-disc edition. that is, 2 levels up. It rises to one without any problems if the "images" is located in the "album" folder
Mrakobes, try it
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-09-28 09:29:35
Ahhh, it works! Thanks!!
- I also wanted to sort images - I scroll through them by scrolling, so they are not flipped alphabetically, and sometimes even in reverse sorting 4 (25) 5 (25) 6 (25) 9 (25) 3 (25) 2 (25) 1 (25) 25 (25), I still didn't understand the principle. How to do it alphabetically? I tried other scans, when scrolling for myself, the viewing goes in the opposite direction, as a rule, in viewers, I scroll for myself this forward
- How do I disable photo zooming? It would be even better to make a reduction to the size of the screen only large, and small ones in the real size in the center
- How do I make 4/25 (with a slash)?
- I haven't figured out how to change the color of the explanations yet, I changed the font to the desired one and I can't see the white color, it's not visible. - custom color - true
- Even in the full path before and after the backslash, a space is added that is not necessary in my opinion.

+ I also really want miniatures at the bottom, just gorgeous

(https://i2.imageban.ru/thumbs/2021.09.28/586d3bf259bd00c3afb16a03d0e9a4e1.png) (https://i2.imageban.ru/out/2021/09/28/586d3bf259bd00c3afb16a03d0e9a4e1.png)

Maybe take a part of the code from here

https://hydrogenaud.io/index.php?topic=112913.msg1001097#new


Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-09-28 12:42:16
Mrakobes, do you understand Russian ?
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-09-29 08:56:03
Та нi, я й на мовi можу розмовляти
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-09-29 10:58:50
Та нi, я й на мовi можу розмовляти

Так це дуже добре. Я з Дніпра.
Меня можно найти и тут:
https://foobar2000.ru/ (https://foobar2000.ru/)
Title: Re: Get Covers (Artwork) radio logos
Post by: TheQwertiest on 2021-09-29 15:39:07
Please, use English or provide English translation when posting here (otherwise you are violating TOS#10: https://hydrogenaud.io/index.php?topic=3974 , which may prompt removal of such posts and/or account suspension if these violations are repeated)
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-09-29 17:06:07
Please, use English or provide English translation

@TheQwertiest, I apologize.
Translation:
"- Mrakobes, do you understand Russian?"
"- But no, I can also speak Ukrainian"
"- Yes it is very good. I'm from the Dnieper. You can also find me here..."
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-09-29 17:20:59
@TheQwertiest sorry

@kgena_ua let's try to do it according to my post above, I've wanted it for so long)))
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-10-07 07:56:59
I also ask you to remove from the code or add to the menu the ability to disable viewing of embedded covers
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-07 08:21:53
I also ask you to remove from the code or add to the menu the ability to disable viewing of embedded covers

@Mrakobes.
This function was and is. See the menu.
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-10-07 12:42:11
That's right, I'm sorry. And what about the previous questions? So I want perfectionism))

https://hydrogenaud.io/index.php?topic=115709.msg1003534#msg1003534
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-07 18:54:38
@Mrakobes.

Quote
also really want miniatures at the bottom
Will be.

About sorting.
Now is:
first (if exists):  file containing the albumt's name
next (if exists): file containing the artist's name
next (if exists): file containing the artist's name  and albumt's name
next (if exists): file named cover or front or folder or album
next (if exists): file named back
next (if exists): file named cd
next: dumping files without sorting.

If you need sorting Alphabetical order I will do it.
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-10-09 08:05:51
Another scroll please on yourself, as in the viewers, a habit. And then the reverse is confusing
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-10-19 10:37:47
Please,  "How do I disable photo zooming? It would be even better to make a reduction to the size of the screen only large, and small ones in the real size in the center"
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-20 09:56:17
It would be even better to make a reduction to the size of the screen only large, and small ones in the real size in the center"
Ok.
Title: Re: Get Covers (Artwork) radio logos
Post by: Sergey77 on 2021-10-20 10:54:23
@kgena_ua, please see what could be the reason for this error?
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-20 13:40:37
@kgena_ua, please see what could be the reason for this error?
@Sergey77, let's see the new version.
version: 0102021

Add:
- alphabetical order, see main menu;
- image preview. Images size - Ctrl + mouse wheel over the image preview line.
- fixes.




Title: Re: Get Covers (Artwork) radio logos
Post by: Sergey77 on 2021-10-20 13:45:52
Error: Spider Monkey Panel v1.6.1-dev+60e51107 ({3E161D2D-0B2C-488F-AEE8-1B89F92D62F5}: Get Covers (Artwork) radio logos v20102021 by kgena_ua)
text is not defined

File: <main>
Line: 793, Column: 5
Stack trace:
  get_info_text_stream@:793:5
  info_text_ini@:740:42
  next_image@:632:5
  get_covers@:439:5
  logo_covers@:1922:9
  updateData@:380:9
  on_item_focus_change@:324:17
  @:283:1
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-20 14:05:46
@Sergey77
Give me a playlist with radio station were its happens.
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-10-22 09:36:20
Oh, my God, how cool! I didn't have time to ask another question - add the item "read in subfolders" in my Images folder there is a division into several subfolders

So, when scrolling images alternate, but the first one is highlighted on the ribbon. When you click on the preview, it does not go to the image - it remains the same. I also suggest averaging the images on the tape somehow, vertical and horizontal ones look ugly in a mix - you can crop the image's part or average it in some other way

+ uneven distance between previews when I removed the frame

+ choosing the frame color

(https://i6.imageban.ru/thumbs/2021.10.22/c0c38854731feeb7b0200de56760a2a4.png) (https://i6.imageban.ru/out/2021/10/22/c0c38854731feeb7b0200de56760a2a4.png) 
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-10-22 11:04:11

the scroll still works in the wrong direction - there is photo 1, then photo 20, photo 19, photo 18. When you reboot, not the first photo is loaded, which is inconvenient, I would like to always start first
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-22 15:23:24
there is photo 1, then photo 20, photo 19, photo 18.
If "alphabetical order" is ON, the array of images is sorted alphabetically by filename.

And the question is, do your image files have the same extensions.?
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-22 19:03:02
Quote
When you click on the preview ...
Use double click on the PRW.
Quote
you can crop the image's part or average it in some other way
Oh sure. It looks much better.
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-22 19:03:47
Quote
choosing the frame color
I'll add a color picker.
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-22 19:04:38
@Mrakobes, thanks
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-10-23 06:15:43
Quote
If "alphabetical order" is ON, the array of images is sorted alphabetically by filename.


I mean, the absolute majority of viewers forward viewing is provided by rotating the mouse wheel ON THEMSELVES, it is impossible to retrain
Quote
Use double click on the PRW.

Yes, double works, in my opinion, single is better, as a rule double - open the image in the external

+ I would like the current file to stand out in the ribbon, for example, with a frame, also with a choice of color

+ read in subfolders

Thanks for the feedback )))
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-10-23 06:16:25
Quote
If "alphabetical order" is ON, the array of images is sorted alphabetically by filename.


I mean, the absolute majority of viewers forward viewing is provided by rotating the mouse wheel ON THEMSELVES, it is impossible to retrain
Quote
Use double click on the PRW.

Yes, double works, in my opinion, single is better, as a rule double - open the image in the external

+ I would like the current file to stand out in the ribbon, for example, with a frame, also with a choice of color

+ read in subfolders

Thanks for the feedback )))

[/quote]
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-10-23 09:31:29
Listen, bro, and teach me where to set custom sorting in the code. The fact is that I set up several panels - one for the covers, another for the band. Somewhere the band is conveniently alphabetized, where the covers are respectively custom front back inlay booklet etc

+ and the refresh button is also very necessary, because if you change the format or file name in an external application, the viewer stops displaying
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-28 15:09:54
Get Covers (Artwork) radio logos
version: 28102021


ADD:
prewiev image alignment (PRW menu);
set prewiev image frame width (PRW menu);
menu item "Refresh"  (main menu);
menu item "Custom colors"  (main menu).
Title: Re: Get Covers (Artwork) radio logos
Post by: Mrakobes on 2021-10-28 17:57:43
Does it work properly for you? I don't understand - I scroll, the previews disappear and then appear. When you click on the preview, the main photo is not connected - it does not go. Please do scrolling in ascending order WHEN YOU TURN ON YOURSELF

(http://i116.fastpic.org/thumb/2021/1028/86/_5e5196c03b7e278b91fc762726fecf86.jpeg) (http://i116.fastpic.org/big/2021/1028/86/_5e5196c03b7e278b91fc762726fecf86.gif) 
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-28 18:12:15
Does it work properly for you ...

did not come across a current situation. Let's fix it.
I will try to simulate this situation and find a solution.
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-10-30 16:16:39
Get Covers (Artwork) radio logos
version: 30102021


fixes

Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2021-11-06 18:48:25
Get Covers (Artwork) radio logos
version: 06112021

Spider Monkey Panel.

ADD:
prewiev image alignment on Left and on Right.

Need reload menu "Properties".
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2023-01-06 13:48:58
new version soon.
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2023-01-06 13:50:55
We will win
Title: Re: Get Covers (Artwork) radio logos
Post by: kgena_ua on 2023-01-06 13:51:44
Exploding rockets are not so scary. While we are alive
Title: Re: Get Covers (Artwork) radio logos
Post by: ApacheReal on 2023-06-18 14:22:24
Get Covers (Artwork) radio logos
version: 06112021

Spider Monkey Panel.

ADD:
prewiev image alignment on Left and on Right.

Need reload menu "Properties".

After updating the previous script '10052021' with this latest version, a simple drag and drop of mp3 files on the empty playlist was enough to crash all the panels.

The previous script has been replaced, unfortunately.