Rockbox mail archive
Subject: Re: .scrobbler.log in another directory => possible?
Re: .scrobbler.log in another directory => possible?
On Sat, 19 Jun 2010 21:06:03 +0200
Uli Armbruster <uli.armbruster_at_googlemail.com> wrote:
> Hi guys
>
> I have a Sandisk Sansa e260, which is kinda broken, it's not being
> recognized as a usb drive anymore. So I have to e.g. do my rockbox
> updates via the external sd card. But that's fine, I only update with
> releases. But uploading my .scrobbler.log to last.fm is really
> annoying, I always have to copy it from the root directory onto the
> sd card and then upload it. So what I would love to have is the
> possibility to make rockbox directly save the log onto the sd card. I
> guess this is only possible by patching the source, so I searched in
> the sources for scrobbler.log
>
> Will this work this way? (patch is attached)
/<microSD1>/xxxx should work : it should be the same thing that you see
when browsing microSD content in the file browser
--
#define _ putchar
int x=0,q=0,Z;z(){while(x<4){Z=(x?x:x^3)*5+(x>>1);_(((x++??'3)?Z:'['<<
1)+((13<<3)+2));}x=0;}char *s="ACB=+2DBK/,8=\"";main(){z();while(s[q])
{Z=s[q++]+q+43;Z=Z=='Z'?1<<5:Z;Z^0x7e?_(Z):_(' ')+z();}_((1<<3+3)+3);}
//Rafaël Carré
Received on 2010-06-20
Page was last modified "Jan 10 2012" The Rockbox Crew
|