Skip to content

Enhancement - Add a ShoutCast browser or a way to process .pls files via the iPhone #10

Description

@GoogleCodeExporter
Would like the ability to play ShoutCast streams on my MPD server by
selecting them with the iPhone.  Would go something like this:

1. Open impdclient or Safari and browse the ShoutCast.com directory of
stations.

2. Press Tune In and have impdclient parse the .pls file and pass the
stream path to the MPD server

3. Enjoy streamed music!

I have a shell script that does this on my Unbuntu system.  I had to
associate .pls files with it in Firefox, but I'm now able to click the Tune
In and have my music start.  Here are the contents of my shell script:

#!/usr/bin/env sh
export MPD_PORT=6600
export MPD_HOST=192.168.0.1
echo parameter: file.pls
mpc clear
grep '^File[0-9]*' $1 | sed -e 's/^File[0-9]*=//' | mpc add
mpc play

Thanks for the awesome player, even if this does not get accepted!

Original issue reported on code.google.com by stromcoo...@gmail.com on 5 Jan 2009 at 9:12

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions