2016-09-17, 08:01
Great, but since you have quoted me, how does that answer my question?
(2016-09-17, 15:08)jmh2002 Wrote: And?
My question was if Emby has been updated so that it can sync watched (and hopefully resume) status between multiple devices for streaming videos played via an addon such as YouTube, PBS, Vimeo, HGTV, DIY Network, GQ, etc, etc, etc?
If the answer is still 'no' (yes I have tested Emby in the past) then this is a major point which makes mySQL more suitable (for me) over Emby.
(2018-06-18, 07:37)ramonrue Wrote: Okay, so for anyone in need for this as well and using Kodi 18:It only worked for me when I adapted the script to specify the algorithm in creation of all views. This might be needed for some folks using MySQL (I'm running 5.7.23-0 on Ubuntu 18.04). I had to search/replace as following:
I updated the script to work with the new database format.
https://pastebin.com/93Wix9Ke
Just replace the string `NewUser` with your username, and let it run.
(2020-01-03, 22:41)ispeaknousa Wrote: Hello,(sorry for double post, I can't edit my message)
Here's yet another update of the script.
For who stumbles upon this message, this allows having a single media repository for multiple Kodi profiles (and clients for that matter), but with separate watch statuses among profiles.
Changes from the previous script:
- database name is now "MyVideos116" instead of "MyVideos110" (to be compatible with Kodi 18.5);
- updated the "files" table logic to also support different "watched" statuses across profiles (instead of only timestamps used for resuming playback).
The database must be handled before creating the new profile in Kodi.
Here are the steps:
1. take this script: https://paste.kodi.tv/upivadokof (mirror: https://pastebin.com/n1ZgLWpv);
2. replace "XXX" with the name of the new profile;
3. run the modified script;
4. create the new profile in Kodi with:
4.1. the name specified at 2.;
4.2. Media info > Separate;
4.2. Media sources > Shares with default (read only).
I repeat: this script is to be run before creating the profiles in Kodi.
The process can be repeated for as many profiles as you need (I'm using it for 7 people / profiles spread across 10 devices).
Happy New Year!
in which case the XXX from the previous post would be replaced by John.xml:<advancedsettings>
<videodatabase>
<name>John</name>
<type>mysql</type>
<host>MYSQL_HOST</host>
<port>MYSQL_PORT</port>
<user>MYSQL_KODI_USER</user>
<pass>MYSQL_KODI_PASS</pass>
</videodatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
</videolibrary>
</advancedsettings>