Re: [Banshee-List] Absolute Filenames in Uri



Alex Bennee wrote:
> Hi,
> 
> I'm seeing these exceptions thrown up all the time as SetUri discovers
> that the Uri in the database is not an absolute path. Does anyone know
> when this change was made? Have I just had my track database corrupted
> at some point or was there a code change in GIT (the stable build
> doesn't crash on a library re-scan).
> 
> Surely if the database format has been updated Banshee should be able
> to gracefully deal with the situation.
> 
> To re-create via SQL on a new database I just do something like this
> in sqllite3:
> 
> UPDATE "CoreTracks" SET Uri="sub/path/in/music/folder/file.mp3" WHERE
> TrackID=16;
> 
> If whatever has happened to my database is unexpected I'll stop
> pursuing this and re-create the whole thing from scratch.
> 

Starting from 1.5.0 version, Banshee uses absolute paths, yes. But
there's code to handle the migration of the DB (this has worked for me
and a lot of people, so it's strange it didn't for you).

	Andres

-- 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]