4th gen IPod Shuffle songs and playlist tool.
Find a file
2016-01-24 12:10:25 +01:00
docs Update iTunesSD3gen.md 2016-01-24 12:10:25 +01:00
.gitignore Initial Commit 2013-10-11 20:34:14 +05:30
COPYING license 2013-10-11 20:35:49 +05:30
README.md Added local shuffle3db docs 2016-01-17 11:12:34 +01:00
shuffle.py Safe file handling, closes #18 2016-01-23 23:02:27 +05:30

IPod Shuffle 4g Scripts

##shuffle.py

Python script for building the Track and Playlist database for the newer gen IPod Shuffle. Forked from the shuffle-db-ng project

Just put your audio files into the mass storage of your IPod and shuffle.py will do the rest

$ python shuffle.py -h
usage: shuffle.py [-h] [--disable-voiceover] [--rename-unicode]
                  [--track-gain TRACK_GAIN]
                  path

positional arguments:
  path

optional arguments:
  -h, --help            show this help message and exit
  --disable-voiceover   Disable Voiceover Feature
  --rename-unicode      Rename Files Causing Unicode Errors, will do minimal
                        required renaming
  --track-gain TRACK_GAIN
                        Store this volume gain (0-99) for all tracks; 0
                        (default) means no gain and is usually fine; e.g. 60
                        is very loud even on minimal player volume

Additions to the original

  • Option to disable voiceover
  • Initialize the IPod Directory tree
  • Using the --rename-unicode flag, filenames with strange characters and different language are renamed which avoids the script to crash with a Unicode Error

Dependencies

This script requires:

Ubuntu

apt-get install python-mutagen libttspico*

Arch Linux

From the Extra repository: pacman -S python2 mutagen and from the AUR: svox-pico-bin (link)

Gentoo Linux
PYTHON_TARGETS="python2_7" emerge -av media-libs/mutagen
layman --add=ikelos
layman --overlays="https://raw.githubusercontent.com/ahippo/rhvoice-gentoo-overlay/master/repositories.xml" --fetch --add=ahippo-rhvoice-overlay
ACCEPT_KEYWORDS="~amd64" emerge -av app-accessibility/svox app-accessibility/rhvoice

References to the overlays above: ikelos, ahippo-rhvoice-overlay

##TODO

  • Last.fm Scrobbler
  • Qt frontend

##EXTRA READING

The original shuffle3db website went offline. This repository contains a copy of the information inside the docs folder. Original data can be found via wayback machine.