ipodshuffle¶
-
class
ipodshuffle.Shuffle(base)¶ Parameters: base – iPod base path -
enable_voiceover¶ boolean. enable or disable VoiceOver
-
voice_path_func¶ callable object or None. when set x.voice, will call it if it’s Not None and enable_voiceover is True
-
max_volume¶ integer. 0 do not limit, 3-20 is legal value to limit volume
-
playlists¶ list-like object, store all playlists
-
audiodb¶ store audio. if you don’t want to copy file to ipod, you can use this
is an instance of
ipodshuffle.shuffle.AudioDB
-
create_track(path_in_ipod=None, checksum=None)¶ Parameters: - path_in_ipod – the path of audio file in the iPod base
- checksum – CHECKSUM of the audio file in member audiodb
Returns: a new Track, you may want append it to the playlist.tracks
-
create_playlist(pl_type=None)¶ Parameters: pl_type – one in (MASTER, NORMAL, PODCAST, AUDIOBOOK) Returns: a new PlayList, you may want append it to the playlists
-
-
class
ipodshuffle.Playlist(shuffle, playlist_type=None, playlistdb=None)¶ -
type¶ MASTER, NORMAL, PODCAST or AUDIOBOOK. Can not change
-
tracks¶ list-like, store all tracks of this playlist
-
voice¶ tuple. contain text and lang code
-