LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Amarok - 1 Database and 3 Computers Possible? (https://www.linuxquestions.org/questions/linux-software-2/amarok-1-database-and-3-computers-possible-449147/)

fortezza 05-27-2006 05:34 PM

Amarok - 1 Database and 3 Computers Possible?
 
I set up Amarok to store its library in a mysql database ( on a separate Linux Server ) on my main workstation. Now I have 2 other computers that have the exact same NF mounts to my media collect ( say, the path to mp3's is '/mnt/Files/mp3s/<file name>' on all of the computers ). Now, theoretically, I should be able to install Amarok on the other 2 computers, point them to the MySql database ( same server, schema, uname, password ), and I can access the same playlists and media from each one.

Well, I tried setting on Amarok on a 2nd workstation configuring as above, and during installation Amarok insists on rebuilding the collection, which I only want my workstation to do. It wiped out my collection and I had to rebuild it from scratch, with is very time consuming.

So, is there a way to avoid all of this trouble? My goal is to have a central repository for playlists and media library to keep life simple( for me, not the developers ).

Thank You,

jcwebb 12-15-2007 09:35 PM

Same Question
 
Hi, I wish I had a solution, but actually I'm looking for advice on the same issue. Did you ever solve your problem?
In my case my server and my primary client run Fedora Core 8, my daughter's computer is Ubuntu 7.04.

jschiwal 12-15-2007 09:45 PM

That is what I am doing. I have the mysql server running on my desktop. I use amarok on both my desktop and my laptop.

note how the directories are stored in the database:
Code:

mysql> select dir from directories;
+----------------------------------------------------------------------------------------+
| dir                                                                                    |
+----------------------------------------------------------------------------------------+
| ./mnt/hpmedia/podcasts                                                                |
| ./mnt/hpmedia/podcasts/A Day in the Life of an Information Security Investigator      |
| ./mnt/hpmedia/podcasts/ABOVE                                                          |
| ./mnt/hpmedia/podcasts/Cranky Geeks H.264 Video                                        |
| ./mnt/hpmedia/podcasts/Cranky Geeks MPEG4 Video                                        |
| ./mnt/hpmedia/podcasts/Daily GizWiz                                                    |
| ./mnt/hpmedia/podcasts/Dial-A-Dork Podcast                                            |
| ./mnt/hpmedia/podcasts/FLOSS Weekly                                                    |
...

I created a symbolic link on my desktop (/mnt/hpmedia/podcasts) to point to my ~/home/podcasts directory. This way the path name is the same on my desktop as my laptop. This is important, otherwise the collection will be constantly rebuilt.

jcwebb 12-16-2007 10:02 PM

Thanks. It seems to be working now.
In my case, my server is not acting as an Amarok client, just a file server for my music and mySQL db. It appears that my problem was that I was running my F8 client with NFS mounting the /srv/music to /mnt/music and the Ubuntu machine also mounting to /mnt/music but using Samba. I did this because different user id's and I didn't (just on general principal) want to squash UIDs. Not sure why an NFS mount vs a Samba mount to the same point would register differently, but not interested enough to experiment right now.
Anyway, I now mount via NFS on both by going ahead and squashing UIDs for the /srv/music export; everything seems to work now.

carl0ski 12-16-2007 11:40 PM

Quote:

Originally Posted by jcwebb (Post 2992844)
Not sure why an NFS mount vs a Samba mount to the same point would register differently, but not interested enough to experiment right now.
Anyway, I now mount via NFS on both by going ahead and squashing UIDs for the /srv/music export; everything seems to work now.

Maybe

NFS is case sensitive
Samba is not


All times are GMT -5. The time now is 03:27 PM.