mirror of
https://github.com/nims11/IPod-Shuffle-4g.git
synced 2025-12-07 16:08:00 +09:00
podcasts should remember their last playback position
This commit is contained in:
parent
7dc7d4ca91
commit
368a9b2683
1 changed files with 2 additions and 0 deletions
|
|
@ -374,6 +374,7 @@ class Track(Record):
|
|||
if "/iPod_Control/Podcasts/" in filename:
|
||||
self.is_podcast = True
|
||||
self["dontskip"] = 0
|
||||
self["remember"] = 1
|
||||
|
||||
text = os.path.splitext(os.path.basename(filename))[0]
|
||||
|
||||
|
|
@ -388,6 +389,7 @@ class Track(Record):
|
|||
if "Podcast" in audio.get("genre", ["Unknown"]):
|
||||
self.is_podcast = True
|
||||
self["dontskip"] = 0
|
||||
self["remember"] = 1
|
||||
|
||||
# Note: Rythmbox IPod plugin sets this value always 0.
|
||||
self["stop_at_pos_ms"] = int(audio.info.length * 1000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue