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: Album Viewer that cycles images (For default UI)? (Read 4237 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Album Viewer that cycles images (For default UI)?

Is there a component or perhaps WSH script that allows this? To my knowledge the only component that does this is for Columns UI.

Basically all I'd like is to be able to alternate between the main cover and alternate covers of albums.

Album Viewer that cycles images (For default UI)?

Reply #1
There is a WSH Script which I use for this purpose (in "Columns UI"), but maybe it works in "Default UI" too. Create a test layout and try it out.
Go to this HA Forum thread and start reading the discussion from here...

Album Viewer that cycles images (For default UI)?

Reply #2
There is a WSH Script which I use for this purpose (in "Columns UI"), but maybe it works in "Default UI" too. Create a test layout and try it out.
Go to this HA Forum thread and start reading the discussion from here...

Hey sorry to be lazy, but if you still have the script, would you just mind posting it? lol

Album Viewer that cycles images (For default UI)?

Reply #3
i have a script which can do this. http://dl.dropbox.com/u/22801321/samples.zip

you'll want to import the script named thumbs.txt (and make sure you check the readme first).

you need to change a few settings to get it working as you want:

right click>image source>change to custom folder
right click>image source>set custom folder. here you can use title formatting so $directory_path(%path%) would display all images in the same folder as the current track.
right click>thumbnails>change to grid
now click an image so it fills the panel
finally right click>cycle> and pick an interval setting.



Album Viewer that cycles images (For default UI)?

Reply #5
So Marc... I'm gonna be nitpicky here... Would there be a way to

A. Remove the border and blank space around the image

B. make it so that the script ONLY uses either the names folder.jpg or folder2.jpg when using images?


I realize A. is probably a lot easier to achieve than B, but I'm not sure how to do it on my own.

Album Viewer that cycles images (For default UI)?

Reply #6
a) line 188, replace

Code: [Select]
scale2(gr, g_img[index], 10, 10, ww - 20, wh - 20, false);


with

Code: [Select]
scale(gr, g_img[index], 0, 0, ww, wh, "max");


b) browse your foobar profile folder (or foobar folder if using portable) and open the file marc2003\common4.js in a text editor.

line 259, replace

Code: [Select]
arr = read_images();


with

Code: [Select]
arr = utils.Glob(fb.TitleFormat("$directory_path(%path%)").EvalWithMetadb(g_metadb) + "\\folder*.jpg").toArray();


restart foobar (or reload the script by entering the editor and clicking OK)

this totally breaks the last.fm/custom folder menu options so don't use them.