You are not logged in.

#1 2013-10-07 21:54:59

aky
Member
From: BTW, I use Arch Windows...
Registered: 2009-03-14
Posts: 35

[SOLVED] Gnome Music (3.10) - how to resync the music collection?

Hello,


I just upgraded to gnome 3.10 and installed the new Gnome Music app.
After removing some music folders the songs in them still show up in Gnome Music with a dash/minus icon next to them.

Does anyone know how to remove them from the playlists or how to force Gnome Music to resync all its library/db?

Last edited by aky (2013-11-25 19:09:41)

Offline

#2 2013-11-23 16:48:23

ed0
Member
Registered: 2010-05-27
Posts: 6

Re: [SOLVED] Gnome Music (3.10) - how to resync the music collection?

I found this googling the question

GNOME Music uses tracker to find your music files, so you have to use tracker-control to rescan your files. Usually, tracker will notice new files, so you don’t have to use tracker-control, but you have to restart gnome-music before the new files will show up (this is a bug but will be fixed probably in 3.12).

Some sample uses for tracker-control:
tracker-control --backup FILENAME
tracker-control --hard-reset
tracker-control --start
tracker-control --restore FILENAME
The first one is for creating a backup of tracker’s database, the next one is for removing the tracker database and stops it, the third one will start tracker and recreate the database if it doesn’t exist. The last one is for restoring the database in case you mess up.

Note that hard reset will remove all types of files in the database, and recreating it will rescan everything.

Check the man page of tracker-control for more info.

Offline

#3 2013-11-25 19:08:05

aky
Member
From: BTW, I use Arch Windows...
Registered: 2009-03-14
Posts: 35

Re: [SOLVED] Gnome Music (3.10) - how to resync the music collection?

For some odd reason after a --hard-reset followed by a --start the lazy "miners" were taking a sandwich+coffee break:

[aky@3axis ~]$ tracker-control -S
Store:
25 Nov 2013, 20:44:32:  ✓     Store                 - Idle 

Miners:
25 Nov 2013, 20:44:32:    1%  File System  (PAUSED) - Crawling recursively directory 'file:///home/aky' 
25 Nov 2013, 20:44:32:  ✓     Applications          - Idle 

[aky@3axis ~]$

reporting the following `unreasonable` reason for their inactivity:

[aky@3axis ~]$ tracker-control -i
Miners:
  File System:
    Application: 'tracker-miner-fs', Reason: 'Low battery'
[aky@3axis ~]$

even tho the battery was 97% charged.

Plugging the power adapter resumed the "miners'" work:

[aky@3axis ~]$ tracker-control -S
Store:
25 Nov 2013, 20:45:45:  ✓     Store                 - Idle 

Miners:
25 Nov 2013, 20:45:45:   23%  File System           - Processing… 20m 45s remaining
25 Nov 2013, 20:45:45:  ✓     Applications          - Idle 

[aky@3axis ~]$

I suspect that this "tracker" thingie is still in its infancy and there's still alot of work to be done before it works properly.

But anyway, I finaly managed to reinit the music collection for Gnome Music so thanks alot ed0.

Cheers!

Last edited by aky (2013-11-26 06:29:25)

Offline

#4 2013-11-26 04:37:08

isacdaavid
Member
Registered: 2011-11-21
Posts: 81
Website

Re: [SOLVED] Gnome Music (3.10) - how to resync the music collection?

I just don't understand why Gnome Music doesn't have an "Open" option that brings the GTK file chooser and lets you manually search the files you want to play.

Offline

#5 2015-04-24 17:20:17

dunkles
Banned
From: Chile
Registered: 2010-04-26
Posts: 88

Re: [SOLVED] Gnome Music (3.10) - how to resync the music collection?

isacdaavid wrote:

I just don't understand why Gnome Music doesn't have an "Open" option that brings the GTK file chooser and lets you manually search the files you want to play.


in 3.16 still the problem

gnome-music is't a piace of crap

Offline

Board footer

Powered by FluxBB