Newbie/mac user in trouble

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1167
    motze
    Participant

    Hi – just purchased a slug – have had it unsling and now in serious trouble (from my point of view).

    I have a bad mp3 directory problem – since I’m a total newbie – the word “vi editor gives me the shivers”

    This is as far I have come – I’ve detected the problem (which I was aware of

    # /opt/sbin/mt-daapd -d9 -f  -m -c /opt/etc/mt-daapd/mt-daapd.conf
    Read web_root: /opt/share/mt-daapd/admin-root
    Read port: 3689
    Read admin_pw: mt-daapd
    Read db_dir: /opt/var/mt-daapd
    Read mp3_dir: /share/hdd/data/public/mp3
    Read servername: NSLU2 Music
    Read runas: guest
    Read playlist: /opt/etc/mt-daapd/mt-daapd.playlist
    Read extensions: .mp3,.m4a,.m4p
    Read rescan_interval: 600
    Read always_scan: 0
    Checking existence of /share/hdd/data/public/mp3
    Bad mp3 directory (/share/hdd/data/public/mp3): No such file or directory
    Error reading config file (/opt/etc/mt-daapd/mt-daapd.conf)

    #

    Still – using the

     # vi /opt/etc/mt-daapd/mt-daapd.conf

    gives me the following message:

    # vi opt/etc/mt-daapd/mt-daapd.conf

    # $Id: mt-daapd.conf 1148 2005-02-15 03:35:19Z rpedde $
    #
    # This is the mt-daapd config file.
    #
    # If you have problems or questions with the format of this file,
    # direct your questions to [email protected].
    #
    # You can also check the website at http://mt-daapd.sourceforge.net,
    # as there is a growing documentation library there, peer-supported
    # forums and possibly more.
    #

    #
    # web_root (required)
    #
    # Location of the admin web pages. If you installed from
    # ipk, this is correct
    #

    web_root /opt/share/mt-daapd/admin-root

    #
    # port (required)
    "opt/etc/mt-daapd/mt-daapd.conf" line 1 of 249 --0%--









    # $Id: mt-daapd.conf 1148 2005-02-15 03:35:19Z rpedde $
    #
    # This is the mt-daapd config file.
    #
    # If you have problems or questions with the format of this file,
    # direct your questions to [email protected].
    #
    # You can also check the website at http://mt-daapd.sourceforge.net,
    # as there is a growing documentation library there, peer-supported
    # forums and possibly more.
    #

    #
    # web_root (required)
    #
    # Location of the admin web pages. If you installed from
    # ipk, this is correct
    #

    web_root /opt/share/mt-daapd/admin-root

    #
    # port (required)

    And this is where I as a mac user and newbie gets scared – I only want to change the directory from

    share/hdd/data/mp3

    to

    share/flash/data/mp3

    Are there anyone outthere who can se I have done something wrong, and have guidelines to fix it (which will make me come back with a lot of questions) or any who knows that I only have to … and then type in whatever I need to paste into the termininal to change the directory.

    Much appriciated if you could help me
    Morten

    #9492
    rpedde
    Participant

    @motze wrote:

    Still – using the

     # vi /opt/etc/mt-daapd/mt-daapd.conf

    gives me the following message:
    [/code]

    That’s no message, that’s the editing program!

    Still, vi is pretty ugly. You might try nano:


    # ipkg install nano
    # export term=vt100
    # nano /opt/etc/mt-daapd/mt-daapd.conf

    Then you can scroll with the cursor keys (or ctrl-n), and scroll down the lin that says:


    mp3_dir /share/hdd/data/mp3

    Press “ctrl-k” while you are sitting on that line. Then, add the line you want:


    mp3_dir /share/flash/data/mp3

    Then “ctrl-w” to write the file and “ctrl-x” to exit.

    If you make a mistake, just do “ctrl-x” to exit, and tell it you don’t want to save when it asks.

    You should be good then.

    NOTE: Make sure you are using putty, not windows telnet!

    — Ron

    #9493
    motze
    Participant

    I installed nano (with succes) but when using the code

    # export term=vt100
    # nano /opt/etc/mt-daapd/mt-daapd.conf

    I was greeted with a bad directory message.

    But since I had taken notice of your

    That’s no message, that’s the editing program!

    I decided that I would give vi a go anyway – I found out that in the mac’s terminal only a small part of the conf. file was shown – old news to most of you but very new to me.

    Yesterday I had printed out a vi reference card and followed these guides together with the commands that you had sent me – and after having messed around for a few minuttes – things started to make sense and I now finally have a good slug runnning as Itunes server – thanks a million for helping me with the first steps.

    regards
    Morten

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.