ilyaz / PlexDownloader

102 stars 27 forks source link

Skipping half-watched episodes #14

Closed jtegiffel closed 9 years ago

jtegiffel commented 9 years ago

The logic to skip or include an movie/episode is incorrect: when I start watching an episode via Plex yet do NOT finish (say only watched 10%) the episode is skipped anyhow because of your logic In both plexdl.py and lib.py (double coded?)

try:
    #checks to see if episode has been viewed node is available
    tvviewcount = episode.attributes['lastViewedAt'].value
except:
    #if fails to find lastViewedAt will notify script that tv is unwatched 
    tvviewcount = "unwatched"
#checks if user wants unwatched only

I would prefer to include these <90% episodes as this is where I want to resume watching.

I would like to contribute and "fix" this myself however I fail to get to the episode-data from plex-server

jtegiffel commented 9 years ago

Okey I found the required info and implemented on my local plexdl ... now i have to figure out to get this back into the repository ....