Skip to content

Commit

Permalink
Merge pull request #34 from NicoHood/version15
Browse files Browse the repository at this point in the history
Release 1.5
  • Loading branch information
nims11 authored Jun 9, 2020
2 parents 9b72013 + ddf4f5b commit 410bd86
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 115 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Python script for building the Track and Playlist database for the newer gen IPod Shuffle.
Forked from the [shuffle-db-ng project](https://code.google.com/p/shuffle-db-ng/)
and improved my nims11 and NicoHood.

Just put your audio files into the mass storage of your IPod and shuffle.py will do the rest.
```
Expand All @@ -13,7 +14,7 @@ usage: ipod-shuffle-4g.py [-h] [-t] [-p] [-u] [-g TRACK_GAIN]
path
Python script for building the Track and Playlist database for the newer gen
IPod Shuffle. Version 1.4
IPod Shuffle. Version 1.5
positional arguments:
path Path to the IPod's root directory
Expand Down Expand Up @@ -50,7 +51,9 @@ optional arguments:
#### Dependencies

This script requires:
* [Python 2.7](http://www.python.org/download/releases/2.7/)
* [Python 3](https://www.python.org/download/releases/3.0/)

Optional album/artist and auto-id3-playlists support:
* [Mutagen](https://code.google.com/p/mutagen/)

Optional Voiceover support
Expand All @@ -61,25 +64,25 @@ Optional Voiceover support

##### Ubuntu

`apt-get install python-mutagen libttspico*`
`apt-get install python3 python-mutagen libttspico*`

##### Arch Linux

From the **Extra** repository: `pacman -S python2 mutagen` and optional `pacman -S espeak` or from the AUR: `svox-pico-bin` ([link](https://aur.archlinux.org/packages/svox-pico-bin/))
From the **Extra** repository: `pacman -S python` and optional `pacman -S python-mutagen espeak` or from the AUR: `svox-pico-bin` ([link](https://aur.archlinux.org/packages/svox-pico-bin/))

You can also [install the script from AUR](https://aur.archlinux.org/packages/ipod-shuffle-4g/).

##### Gentoo Linux

```bash
PYTHON_TARGETS="python2_7" emerge -av media-libs/mutagen
PYTHON_TARGETS="python3" 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](http://git.overlays.gentoo.org/gitweb/?p=dev/ikelos.git;a=summary), [ahippo-rhvoice-overlay](https://github.com/ahippo/rhvoice-gentoo-overlay)

##Tips and Tricks
## Tips and Tricks

#### Disable trash for IPod
To avoid that linux moves deleted files into trash you can create an empty file `.Trash-1000`.
Expand Down Expand Up @@ -145,6 +148,10 @@ Original data can be found via [wayback machine](https://web.archive.org/web/201
# Version History

```
1.5 Release (09.06.2020)
* Port Script to Python3
* Mutagen support is now optional
1.4 Release (27.08.2016)
* Catch "no space left" error #30
* Renamed --voiceover to --track-voiceover
Expand Down
Loading

0 comments on commit 410bd86

Please sign in to comment.