LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-27-2006, 05:34 PM   #1
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Question 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,
 
Old 12-15-2007, 09:35 PM   #2
jcwebb
LQ Newbie
 
Registered: Mar 2003
Location: Florence, SC
Distribution: Redhat Linux 8.0, Fedora Core 3
Posts: 7

Rep: Reputation: 0
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.
 
Old 12-15-2007, 09:45 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 12-16-2007, 10:02 PM   #4
jcwebb
LQ Newbie
 
Registered: Mar 2003
Location: Florence, SC
Distribution: Redhat Linux 8.0, Fedora Core 3
Posts: 7

Rep: Reputation: 0
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.
 
Old 12-16-2007, 11:40 PM   #5
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by jcwebb View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i want to install newer amarok to install amarok xine engine amolgupta Linux - Software 1 04-24-2006 06:24 AM
Amarok Help! paraiso Linux - Software 2 02-26-2006 10:20 AM
amaroK complete database export WalGrom Linux - Software 2 10-18-2005 12:35 AM
Snort database: Closing connection to database "" Homer Glemkin Linux - Security 2 07-14-2005 06:58 PM
Amarok - How to clear database? rgbrock1 Linux - Software 2 06-14-2005 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration