Coder Social home page Coder Social logo

ipod-shuffle-4g's Introduction

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

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

positional arguments:
  path                  iPod root/mountpoint. Default: script dirname

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
  • Google TTS

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-git (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

Mac OS X (suprise-surprise!)

Runs smoothly with VoiceOver feature disabled (who needs it anyway).

./shuffle.py --disable-voiceover

##TODO

  • Last.fm Scrobbler
  • Qt frontend

##EXTRA READING

ipod-shuffle-4g's People

Contributors

nims11 avatar ahippo avatar jdloft avatar atikhono avatar mburyakov avatar josefnpat avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.