maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   How do you refresh the media player on N900 (https://talk.maemo.org/showthread.php?t=40180)

fraaaaanka 2010-01-12 11:12

How do you refresh the media player on N900
 
I have albums remaining in the media player view that i have deleted from the music folder ... anyone know a way to manually refresh the list or do i have to wait for my N900 to do it itself?

JonWW 2010-01-12 11:31

Re: How do you refresh the media player on N900
 
In X Terminal type:

tracker-processes --hard-reset
/etc/osso-af-init/tracker.sh start


Given time it should do it by itself.

fraaaaanka 2010-01-12 12:01

Re: How do you refresh the media player on N900
 
Quote:

Originally Posted by JonWW (Post 466072)
In X Terminal type:

tracker-processes --hard-reset
/etc/osso-af-init/tracker.sh start


Given time it should do it by itself.

can anyone else confirm this is correct as typing inot xterminal ...hard-reset sounds a bit dodgy to me and i aint got a clue about these things.... and jon you joined jan with only 4 posts which is why my confidence level is low.

cheers, and sorry for doubt jon if you are confirmed as correct

JonWW 2010-01-12 12:41

Re: How do you refresh the media player on N900
 
Quote:

Originally Posted by fraaaaanka (Post 466117)
.... and jon you joined jan with only 4 posts which is why my confidence level is low.

Thats fine, the reason I bought the phone is because I like to get under the hood and tinker with things :), I normally fix XP machines for peolpe and it's been over 20 years since I played havoc with a Unix machine at school :eek:, so the X Terminal brings back some great old memories.

I've done it on my N900 and it works fine, all it does is to shutdown the tracker process and causes the tracker to delete its database, restarting it (if you have the Load Applet installed) you will see the CPU load spike for 10-15 seconds as it starts again and refreshes itself in the background.

Not sure if you need to be root, can't remember. I have placed commands in a file called mediareset on my own phone, and if I need to run it I just type sh mediareset.

Here is the thread I found it on (search for "tracker-processes hard-reset")

javispedro 2010-01-12 13:22

Re: How do you refresh the media player on N900
 
You can run the first command just fine (also "tracker-processes -r", which is the same), it will indeed delete the media player databases.

The second one is not actually needed as just starting the media player application will restart Tracker and recreate the databases while showing a progress GUI (so I guess it's better).

fraaaaanka 2010-01-12 14:03

Re: How do you refresh the media player on N900
 
done it and my N900 has turned itself off and when i turned it back on there is a blue screen saying "internal error at run line JonWW"

only kidding, it worked a treat
cheers Jon

JonWW 2010-01-12 15:01

Re: How do you refresh the media player on N900
 
Quote:

Originally Posted by fraaaaanka (Post 466326)
"internal error at run line JonWW"

:eek: :eek:

j-mi 2010-01-29 11:53

Re: How do you refresh the media player on N900
 
How do I refresh media player so it finds the albums which are located in my memory card?

Rob1n 2010-01-29 12:05

Re: How do you refresh the media player on N900
 
Quote:

Originally Posted by j-mi (Post 500745)
How do I refresh media player so it finds the albums which are located in my memory card?

I use "tracker-processes --hard-reset" - it's rather a pain, but seems the only way to get tracker sorted out (last time it managed to lose track of all the albums I already had installed, but quite happily indexed the new ones).

j-mi 2010-01-29 14:06

Re: How do you refresh the media player on N900
 
Quote:

Originally Posted by Rob1n (Post 500770)
I use "tracker-processes --hard-reset" - it's rather a pain, but seems the only way to get tracker sorted out (last time it managed to lose track of all the albums I already had installed, but quite happily indexed the new ones).

Ok, I used it. But it never ends. I mean, I have waited about 45min, and it's still doing:
Code:

Starting log:
  File:'/hime/user/.local/share/tracker/trackerd.log'
|

But when I go to media player, it shows that it has found 512 music tracks.. It works yes, but hitting ctrl+c ain't the right way to stop the log writing it or is it?


All times are GMT. The time now is 23:00.

vBulletin® Version 3.8.8