Page 1 of 1

Lost icons

Posted: Fri Sep 23, 2011 10:42 pm
by johnw158
I am fairly new at this and have tried to set the BBCiplayer on my Joggler, however I must of done something wrong and have now lost all my icons. Can anyone suggest a route to get them back?

Re: Lost icons

Posted: Sat Sep 24, 2011 7:57 am
by spoyser
Can you post the output of

cat /media/appshop/applications.xml

And I'll see what is wrong in it.

To get you icons back assuming you followed the installation steps and created a backup you can just do this:

cd media/appshop
applications.original mv applications.xml

Hope that helps.

Re: Lost icons

Posted: Sat Sep 24, 2011 8:49 am
by johnw158
Hi

The output file is


<?xml version="1.0" encoding="utf-8"?>
<applications>
<app id="267" title="Google Calendar" loc="/media/appshop/267/" icon="icon.swf"
app="main.swf"/>
<app id="271" title="YouTube" loc="/media/appshop/271/" icon="icon.swf" app="ma
in.swf"/>
<app id="268" title="Google Maps" loc="/media/appshop/268/" icon="icon.swf" app
="main.swf"/>
<app id="250" title="Weather" loc="/media/appshop/250/" icon="icon.swf" app="ma
in.swf"/>
<<<d="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.s
wf"/>
<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="mai
n.swf"/>


<<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="ma
in.swf"//applications/>

Re: Lost icons

Posted: Sat Sep 24, 2011 9:05 am
by offbeatdave
Change...

<<<d="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>


<<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="ma
in.swf"//applications/>

...to...

<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
</applications>

Re: Lost icons

Posted: Sat Sep 24, 2011 9:12 am
by johnw158
hi

can you just explain how I edit the script to make that change or do I just telnet in and type

<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
</applications>

thanks

Re: Lost icons

Posted: Sat Sep 24, 2011 9:59 am
by spoyser
1) telnet in
2) cd media/appshop
3) vi applications.xml
4) hit i to go into insert mode
5) scroll all the way to the last line using arrow down, and then to the end of line using "End" key
6) delete line using backspace
7) arrow up and "End" and delete that line
8) continue deleting lines but stop before this line:

<app id="250" title="Weather" loc="/media/appshop/250/" icon="icon.swf" app="ma
in.swf"/>

9) enter these 2 lines

<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
</applications>

10) Hit ESC followed by :x return (save and exit)

11) killall tango

12) Voila! (hopefully!)

Re: Lost icons

Posted: Sat Sep 24, 2011 7:12 pm
by johnw158
worked great - fantatsic - thank you - just watched the football