Skip to main content

Command line interface for remote controlling a Freecom MusicPal

Project description

PyPI versio PyPi format PyPI license PyPi weekly downloads

musicpal

Command line interface for remote controlling a Freecom MusicPal media player.

The Freecom MusicPal is one of the early hardware media players / internet radios that was released around 2007.

At a price of 100-150 Euros, it was quite cheap and also hackable as it is running a Linux-based OS with easy debugging access and a published development toolchain.

The last stable firmware version 1.67 sports a 2.6.16 Linux kernel. All services are offered by a single application called Nashville which, unfortunately, is closed source.

Usage

usage: musicpal [--help] [-h HOSTNAME] [-u USERNAME] [-p PASSWORD] [-d] [-l]
                [command] [args ...]

Command line client for the Freecom MusicPal.

positional arguments:
  command               command for sending to the MusicPal device (default: state)
  args                  (optional) arguments for given command

optional arguments:
  --help                show this help message and exit
  -h HOSTNAME, --hostname HOSTNAME
                        IP or hostname of the MusicPal device (default: musicpal)
  -u USERNAME, --username USERNAME
                        username for HTTP authorization (default: admin)
  -p PASSWORD, --password PASSWORD
                        password for HTTP authorization (default: admin)
  -d, --debug           print additional output for debugging
  -l, --list            print list available API commands and exit

Available commands are:

Command Description Arguments
menu_collapse close menu on display None
play play media file HTTP URL
power_down suspend device None
power_up wake-up device None
show_list display a list list items to be shown
show_msg_box display a message box text to be shown
favorites list or select favorites None or favorite index (starting from 0)
info retrieve network information None
next_song skip to next favorite / playlist item None
now_playing print currently playing track None
play_pause toggle playback None
show_clock display clock None
volume_dec turn volume down None
volume_inc turn volume up None
volume_set print or set current volume None or value between 0 and 20
reboot reboot device None
restart restart Nashville None
state display various information about device state None

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

musicpal-0.2.1.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

musicpal-0.2.1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file musicpal-0.2.1.tar.gz.

File metadata

  • Download URL: musicpal-0.2.1.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for musicpal-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cb44be4b40b023f46ab510226567b90be05cc7d03092d1babb2d9737f92c34c4
MD5 4ff3a4bc16f12ff60a1b9e3d1d68524b
BLAKE2b-256 2859a695f3a66901317b24e51f5ec17b64828bbc46e6d75fb6754503b7b825c7

See more details on using hashes here.

File details

Details for the file musicpal-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: musicpal-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for musicpal-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f434a0bfb3547c5859c61cd4318656f3eb6b687c78e65247c2de65a0753632ce
MD5 86ce151b28e56612ca542cec73d1ff8b
BLAKE2b-256 a0db5e8d25ad2ee3fabd5a66f83cd75480a8ff07f64e08bc12e508fec02ddf1a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page