Jump to content

embyforkodi (next-gen) 6.X.X support


Recommended Posts

quickmic
Posted
4 hours ago, t123thomas said:

Hi Quickmic, I noticed, that 6.2.2 is constantly disconnecting from server, it disconnect and reestablish again in short period.

Log

Please update to latest stable version or even better, try the beta.

t123thomas
Posted
8 hours ago, quickmic said:

Please update to latest stable version or even better, try the beta.

I shall and report back.

  • Like 1
  • 3 weeks later...
Posted

Hello,

Is there any way I can use addon mode and still use an external player in Kodi?  The only feature I really use emby for is managing my media files - I don't care about any of the other features really.  I had a kid recently and have used Kodi since Leia.  Before I ran in native mode and while it worked, it would never mark anything as watched, which was annoying. 

 

I upgraded to latest Kodi and reinstalled everything and chose to not use add-on mode to see if it would work, but I have the same issue as before with it not passing the network path.  My Kodi instance is running on a windows 10 box and my emby instance is running on ubuntu headless server.

quickmic
Posted
1 minute ago, tenaz said:

but I have the same issue as before with it not passing the network path.

Can you elaborate? If native mode is not working, two issues comes to mind.

Either, network path is correct, but Kodi has no access

or

network path is not correctly passed to Kodi (this would be a config issue on Emby server -> library network path)

Posted
41 minutes ago, quickmic said:

Can you elaborate? If native mode is not working, two issues comes to mind.

Either, network path is correct, but Kodi has no access

or

network path is not correctly passed to Kodi (this would be a config issue on Emby server -> library network path)

I mean, I'm not using native mode - I'm using add-on mode because It thought it was possible to pass the correct path now based on the docs.  Is it still not possible and I should stick to native mode?

I don't see where I would set up the below mentioned simple play settings.

Version 4.0.13a

 

Changes:

  • New "simple play" settings for add-on playback, under add-on settings > playback. The setting allows playback to resolves with a single video, ignoring cinema mode and additional parts to make it compatible with external player playback.
quickmic
Posted
2 minutes ago, tenaz said:

I mean, I'm not using native mode - I'm using add-on mode because It thought it was possible to pass the correct path now based on the docs.  Is it still not possible and I should stick to native mode?

I don't see where I would set up the below mentioned simple play settings.

Version 4.0.13a

 

Changes:

  • New "simple play" settings for add-on playback, under add-on settings > playback. The setting allows playback to resolves with a single video, ignoring cinema mode and additional parts to make it compatible with external player playback.

Hold on, you are using 4.0.13a? This is not a next-gen version. It's not even the latest 4.x version.

Please install next-gen 6.2.15 or even better 6.2.20 from emby's kodi repo.

 

Posted
On 7/8/2022 at 1:09 AM, quickmic said:

Hold on, you are using 4.0.13a? This is not a next-gen version. It's not even the latest 4.x version.

Please install next-gen 6.2.15 or even better 6.2.20 from emby's kodi repo.

 

I am using 6.2.2, but that was the only place I found a mention of external players.

  • Like 1
quickmic
Posted
9 hours ago, tenaz said:

I am using 6.2.2, but that was the only place I found a mention of external players.

Please send me your external player configuration.

RaptorCentauri
Posted

Hey @quickmic on the multiversion select window, is it possible to list the runtime of the movie? So it would look something like this?

Theatrical Cut - 2Hrs 5Min

Extended Cut - 2Hrs 20min

  • Like 1
Posted
21 hours ago, quickmic said:

Please send me your external player configuration.

So, I reinstalled MPC-HC to the latest version to fix a different problem and it started working - then it didn't work again after a couple reboots, so I switched to 7.5.2 and it's working again for external, but not internal. I'll post over in that thread.

  • Like 1
quickmic
Posted (edited)
14 hours ago, RaptorCentauri said:

Hey @quickmic on the multiversion select window, is it possible to list the runtime of the movie? So it would look something like this?

Theatrical Cut - 2Hrs 5Min

Extended Cut - 2Hrs 20min

I'll check if possible without too much effort.

Edited by quickmic
quickmic
Posted (edited)

To all users:

If you are updating to Emby server 4.8.0.4 (currently beta) and higher, a full database is mandatory! Currently, the plugin will not perform a reset automatically.

Let me know if you expect any issues, I'll perform some tests in the next days

Edited by quickmic
t123thomas
Posted (edited)

Hi Quickmic, I returned to 6.15, wondering if you could add fix vaccum database function to 6.15, I noticed it was added to 7.X.X. This function is also added to emby server when I initiated it, I saw an improvement.

 

Thanks 

Edited by t123thomas
quickmic
Posted
3 minutes ago, t123thomas said:

Hi Quickmic, I returned to 6.15, wondering if you could add fix vaccum database function to 6.15, I noticed it was added to 7.X.X. This function is also added to emby server when I initiated it, I saw an improvement.

 

Thanks 

Sorry, but I'll not add additional features in 6.x. just bugfixes.

