IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Album Viewer that cycles images (For default UI)?
Fractal_Mortalit...
post Jan 2 2012, 20:35
Post #1





Group: Members
Posts: 374
Joined: 20-June 05
Member No.: 22863



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.


--------------------
http://www.last.fm/user/magnumforce2006
Go to the top of the page
+Quote Post
derty2
post Jan 6 2012, 00:39
Post #2





Group: Members
Posts: 476
Joined: 5-June 11
Member No.: 91257



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...
Go to the top of the page
+Quote Post
Fractal_Mortalit...
post Jan 6 2012, 03:45
Post #3





Group: Members
Posts: 374
Joined: 20-June 05
Member No.: 22863



QUOTE (derty2 @ Jan 5 2012, 18:39) *
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


--------------------
http://www.last.fm/user/magnumforce2006
Go to the top of the page
+Quote Post
marc2003
post Jan 6 2012, 09:33
Post #4





Group: Members
Posts: 3340
Joined: 27-January 05
From: England
Member No.: 19379



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.

Go to the top of the page
+Quote Post
Fractal_Mortalit...
post Jan 6 2012, 23:23
Post #5





Group: Members
Posts: 374
Joined: 20-June 05
Member No.: 22863



You are, as always Marc, the best around.

This post has been edited by db1989: Jan 6 2012, 23:30
Reason for edit: removing pointless full quote


--------------------
http://www.last.fm/user/magnumforce2006
Go to the top of the page
+Quote Post
Fractal_Mortalit...
post Jan 7 2012, 04:13
Post #6





Group: Members
Posts: 374
Joined: 20-June 05
Member No.: 22863



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.


--------------------
http://www.last.fm/user/magnumforce2006
Go to the top of the page
+Quote Post
marc2003
post Jan 7 2012, 11:18
Post #7





Group: Members
Posts: 3340
Joined: 27-January 05
From: England
Member No.: 19379



a) line 188, replace

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


with

CODE
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
arr = read_images();


with

CODE
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.

This post has been edited by marc2003: Jan 7 2012, 11:19
Go to the top of the page
+Quote Post
Fractal_Mortalit...
post Jan 7 2012, 17:12
Post #8





Group: Members
Posts: 374
Joined: 20-June 05
Member No.: 22863



Thank you Marc. You da best mang.


--------------------
http://www.last.fm/user/magnumforce2006
Go to the top of the page
+Quote Post
mjm716
post Mar 1 2012, 13:04
Post #9





Group: Members
Posts: 82
Joined: 27-May 10
Member No.: 80935



QUOTE (marc2003 @ Jan 6 2012, 09:33) *
i have a script which can do this. http://dl.dropbox.com/u/22801321/samples.zip


Great scripts! thanks very much for these! =)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th June 2013 - 15:56