Sign up here and you can log into the forum!

add new locations to youtube location setting?

youtube/live365/pandora/flickr replacements & other web services

add new locations to youtube location setting?   

Postby bovoro » Sun Aug 08, 2010 10:21 am

Is it possible to add new locations countries? , like Mexico, to display videos related to that country,I searched what file to edit, but I cant find it
bovoro
n00b
 
Posts: 14
Joined: Fri Aug 06, 2010 12:00 pm

Re: add new locations to youtube location setting?   

Postby bovoro » Sun Aug 08, 2010 10:49 am

i Found a file called youtube_locations_settings.xml
<?xml version="1.0"?>
<page background="image/villa_bg.jpg">
<listbox valkey="youtube_location_settings" autoenter="1" autoswitch="0" move="page" cols="1" rows="9" loop_scroll="1"/>

<text text="@@title" x="97" y="122" w="800" h="44" fontsize="42" textcolor="0x07b5ff"/>

<wrapper x="293" w="695">
<image y="234" h="1" image="@@location_settings_0_line"/>
<image y="285" h="1" image="@@location_settings_1_line"/>
<image y="336" h="1" image="@@location_settings_2_line"/>
<image y="387" h="1" image="@@location_settings_3_line"/>
<image y="438" h="1" image="@@location_settings_4_line"/>
<image y="489" h="1" image="@@location_settings_5_line"/>
<image y="540" h="1" image="@@location_settings_6_line"/>
<image y="591" h="1" image="@@location_settings_7_line"/>
<image y="642" h="1" image="@@location_settings_8_line"/>
</wrapper>

<table x="302" y="185" w="26" h="459" cols="1" rows="9" colspacing="0" rowspacing="0">
<image image="@@location_settings_0_checked" ymargin="0"/>
<image image="@@location_settings_1_checked" ymargin="0"/>
<image image="@@location_settings_2_checked" ymargin="0"/>
<image image="@@location_settings_3_checked" ymargin="0"/>
<image image="@@location_settings_4_checked" ymargin="0"/>
<image image="@@location_settings_5_checked" ymargin="0"/>
<image image="@@location_settings_6_checked" ymargin="0"/>
<image image="@@location_settings_7_checked" ymargin="0"/>
<image image="@@location_settings_8_checked" ymargin="0"/>
</table>

<table x="281" y="185" w="720" h="459" fontsize="20" selected_fontsize="26" cols="1" rows="9" colspacing="0" rowspacing="0"
lbimage="image/browser_list_btn.png" clickimage="image/browser_list_btn.png" align="hcenter"
textcolor="0xffffff" actnoseltextcolor="0xffffff" actoverlistcolor="0xffffff" activetextcolor="0xffffff" selectedtextcolor="0xffffff">
<text text="@@location_settings_0_text" xmargin="68" ymargin="11" lightbar="@@lightbar-youtube_location_settings-0" active="@@act-youtube_location_settings-0" selected="@@youtube_location_settings_0_select"/>
<text text="@@location_settings_1_text" xmargin="68" ymargin="11" lightbar="@@lightbar-youtube_location_settings-1" active="@@act-youtube_location_settings-1" selected="@@youtube_location_settings_1_select"/>
<text text="@@location_settings_2_text" xmargin="68" ymargin="11" lightbar="@@lightbar-youtube_location_settings-2" active="@@act-youtube_location_settings-2" selected="@@youtube_location_settings_2_select"/>
<text text="@@location_settings_3_text" xmargin="68" ymargin="11" lightbar="@@lightbar-youtube_location_settings-3" active="@@act-youtube_location_settings-3" selected="@@youtube_location_settings_3_select"/>
<text text="@@location_settings_4_text" xmargin="68" ymargin="11" lightbar="@@lightbar-youtube_location_settings-4" active="@@act-youtube_location_settings-4" selected="@@youtube_location_settings_4_select"/>
<text text="@@location_settings_5_text" xmargin="68" ymargin="11" lightbar="@@lightbar-youtube_location_settings-5" active="@@act-youtube_location_settings-5" selected="@@youtube_location_settings_5_select"/>
<text text="@@location_settings_6_text" xmargin="68" ymargin="11" lightbar="@@lightbar-youtube_location_settings-6" active="@@act-youtube_location_settings-6" selected="@@youtube_location_settings_6_select"/>
<text text="@@location_settings_7_text" xmargin="68" ymargin="11" lightbar="@@lightbar-youtube_location_settings-7" active="@@act-youtube_location_settings-7" selected="@@youtube_location_settings_7_select"/>
<text text="@@location_settings_8_text" xmargin="68" ymargin="11" lightbar="@@lightbar-youtube_location_settings-8" active="@@act-youtube_location_settings-8" selected="@@youtube_location_settings_8_select"/>
</table>


<include filename="./inc_youtube_logo.xml"/>
<include filename="./decoration.xml"/>
</page>
bovoro
n00b
 
Posts: 14
Joined: Fri Aug 06, 2010 12:00 pm

Re: add new locations to youtube location setting?   

Postby recliq » Mon Aug 09, 2010 9:01 am

that file is only the XML markup file for the OSD display, it seems it only contains variables, so i guess the locations are hard coded in dmaosd... :ugeek:
if you want to fumble with this you might have to do it in rezmus' youtubeHD proxy, but i haven't tried or looked at it, it's pure guessing..
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: add new locations to youtube location setting?   

Postby bovoro » Mon Aug 09, 2010 11:43 am

you are right, there is the key, I could see with the naked eye in the dmaosd,
is something that
@@@@preferences$$YouTube Preferencespreferences_%d_textpreferences_%d_lineyoutube_preferences.xml$$Current Locationì‰kyoutube_location_settingsYOUTUBE_REGIONlocation_settings_%d_textlocation_settings_%d_linelocation_settings_%d_checkedimage/
setting_Check_mark_f.pngimage/setting_Check_mark_n.pngyoutube_location_settings.xml
$$Worldwide$$Germany$$France$$Spain$$Italy$$Taiwan$$South Korea$$Japan$$RussiaôŠk‹k ‹k‹k
bovoro
n00b
 
Posts: 14
Joined: Fri Aug 06, 2010 12:00 pm


Return to WDTVL Proxy Project

Who is online

Users browsing this forum: No registered users and 1 guest