Actually 6.x will be the Kodi 18 version. Kodi 19 users should migrate to 7.X (as soon as it's tagged as beta/stable)

quickmic
Posted

6.2.20 is now moved from beta to stable

t123thomas
Posted

Hi 6.2.20

log

installed generated error

2022-07-15 13:37:56.041 T:2604    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'sqlite3.OperationalError'>
                                                   Error Contents: no such column: library_type
                                                   Traceback (most recent call last):
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 140, in <module>
                                                       ServersConnect()  # Waiting/blocking function till Kodi stops
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 32, in ServersConnect
                                                       while not Monitor.ServerConnect(ServerSettings):
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\hooks\monitor.py", line 162, in ServerConnect
                                                       server_id, EmbyServer = EmbyServerObj.register()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\emby\emby.py", line 185, in register
                                                       if self.start():
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\emby\emby.py", line 126, in start
                                                       self.library.load_settings()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\library.py", line 117, in load_settings
                                                       embydb.init_EmbyDB()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\emby_db.py", line 24, in init_EmbyDB
                                                       self.cursor.execute("DELETE FROM Whitelist WHERE library_type = 'boxsets'")
                                                   sqlite3.OperationalError: no such column: library_type
                                                   -->End of Python script error report<--
quickmic
Posted (edited)
5 minutes ago, t123thomas said:

Hi 6.2.20

log

installed generated error

2022-07-15 13:37:56.041 T:2604    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'sqlite3.OperationalError'>
                                                   Error Contents: no such column: library_type
                                                   Traceback (most recent call last):
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 140, in <module>
                                                       ServersConnect()  # Waiting/blocking function till Kodi stops
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 32, in ServersConnect
                                                       while not Monitor.ServerConnect(ServerSettings):
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\hooks\monitor.py", line 162, in ServerConnect
                                                       server_id, EmbyServer = EmbyServerObj.register()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\emby\emby.py", line 185, in register
                                                       if self.start():
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\emby\emby.py", line 126, in start
                                                       self.library.load_settings()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\library.py", line 117, in load_settings
                                                       embydb.init_EmbyDB()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\emby_db.py", line 24, in init_EmbyDB
                                                       self.cursor.execute("DELETE FROM Whitelist WHERE library_type = 'boxsets'")
                                                   sqlite3.OperationalError: no such column: library_type
                                                   -->End of Python script error report<--

Are you absolutely sure? I tested 6.2.20 gazillion times and never had this issue. I know you are switching a lot between 7.x and 6.x, and this sounds like 6.x tries to access a 7.x database.

Please wipe Kodi database and confirm this issue. I'll also perform another test...

Edited by quickmic
quickmic
Posted

Just performed another test, so far perfect. Continuing review...

quickmic
Posted (edited)

I performed a test from scratch (blank Kodi), tested realtime updates, tested startup updates, tested boxset refresh (your log shows issues there) nothing, all good here. I continue review...

 

Edit:

Still no issues found. If anybody else has this issue, please let me know.

btw. 6.2.20 was tagged as beta over a month. Nobody reported any issues yet, which doesn't necessarily mean it's free of bugs 😉

Edited by quickmic
t123thomas
Posted
7 hours ago, quickmic said:

I performed a test from scratch (blank Kodi), tested realtime updates, tested startup updates, tested boxset refresh (your log shows issues there) nothing, all good here. I continue review...

 

Edit:

Still no issues found. If anybody else has this issue, please let me know.

btw. 6.2.20 was tagged as beta over a month. Nobody reported any issues yet, which doesn't necessarily mean it's free of bugs 😉

You are right, because I was having issues with 7.xx, so I revert to 6.2.20 for some reason it wont load so I have to reset kodi to factory then load 6.2.20 everything was fine.

Apology for the trouble.

 

  • Like 1
LichenKing
Posted (edited)

Wrong thread. Please ignore post.

Edited by LichenKing
BuzStringer
Posted

Hi, using the latest 6.2.20. Kodi 19

When i delete something (Context Menu - Emby Options - Delete from emby)

It still remains in the Kodi library,

i either have to select it and Kodi says "This file is no longer available, would you like to remove it" and press yes. Or clean the library (which takes a few minutes)

Not really an issue if I'm deleting one or two things but deleting a whole series is time consuming.

Is it possible to have emby/Kodi auto remove the files i delete from the library?

  • Like 1
quickmic
Posted
9 hours ago, BuzStringer said:

Hi, using the latest 6.2.20. Kodi 19

When i delete something (Context Menu - Emby Options - Delete from emby)

It still remains in the Kodi library,

i either have to select it and Kodi says "This file is no longer available, would you like to remove it" and press yes. Or clean the library (which takes a few minutes)

Not really an issue if I'm deleting one or two things but deleting a whole series is time consuming.

Is it possible to have emby/Kodi auto remove the files i delete from the library?

It should be removed from Kodi library too. Sounds like a bug, I'll review the code.

  • Like 1
BuzStringer
Posted
7 hours ago, quickmic said:

It should be removed from Kodi library too. Sounds like a bug, I'll review the code.

That's awesome thank you

quickmic
Posted (edited)
2 hours ago, BuzStringer said:

That's awesome thank you

I tested and movie was removed instantly from Kodi library. When it happens again, send me the kodi.log (don't restart Kodi, this would clear the log).

I used addon mode.

Edited by quickmic
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...