Exported episodes not marked as "watched" after playing
See original GitHub issueI’m submitting a …
- [ x] bug report
- feature request
- support request
General infomration
Prerequisites
- [ x] Are you running the latest version?
Description
I exported a TV show. Now when I play an unwatched episode until the end, it isn’t marked as “watched”. However, if I manually select “mark as watched”, it is marked as watched.
Steps to Reproduce
- Export TV show
- Play unwatched episode
Expected behavior: [What you expected to happen]
The episode is marked as watched.
Actual behavior: [What actually happened]
The episode is not marked as watched.
Context (Environment)
Kodi built from source, using MySQL to store libraries.
Installation
- I installed the plugin via zip from the Releases page
- [ x] I´m using the Netflix Repo
- I´m using a different source (Please tell which)
Operating System
- [x ] Linux (x86/x64)
- OSX (x86/x64)
- Windows (x86/x64)
- Linux (ARM)
- Android
Additional informatin on the environment
Using MySQL to store libraries
Other information
After watching an exported episode, these queries are executed:
insert into files (idFile, idPath, strFileName) values(NULL, xxxxx, 'plugin://plugin.video.netflix/?action=play_video&video_id=xxxxxxxx') update files set playCount=1,lastPlayed='YYYY-MM-DD HH:mm:ss' where idFile=xxxxx
But when marking an episode as watched manually, I see these queries:
DEBUG: Mysql execute: delete from bookmark where idFile=xxxxx and type=1 DEBUG: Mysql execute: update files set playCount=1,lastPlayed='YYYY-MM-DD HH:mm:ss' where idFile=xxxxx
And I can see that the row was already in the table (inserted when exporting?), but strFileName is something like ‘SxxExx.strm’ instead of ‘plugin://plugin.video.netflix/?action=play_video&video_id=xxxxxxxx’.
So there is an inconsistency in the usage of strFileName on exported videos.
[e.g. detailed explanation, related issues, suggestions how to fix, links for us to have context, etc.]
Screenshots
[Please add a screenshot if that helps understanding your problem]
[You can erase any parts of this template not applicable to your Issue.]
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Yes, I’m using it as my daily driver. It works well, especially if you also implement #313 alongside it. I’m regularly pushing a “beta” version that includes these changes to my kodi repo at https://github.com/caphm/kodi-repo. Feel free to install from there 😃
Fixed with #293