LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2008, 07:51 PM   #1
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Rep: Reputation: 30
How do I scan a network attached drive with Amarok's first run wizard for media?


I want Amarok's wizard to know to look at my shared network drive for music, movies and photos. This is the path to my NAS (as described via Konqueror):
smb://mybookworld/PUBLIC

The Amarok wizard says:
Please select the folders on the right where your music files are stored.
Doing so is highly recommended, and will enhance the features available to you.
If you wish, Amarok is able to monitor these folders for new files and can automatically add them to the collection.

The folders it lists of course isn't my smb://... shares, but instead these:
/
bin
boot
dev
etc
home
lib
lost+found
media
mnt
opt
proc
root
sbin
selinux
sys
tmp
usr
var

Would my Samba shares be found under any of these subdirectories? How do I have my music players build a database of media when it lives outside my PC?
 
Old 12-17-2008, 09:44 PM   #2
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
beeble,

Your answer really depends on you samba configuration. Where do you usually have samba mount shares? I can't remember where the default mount points are, but I'm sure a quick look at a man page would help you if you are still using the defaults. If you have the networked shares mounted on your file system and know where they're mounted, there should be nothing keeping you back from using amarok to scan them for music.

If you've found that your box complies with everything above, then perhaps you're having some sort of permissions issue and can only access the samba shares as super-user?

Let us know if you have any progress.
 
Old 12-18-2008, 05:03 PM   #3
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Original Poster
Rep: Reputation: 30
thx gankoji.


The answer to my last question is:
Mount the samba shares on my file system. After that use Amarok's wizard, browse those directories and enjoy.

Tidbits:
http://linux.byexamples.com/archives...a-samba-point/
http://ubuntuforums.org/showthread.php?t=473130
http://ubuntuforums.org/showthread.php?t=202605
http://ubuntuforums.org/showthread.php?t=249889
https://help.ubuntu.com/community/Se...600732832d47ef

http://www.mepis.org/docs/en/index.php/Automount_drives
http://www.mepis.org/docs/en/index.php/Automount
http://www.mepis.org/docs/en/index.php/Using_SAMBA


I'm away from system right now, but will work, return & report.
 
Old 12-21-2008, 09:59 PM   #4
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Original Poster
Rep: Reputation: 30
Mmmkay.

I installed a number of smb-related programs via Synaptic Package Manager, including smb4k. Had a little trouble with launching it -- was typing "smb4k" and then <ctl-c>'ing out of it from the command line (was running in foreground - doh) -- eventually launched it by typing "smb4k &" per the documentation and after schlepping through Smb4k settings this SMB-CIFS frontend is starting upon bootup. I now have a new folder on my drive under /home/beeblequix/smb4k/MYBOOKWORLD/PUBLIC (also lists ...IPC$). But it doesn't let me just launch Konqueror and browse on into it. Had to set up KDE Wallet for authentication and must supply my password. Now I click the Smb4k application running in the lower right of the KDE Panel which shows my workgroup. Clicking my workgroup requires me to enter my KDE Wallet password, and upon doing that my workgroup computers including my NAS is sitting right there. I browse to the PUBLIC 'network' item from within the Smb4k frontend in the left pane and click on the //MYBOOKWORLD/PUBLIC 'Item' in the right pane. A Konqueror folder pops up and I can finally access the folders under /home/beeblequix/smb4k/MYBOOKWORLD/PUBLIC like I'm used to.

Which brings me back to my original question. Undert Configure Amarok --> Collection I checked /home/beeblequix/music and /home/beeblequix/smb4k/MYBOKOWORLD/PUBLIC/audio for the Collection Folders to be searched. Then I selected Tools --> Rescan Collectoin to build a SQLite database of my modest ~19GB audio file collection (took a few minutes). I'm in business. Amarok is pretty cool.

Hope this anecdote helps someone else.

Last edited by beeblequix; 12-21-2008 at 10:10 PM.
 
Old 01-05-2009, 08:31 PM   #5
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Original Poster
Rep: Reputation: 30
Followup 2:

Found that Komba2 is easier out-of-the-box than SMB4k. Was having some sort of permissions issue with SMB4k that would let me read the mounted shares but not add/change anything (I think not even as root which was just silly). Komba2 on the other hand is exactly what I wanted on my home network. It also doesn't require me to use a Kwallet.
 
  


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
Network wizard now handles Ndiswrapper! rarsa Puppy 6 01-21-2007 12:30 AM
Network Configuration Hanging in FC4 After Using Wireless Network Wizard Trip in VA Linux - Wireless Networking 2 07-18-2005 08:32 AM
network configuration wizard bobbens Debian 2 12-31-2004 04:07 AM
Question to a network wizard vintermann Linux - Networking 2 03-22-2004 07:37 AM
how to run drake wizard from command line balam Linux - Distributions 0 06-06-2003 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 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