Merge pull request #34 from NicoHood/version15

Release 1.5
This commit is contained in:
Nimesh Ghelani 2020-06-09 22:49:16 +01:00 committed by GitHub
commit 410bd863a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 130 additions and 114 deletions

View file

@ -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.
```
@ -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
@ -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
@ -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`.
@ -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