mirror of
https://github.com/nims11/IPod-Shuffle-4g.git
synced 2025-12-08 00:18:01 +09:00
exclude podcasts from master playlist
This commit is contained in:
parent
571407953e
commit
7dc7d4ca91
1 changed files with 3 additions and 0 deletions
|
|
@ -589,6 +589,9 @@ class Playlist(Record):
|
||||||
for i in self.listtracks:
|
for i in self.listtracks:
|
||||||
path = self.ipod_to_path(i)
|
path = self.ipod_to_path(i)
|
||||||
position = -1
|
position = -1
|
||||||
|
if self["listtype"] == 1 and "/iPod_Control/Podcasts/" in path:
|
||||||
|
print ('not including podcast in master playlist: {}'.format(path))
|
||||||
|
continue
|
||||||
try:
|
try:
|
||||||
position = tracks.index(path)
|
position = tracks.index(path)
|
||||||
except:
|
except:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue