Skin by [cer] (cer@home.tula.net) Our community
Welcome to WDTV Forum. Learn how to play any file on your WDTV Media Player
Pages: [1] 2
  Print  
Author Topic: ThumbCache.app.bin - Folder thumbnail for USB devices  (Read 9170 times)
Full Member
***
Posts: 135
« on: July 11, 2009, 02:24:56 AM »

Hi,

Thumbnails cache manager.

- if folder.jpg is present in your usb device root, it will be displayed as USB device preview.
- load/save cache directory. Then, thumbnails may be displayed faster.
- browse entire disk and cache all folder.jpg files. Then, resolution can be more than 180pixels.
- usb is used instead of /tmp for storing cache (less memory used). This option can be disabled.

It will look like this :


How to display usb thumbnails :
- create folder.jpg in your root directory.
- decompress zip file, place ThumbCache.app.bin and ThumbCache.conf in your root directory.
- edit ThumbCache.conf and set NBUSB to nomber of devices you have :
- if either USB1 or USB2 is used (one disk at time), set NBUSB=1
- if both USB1 and USB2 are used (two disks at the same time), set NBUSB=2

In ThumbCache.conf, if PERSISTENT=1 is set, the process remains in memory, check USB devices each 10 seconds and refresh folder thumbnail.

How to use cache directly on usb (default behaviour) :
- edit ThumbCache.conf and set CACHE2USB=1
For disable it, set CACHE2USB=0

How to save/restore/preload cache directory :
- event-osd is required.
- go to WDTV Cache "directory" and follow menus.

Download ThumbCache v0.2
« Last Edit: July 16, 2009, 09:52:19 AM by BMD_Online » Logged
Full Member
***
Posts: 135
« Reply #1 on: July 16, 2009, 09:52:04 AM »

Up. Version 0.2 is released.

event-osd is required for saving/restoring/pre-caching cache manually !
Logged
Sr. Member
****


Posts: 405
« Reply #2 on: July 17, 2009, 04:30:40 AM »

I like the idea of having a different USB device thumbnail, thanks.  Will try this and the cache feature as soon as time permits.

Is it possible to have a different icon depending on whether USB1 or USB2?
Logged

Gen1. Currently trying WDLXTV 0.5.8.1, Belkin AX88178 Gigabit adapter, Synology DS109 NAS

How-to setup WD TV with NFS shares
Full Member
***
Posts: 135
« Reply #3 on: July 17, 2009, 09:26:58 AM »

I like the idea of having a different USB device thumbnail, thanks.  Will try this and the cache feature as soon as time permits.

Is it possible to have a different icon depending on whether USB1 or USB2?

folder.jpg on the device will be used.
I don't care if it's usb1 or usb2.
Logged
Newbie
*
Posts: 4
« Reply #4 on: July 17, 2009, 11:23:32 AM »

Do You have any thumbnails we can download Thanks
Logged
Full Member
***
Posts: 135
« Reply #5 on: July 17, 2009, 11:54:18 AM »

Do You have any thumbnails we can download Thanks

No, I don't have.
Some members here have produced some thumbnails (eg lilibabe for example), or you can find some icons yourself with google (that's what I do).
Logged
Jr. Member
**
Posts: 58
« Reply #6 on: July 17, 2009, 12:38:01 PM »

This is a very useful application!
Thanks!  Smiley



Do you think you can optimize it so that we don't have to set "NBUSB=....." in the config?
Logged
Sr. Member
****


Posts: 405
« Reply #7 on: July 17, 2009, 12:55:46 PM »

I like the idea of having a different USB device thumbnail, thanks.  Will try this and the cache feature as soon as time permits.

Is it possible to have a different icon depending on whether USB1 or USB2?

folder.jpg on the device will be used.
I don't care if it's usb1 or usb2.

Hmm yeah but USB2 has a network adapter...I'll have a play...
Logged

Gen1. Currently trying WDLXTV 0.5.8.1, Belkin AX88178 Gigabit adapter, Synology DS109 NAS

How-to setup WD TV with NFS shares
Newbie
*
Posts: 13
« Reply #8 on: July 17, 2009, 12:57:35 PM »

any thumbnails we can download

http://rapidshare.com/files/250567901/templ.rar

mirror
http://uploaded.to/file/kidrkk
Logged
Full Member
***
Posts: 135
« Reply #9 on: July 17, 2009, 02:06:23 PM »

This is a very useful application!
Thanks!  Smiley



Do you think you can optimize it so that we don't have to set "NBUSB=....." in the config?

NBUSB means "how many usb devices will be connected", and not "where the device will be connected".
I wasn't able to guess if there 1, 2, 3 or more (using usb hub) will be connected.
When booting, usb devices aren't mounted. My script will wait until NBUSB devices will be detected and mounted.

Maybe another solution is to play with PERSISTENT, and stay in memory. I will think about it.
Logged
Jr. Member
**
Posts: 58
« Reply #10 on: July 17, 2009, 04:38:39 PM »


NBUSB means "how many usb devices will be connected", and not "where the device will be connected".

I know that  Wink


Sometimes I connect only 1 USB drive and sometimes 2, but I don't want to change "NBUSB=X" all the time  Grin
Logged
Newbie
*
Posts: 1
« Reply #11 on: July 25, 2009, 12:31:53 PM »

Hi, i don't understand how i can make a thumbs of my video ( i like the way where only 3 thumbs appear like lillibabe mod) but don't change nothing in the resolution of the thumbs with this thumbcache...
I did this "browse entire disk and cache all folder.jpg files. Then, resolution can be more than 180pixels" but the resolution for the three thumbs are always the default, what's wrong? i make the option cache all thumbs and the save...
Thanx
Logged
Full Member
***
Posts: 135
« Reply #12 on: July 25, 2009, 11:48:14 PM »

Actually, I cache only folder.jpg, not movie thumbs.

Personnaly, I haven't tried with 3 thumbs. Can you confirm me if folder thumbnails uses better resolution ?
Logged
Jr. Member
**
Posts: 74
« Reply #13 on: July 28, 2009, 01:14:59 PM »

Is there anyway to get this to cache all the movie thumbs as well.   It would be perfect.  Thanks
Logged
Full Member
***
Posts: 135
« Reply #14 on: July 28, 2009, 02:42:16 PM »

Is there anyway to get this to cache all the movie thumbs as well.   It would be perfect.  Thanks

It was a little complicated, and may be really long to scan entire disk.

Complicated, I mean : which files to scan ? all mpeg, mpg, avi, mkv, ... I need to list all available video/audio formats, and for each existing file check if a picture exists.
Logged
Pages: [1] 2
  Print  
 
Jump to:  


MySql PHP XHTML CSS
MegaPolis theme by [cer]
Powered by SMF 1.1.8 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.089 seconds with 20 queries.