optroodt / daap-forward

Access remote DAAP servers via SSH on Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  ~ Linux Daap SSH Forward Script

  This script a modified version of Armin Ronacher's 
  daap-forward, so it works on Linux (tested on Ubuntu 14.04).
  For the lazy of us that use a remote DAAP server and want to
  connect to it via SSH port forwarding but can't remember the
  commands to run.


  Usage:
    1. Install avahi-utils: 'sudo apt-get install avahi-utils'
    2. Create a file called `~/.daapforward`
    3. Update config according to example below
    4. run `python daap-forward.py`
    5. Start iTunes and click on the daap share on the left
    6. \m/

  Config:

    # the name of the server that runs ssh.  If this is also
    # the server that runs the DAAP share, this is actually
    # all you have to put into the config
    ssh-server-name    example.com

    # this is the name of the user used for connecting.
    # empty or not specified means current user
    ssh-username       anne

    # if the DAAP server is running on a different computer
    # on the network the ssh server is on, you have to specify
    # this as well.  Otherwise localhost is assumed
    daap-server-name   localhost

    # the port the remote daap server runs on
    remote-daap-port   3689

    # the local port where daap should "run on"
    local-daap-port    3689

    # the name of the share.  Now this is the name that is
    # displayed in iTunes before you actually connect to the
    # share.  As soon as you are connected that name is
    # overridden with the actual name on the remote, so make
    # sure to keep them somewhat synchronized.
    share-name         Remote iTunes Share

  This script has bad code and just works good enough for
  accessing remote DAAP shares if you are lazy.  Use it in
  combination with dyndns or something for your mobile
  listening pleasure.

About

Access remote DAAP servers via SSH on Linux


Languages

Language:Python 100.0%