WDTVLiveHub_ThemeDefinition_v1.0 (Here)

i have a question that may be within the current conversation. just started building my theme and within the album art on the home screen im displaying the current cover art and a png image overlay. if i stop the playing now, music from the web “pandora” or drive “mp3” is shut off.

Every once in a while especially (more than often) in the video screens switches ‘c’ “yellow button” the png (playing now) image = “now_playing_bg.png” will appear during the transitions between screens. has anyone else came across this? i am building this on a smp and that may be the issue, i was just wondering if i was missing something, thank you all for your help with this my code for playingnow is:

<?xml version="1.0"?>

<image image=“@@info_album_artist” x=“65” y=“550” w=“150” h=“150” scale=“100” scale_type=“fixratio”/>

<image image=“./image/now_playing_bg.png” x=“76” y=“547” w=“161” h=“154” scale=“100” scale_type=“fixratio” bg=“1” />

<text text=“@@info_rolling_message” x=“255” y=“655” w=“800” h=“31” fontsize=“18” speed=“1” delay=“2” align=“left” textcolor=“0xff9500” auto_translate=“1”/>

thanks again for your help!

d@ve

remove bg=“1”

<image image=“@@info_album_artist” x=“65” y=“550” w=“150” h=“150” scale=“100” scale_type=“fixratio”/>

<image image=“./image/now_playing_bg.png” x=“76” y=“547” w=“161” h=“154” scale=“100” scale_type=“fixratio” />

<text text=“@@info_rolling_message” x=“255” y=“655” w=“800” h=“31” fontsize=“18” speed=“1” delay=“2” align=“left” textcolor=“0xff9500” auto_translate=“1”/>

Steffen_2009 wrote:

 

1st step

I created with graphic programme a “double-music-JPG-band&cover” -combination picture with 2000x720 pixels.

Left side is the band-cover with 1280x720 and right side album cover with 720*720.

 

2nd step

Changing parameters  in the Image-tag to display right/left side of the new “double-music-JPG-band&cover” Combination picture -Combination

 

So for getting the band-“background” Cover on the rv_home.xml the coding was changed to

 

<image image=“@@info_album_artist” x=“0” y=“0” w=“1280” h=“720” scale_type=“pan” scale=“100” align=“left” bg=“1”/>

 

3rd step

Also changing the CD-jewel case to display the right part of the “double-music-JPG-band&cover” -combination picture.

 

brilliant idea - brainwave

2000x720?   big resolutions … Potentially big problems with navigation performance of many albums not to mention likely memory issues as well.

just saying …

"

2000x720?   big resolutions … Potentially big problems with navigation performance of many albums not to mention likely memory issues as well.

just saying …

"

Yes, of course I have these concerns, too. So (at this moment) it is just an experiment.

Well, but on the other hand I have this small adaption runnning for some days without any problems now.

And, what is the important thing, our Hub/SMP is a powerful machine.

You know from movies, Joey … There is no problem to run a movie in full HD with  1080p for hours … so what about “serveral” (same-sized full HD) pictures ? It should be no challenge for our Hubs/SMPs…

Because I want to turn the libary “off”  (for performance reasons) I will embed the data directly in each mp3 file … “HDD Memory” , yes … , WD wants to sell more HDDs … perhaps the complete music collection takes  the same disc-space like 2-3 HD movies. Hhm, so I don’t really care about :wink:

There is also very little slowdown in the Hub’s(?)/SMPs speed.

Turning the libary “on” makes the Hub/SMP slow, large files (movies or MP3s) don’t.

" likely memory issues " , which (other) issues do you mean in detail ?

And, what is the important thing, our Hub/SMP is a powerful machine.

You know from movies, Joey … There is no problem to run a movie in full HD with  1080p for hours … so what about “serveral” (same-sized full HD) pictures ? It should be no challenge for our Hubs/SMPs…

Video Processing Power is handled via the Sigma Designs SMP8654 Chip, which has got nothing to do with the Navigation Osd (On Screen Display) Interface.

Ive been doing Mods/Themes for WD Devices for a few years now … (WDTV1, WDTV Live (Under Linux) and the WDTV Live Hub)

And have always encountered the same memory and resolution restrictions for performance with all of these devices.

Anyways, good luck with your experiments.



1 Like

Yes, that sounds logical.

I remember a long time ago … with my first Commodor AMIGA there were also different chips for sound, graphic, okay and the WD has something similar for OSD.

