SymbiSoft / aspyplayer

Automatically exported from code.google.com/p/aspyplayer
0 stars 0 forks source link

Putting aspyplayer.db on E; drive #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi

I'd like to put the aspyplayer.db music database on the E: drive.

That's because I have a large collection of music on the phone (more than 
7GB) and the default location (c:\data\aspyplaer\aspyplayer.db) gets out 
of disk space as soon as I update the music library.

I changed the source code database path from 
c:\data\aspyplaer\aspyplayer.db to E:\aspyplayer\aspyplayer.db, but the 
application crashes when updating the database.

I'm using aspypler.py r40, python 1.4.2 on a Nokia N81.

So, how could I put the aspyplayer.db om E drive?

Toni

Toni

Original issue reported on code.google.com by tonilounavarro on 7 Apr 2008 at 9:38

GoogleCodeExporter commented 8 years ago
In the ServiceLocator class, change the line from:

self.db_helper = DbHelper("*c:*\\data\\aspyplayer\\aspyplayer.db",
self.file_system_services)

to 

self.db_helper = DbHelper("*e:*\\data\\aspyplayer\\aspyplayer.db",
self.file_system_services)

Original comment by doug.fer...@gmail.com on 8 Apr 2008 at 4:26

GoogleCodeExporter commented 8 years ago

Original comment by doug.fer...@gmail.com on 8 Apr 2008 at 4:26

GoogleCodeExporter commented 8 years ago
Hi

Yes, I tried that and it works. I assume the crash I had was because I was 
running
out of card space on E.

I think it would be good if the E path for aspyplayer.db was the default on your
source code, mainly because nowadays having more tahn 1500 tracks on your phone 
is
becoming normal and the C drive is too small for storing the needed database.

Thanks!

Toni

Original comment by tonilounavarro on 8 Apr 2008 at 7:57

GoogleCodeExporter commented 8 years ago
fixed. The default drive is E:\ (memory card) now.

Original comment by doug.fer...@gmail.com on 14 Apr 2008 at 4:02