Well, since with 1280 x 720 we don’t go over the native resolution, so we never really display the complete 2000 x 720 px. It is only a part of th complete image, correspopnding to the native resolution.

What I noticed are the thumb-files like  “02 - Nena - Indianer.MP3.thumb_1280x720”  , I think some kind of internal caching.

Thank you JoeySmyth that did the trick.

Is it possable to change the size of the page icons? These are the icons that are displayed in the top left hand corner. I have search all through the xml files and have found nothing. Changing the size of the png itself will not work, somewhere the w= h= is hardcoded.

Music:

music_gallery_music_icon.png

Video:

video_gallery_video_icon.png

File:

file_browse_main_icon.png

Thanks

D@ve

Is it possable to change the size of the page icons? These are the icons that are displayed in the top left hand corner. I have search all through the xml files and have found nothing. Changing the size of the png itself will not work, somewhere the w= h= is hardcoded.

Is it possable to change the size of the page icons?

Music:

music_gallery_music_icon.png

Video:

video_gallery_video_icon.png

File:

file_browse_main_icon.png

They are not "hard-coded", you can make them any size you want ... up to 1280x720 Maximum.

looking in this xml rv_browse_common_widgets_new.xml provides the answer.

<?xml version="1.0"?>
<wrapper>

<image image="image/video_encoding_bg.png" x="0" y="0" w="1280" h="720" bg="1" disable="@@disable-overlay"/>

<text text="@@pagecounter" x="490" y="661" h="25" w="300" fontsize="24" align="hcenter" textcolor="0xffffff"/>

<imgbtn x="1018" y="115" w="51" h="51" image="@@bg-RULE" text="" active="@@act-RULE" disable="@@disable-RULE"/>
<imgbtn x="1071" y="115" w="51" h="51" image="@@bg-SOURCE" text="" active="@@act-SOURCE" disable="@@disable-SOURCE"/>
<imgbtn x="1124" y="115" w="51" h="51" image="@@bg-DISPLAY" text="" active="@@act-DISPLAY" disable="@@disable-DISPLAY"/>
<imgbtn x="1177" y="115" w="51" h="51" image="@@bg-DASHBOARD" text="" active="@@act-DASHBOARD" disable="@@disable-DASHBOARD"/>

<!--List view button-->
<text x="682" y="130" w="326" h="27" text="@@text-RV_BROWSE_HINT" align="right" fontsize="20" textcolor="0xffffffff" disable="@@disable-FULL_CTRL"/>
<text x="734" y="130" w="326" h="27" text="@@text-RV_BROWSE_HINT" align="right" fontsize="20" textcolor="0xffffffff" disable="@@disable-NO_RULE"/>

<!-- Info -->
<image image="@@info_icon" x="55" y="71" w="90" h="90"/>
<text text="@@info_sub" x="164" y="87" w="500" h="29" fontsize="26" textcolor="0xffffff" speed="1" delay="2"/>
<text text="@@info_main" x="164" y="117" w="500" h="45" fontsize="40" textcolor="@@info_main_color" speed="1" delay="2"/>
<!-- <text text="@@info_main" x="139" y="118" w="450" h="40" fontsize="40" textcolor="0x2faefc"/>-->

<!-- indicators -->
<image image="@@moreprev" x="69" y="641" w="21" h="36"/>
<image image="@@morenext" x="1190" y="641" w="21" h="36"/>

<!-- error message -->
<text text="@@error_msg" x="0" y="340" h="40" w="1280" align="hcenter" fontsize="30" textcolor="0xffffff"/>

<image image="@@fake_now_playing" x="0" y="0" w="1280" h="43"/>
</wrapper>


A THEMEING TIP

So you can 'see' the image that you wish to modify but you dont know where the XML reference is ?

eg. video_gallery_video_icon.png

take note of it's dimensions .. eg. w="90" h="90"

download Prgrep

http://www.prgrep.com/

and enter into the search field w="90" h="90"

Prgrep will recursively search inside every xml for any instance of w="90" h="90" and it will show you all the xml files that contain that phrase.

From there you can experiment with a smaller number of xmls to find which one controls the image.

1 Like

That again did the trick and now gave me even more ideas to edit. I’m so jealous of how much you know. I have a lot of great ideas but unfortunately a lot of coding road blocks to accomplish them. Been programing in sql and vb for years but this theme stuff is driving me crazy.

Another kudo, thank you so much for you four help JoeySmyth.

D@ve

No probs

i have no programming experience (unless you count BASIC in the 80’s)  been xml editing since Wdtv Gen1 days … so a lot of it is familiar.