Jump to content

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


quickmic

Recommended Posts

BaukeZwart
47 minutes ago, benq999 said:

Movies and tv shows with external srt subtitle won't play unless I change the name of srt-file to moviename.NO.srt. All my srt-files are named moviename.srt. Tested on Win 10 and Shield.

What's the preferred subtitele language set to in Kodi. 

Link to comment
Share on other sites

benq999
1 hour ago, BaukeZwart said:

What's the preferred subtitele language set to in Kodi. 

Norwegian, but it doesn't seem to matter. As long as the name of the subtitle file is moviename.srt the movie wont play (eventually some error). While if the filename is moviname.anything.srt the movie plays fine.

Link to comment
Share on other sites

BaukeZwart

OK I misunderstood your post, I thought that the Movie/series played but no subtitels. 
I never seen a file not being played because of a missing language tag on the srt.

Link to comment
Share on other sites

heula

For quite some time now I have an issue with playing video on Kodi after my Shield TV 2019 wakes from sleep and Kodi is still open.

It does not always happen but often enough it does  happen that when I hit the play button to start an episode I hear it is playing but Kodi remains at page I was and there is no video visual playing but only audio. This can only be fixed by restarting Kodi.

At first I thought this was a Kodi issue but after some testing with the Emby for Kodi (Next gen) disabled it did not happen and I tested more than ones.

kodi.log

Edited by heula
Link to comment
Share on other sites

hstamas
9 hours ago, heula said:

For quite some time now I have an issue with playing video on Kodi after my Shield TV 2019 wakes from sleep and Kodi is still open.

It does not always happen but often enough it does  happen that when I hit the play button to start an episode I hear it is playing but Kodi remains at page I was and there is no video visual playing but only audio. This can only be fixed by restarting Kodi.

At first I thought this was a Kodi issue but after some testing with the Emby for Kodi (Next gen) disabled it did not happen and I tested more than ones.

kodi.log 814.29 kB · 2 downloads

This happens to me all the time. Same thing will happen if I leave a video playing and change inputs on my TV. When I return to Kodi it starts playing again but I only get audio. I can bring up the OSD as well but no video. Eventually it will buffer and stop. I don't have to quit Kodi to fix it though, just stoping and starting again brings back the video. It did this when I was using an Nvidia Shield 2017 and still does using the built in Android TV on my new Sony TV.

I suspect this is some sort of EDID issue with the TV itself and not Kodi per say. I don't have any other software that tries to continue playing after sleep or input change so I cant verify that.

  • Thanks 1
Link to comment
Share on other sites

t123thomas

Hi Quickmic, Please advise if my thought process make sense, I have Libreelec on Winodws Gen X86 i5, very fast to cache Thumsnails to local drive which make the fanarts etc to load faster when navigating through the movies and Tv shoes collections. What I wanted to do is to transfer or copy the Folder to another Libreelec that is runing on Amlogic as this less powerful and takes forever to cache to local drive,  will this work without causing any issue as both have diff users?

Here are files that I intend to copy as you can see the Thumbails is closed to 9.5gb which a lot of catche

Thanks

Database.PNG

Thumbnails.PNG

Edited by t123thomas
Link to comment
Share on other sites

Home2008

I still have no synchronisation of the music with the .7 experimental! I have already deleted the local DB and had everything read in again. It all helps nothing! What can I do?
With the Beta .6 I no longer had a sync for TV shows.

Link to comment
Share on other sites

quickmic
25 minutes ago, Home2008 said:

I still have no synchronisation of the music with the .7 experimental! I have already deleted the local DB and had everything read in again. It all helps nothing! What can I do?
With the Beta .6 I no longer had a sync for TV shows.

Can you please upload a kodi.log after initiating music sync?

Link to comment
Share on other sites

quickmic
3 hours ago, Home2008 said:

kodi.zip 72.5 kB · 1 download

Update is running until 5%.

I see the problem, can you provide me with a test account on your emby server via internet? Please send me a account via PM.

Link to comment
Share on other sites

Home2008
Oh, I don't know how A guest account on the server, and the IP of the server? Would a port then have to be released in the Fritzbox?
Link to comment
Share on other sites

quickmic
On 4/27/2021 at 2:49 AM, t123thomas said:

Hi Quickmic, Please advise if my thought process make sense, I have Libreelec on Winodws Gen X86 i5, very fast to cache Thumsnails to local drive which make the fanarts etc to load faster when navigating through the movies and Tv shoes collections. What I wanted to do is to transfer or copy the Folder to another Libreelec that is runing on Amlogic as this less powerful and takes forever to cache to local drive,  will this work without causing any issue as both have diff users?

Here are files that I intend to copy as you can see the Thumbails is closed to 9.5gb which a lot of catche

Thanks

Database.PNG

Thumbnails.PNG

I never tried with different users. Probably it will will work, but you must also copy/replace the texture13.db to your devices.

.kodi/userdata/Database/texture13.db

.kodi/userdata/userdata/Thumbnails/*

 

Link to comment
Share on other sites

quickmic
5 minutes ago, Home2008 said:

Oh, I don't know how A guest account on the server, and the IP of the server? Would a port then have to be released in the Fritzbox?

Hmm, ok. Probably a teamviewer session (in the next days)? The issue is not easy to debug, otherwise I wouldn't ask for.

Link to comment
Share on other sites

quickmic
2 minutes ago, quickmic said:

Hmm, ok. Probably a teamviewer session (in the next days)? The issue is not easy to debug, otherwise I wouldn't ask for.

The problem is somewhere here:

 

2021-05-01 17:42:08.467 T:21300    INFO <general>: INFO: EMBY.core.music.Music: UPDATE album [143] Back Home: 6931
2021-05-01 17:42:08.494 T:21300    INFO <general>: INFO: EMBY.core.music.Music: UPDATE album [144] Another Ticket (Vinyl LP): 6930
2021-05-01 17:42:08.644 T:21300   ERROR <general>: ERROR: EMBY.database.database: type: <class 'KeyError'> value: 'Type'
2021-05-01 17:42:08.644 T:21300    INFO <general>: INFO: EMBY.database.database: [emby] 914 rows updated.
2021-05-01 17:42:08.655 T:21300   ERROR <general>: ERROR: EMBY.database.database: type: <class 'KeyError'> value: 'Type'
2021-05-01 17:42:08.655 T:21300    INFO <general>: INFO: EMBY.database.database: [music] 5949 rows updated.
2021-05-01 17:42:08.724 T:21300   ERROR <general>: Exception in thread 
2021-05-01 17:42:08.724 T:21300   ERROR <general>: Thread-5
2021-05-01 17:42:08.724 T:21300   ERROR <general>: :
                                                   
2021-05-01 17:42:08.724 T:21300   ERROR <general>: Traceback (most recent call last):
                                                   
2021-05-01 17:42:08.724 T:21300   ERROR <general>:   File "/mnt/expand/1dcc77c3-4427-401a-954b-1eec12fe5d29/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner
                                                   
2021-05-01 17:42:08.731 T:21300   ERROR <general>:     
2021-05-01 17:42:08.731 T:21300   ERROR <general>: self.run()
2021-05-01 17:42:08.731 T:21300   ERROR <general>: 
                                                   
2021-05-01 17:42:08.731 T:21300   ERROR <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 125, in run
                                                   
2021-05-01 17:42:08.734 T:21300   ERROR <general>:     
2021-05-01 17:42:08.734 T:21300   ERROR <general>: self.sync.FullSync()
2021-05-01 17:42:08.734 T:21300   ERROR <general>: 
                                                   
2021-05-01 17:42:08.734 T:21300   ERROR <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/sync.py", line 110, in FullSync
                                                   
2021-05-01 17:42:08.737 T:21300   ERROR <general>:     
2021-05-01 17:42:08.737 T:21300   ERROR <general>: if not self.process_library(library):
2021-05-01 17:42:08.737 T:21300   ERROR <general>: 
                                                   
2021-05-01 17:42:08.737 T:21300   ERROR <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/sync.py", line 159, in process_library
                                                   
2021-05-01 17:42:08.739 T:21300   ERROR <general>:     
2021-05-01 17:42:08.739 T:21300   ERROR <general>: self.music(library)
2021-05-01 17:42:08.739 T:21300   ERROR <general>: 
                                                   
2021-05-01 17:42:08.739 T:21300   ERROR <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/sync.py", line 307, in music
                                                   
2021-05-01 17:42:08.742 T:21300   ERROR <general>:     
2021-05-01 17:42:08.742 T:21300   ERROR <general>: MusicObject.song(song, library)
2021-05-01 17:42:08.742 T:21300   ERROR <general>: 
                                                   
2021-05-01 17:42:08.743 T:21300   ERROR <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/core/music.py", line 278, in song
                                                   
2021-05-01 17:42:08.747 T:21300   ERROR <general>:     
2021-05-01 17:42:08.747 T:21300   ERROR <general>: self.song_add(obj)
2021-05-01 17:42:08.747 T:21300   ERROR <general>: 
                                                   
2021-05-01 17:42:08.747 T:21300   ERROR <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/core/music.py", line 315, in song_add
                                                   
2021-05-01 17:42:08.750 T:21300   ERROR <general>:     
2021-05-01 17:42:08.750 T:21300   ERROR <general>: obj['AlbumId'] = self.MusicDBIO.get_album(*self.EmbyServer.Utils.values(obj, queries_music.get_single_obj82))
2021-05-01 17:42:08.750 T:21300   ERROR <general>: 
                                                   
2021-05-01 17:42:08.750 T:21300   ERROR <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/helper/utils.py", line 358, in <genexpr>
                                                   
2021-05-01 17:42:08.756 T:21300   ERROR <general>:     
2021-05-01 17:42:08.756 T:21300   ERROR <general>: return (item[key.replace('{', "").replace('}', "")] if isinstance(key, str) and key.startswith('{') else key for key in keys)
2021-05-01 17:42:08.756 T:21300   ERROR <general>: 
                                                   
2021-05-01 17:42:08.757 T:21300   ERROR <general>: KeyError
2021-05-01 17:42:08.757 T:21300   ERROR <general>: : 
2021-05-01 17:42:08.757 T:21300   ERROR <general>: 'Type'
2021-05-01 17:42:08.757 T:21300   ERROR <general>: 
                                                   
2021-05-01 17:42:08.960 T:21358    INFO <general>: CPythonInvoker(21, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.embuary.helper/plugin.py): script successfully run
2021-05-01 17:42:09.559 T:21358    INFO <general>: Python interpreter stopped
2021-05-01 17:42:09.643 T:21360    INFO <general>: CPythonInvoker(22, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.embuary.helper/plugin.py): script successfully run
2021-05-01 17:42:10.142 T:21363    INFO <general>: initializing python engine.

 

Seems something after "Another Ticket (Vinyl LP)" causes the issue.

Link to comment
Share on other sites

quickmic
40 minutes ago, Home2008 said:

TeamViewer is ok tomorrow? 
But on Server it is ok.

Tomorrow is fine. What timezone are you? CET? I'll write you a PM when I'm available... Roughly 11:00-15:00.

Yes, I know you server is ok, but your server probably has synced special charterers or something else odd and that's hard to detect from client (next-gen) side.

 

Link to comment
Share on other sites

t123thomas

Hi Quickmic I often exprience Emby unable to connect to the server, at times it will connect this on 5.2.06 below is the error, let me know when to test

 

Thanks

 

2021-05-01 19:24:00.494 T:11844    INFO <general>: Python interpreter stopped
2021-05-01 19:24:01.320 T:11404    INFO <general>: INFO: EMBY.helper.utils.Utils: DeviceId loaded: c4f274f9-97f3-423f-8638-2b5a3e731768
2021-05-01 19:24:01.321 T:11404 WARNING <general>: xbmc.translatePath is deprecated and might be removed in future kodi versions. Please use xbmcvfs.translatePath instead.
2021-05-01 19:24:01.339 T:11404   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'xml.etree.ElementTree.ParseError'>
                                                   Error Contents: no element found: line 1, column 0
                                                   Traceback (most recent call last):
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 122, in <module>
                                                       serviceOBJ = Service()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 16, in __init__
                                                       self.Startup()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 21, in Startup
                                                       self.Utils = helper.utils.Utils()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\helper\utils.py", line 70, in __init__
                                                       self.DefaultVideoSettings = self.load_defaultvideosettings()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\helper\utils.py", line 117, in load_defaultvideosettings
                                                       DefaultVideoSettings = helper.xmls.Xmls(self).load_defaultvideosettings()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\helper\xmls.py", line 90, in load_defaultvideosettings
                                                       xmlData = xml.etree.ElementTree.parse(FilePath).getroot()
                                                     File "C:\Program Files\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1202, in parse
                                                       tree.parse(source, parser)
                                                     File "C:\Program Files\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 595, in parse
                                                       self._root = parser._parse_whole(source)
                                                     File "<string>", line None
        

Link to comment
Share on other sites

quickmic
11 hours ago, t123thomas said:

Hi Quickmic I often exprience Emby unable to connect to the server, at times it will connect this on 5.2.06 below is the error, let me know when to test

 

Thanks

 

2021-05-01 19:24:00.494 T:11844    INFO <general>: Python interpreter stopped
2021-05-01 19:24:01.320 T:11404    INFO <general>: INFO: EMBY.helper.utils.Utils: DeviceId loaded: c4f274f9-97f3-423f-8638-2b5a3e731768
2021-05-01 19:24:01.321 T:11404 WARNING <general>: xbmc.translatePath is deprecated and might be removed in future kodi versions. Please use xbmcvfs.translatePath instead.
2021-05-01 19:24:01.339 T:11404   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'xml.etree.ElementTree.ParseError'>
                                                   Error Contents: no element found: line 1, column 0
                                                   Traceback (most recent call last):
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 122, in <module>
                                                       serviceOBJ = Service()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 16, in __init__
                                                       self.Startup()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 21, in Startup
                                                       self.Utils = helper.utils.Utils()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\helper\utils.py", line 70, in __init__
                                                       self.DefaultVideoSettings = self.load_defaultvideosettings()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\helper\utils.py", line 117, in load_defaultvideosettings
                                                       DefaultVideoSettings = helper.xmls.Xmls(self).load_defaultvideosettings()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\helper\xmls.py", line 90, in load_defaultvideosettings
                                                       xmlData = xml.etree.ElementTree.parse(FilePath).getroot()
                                                     File "C:\Program Files\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1202, in parse
                                                       tree.parse(source, parser)
                                                     File "C:\Program Files\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 595, in parse
                                                       self._root = parser._parse_whole(source)
                                                     File "<string>", line None
        

please upload this file:

.kodi/userdata/guisettings.xml

 

There is an issue reading the default parameters.

Link to comment
Share on other sites

quickmic
11 hours ago, t123thomas said:

Hi Quickmic I often exprience Emby unable to connect to the server, at times it will connect this on 5.2.06 below is the error, let me know when to test

 

Thanks

 

2021-05-01 19:24:00.494 T:11844    INFO <general>: Python interpreter stopped
2021-05-01 19:24:01.320 T:11404    INFO <general>: INFO: EMBY.helper.utils.Utils: DeviceId loaded: c4f274f9-97f3-423f-8638-2b5a3e731768
2021-05-01 19:24:01.321 T:11404 WARNING <general>: xbmc.translatePath is deprecated and might be removed in future kodi versions. Please use xbmcvfs.translatePath instead.
2021-05-01 19:24:01.339 T:11404   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'xml.etree.ElementTree.ParseError'>
                                                   Error Contents: no element found: line 1, column 0
                                                   Traceback (most recent call last):
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 122, in <module>
                                                       serviceOBJ = Service()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 16, in __init__
                                                       self.Startup()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\service.py", line 21, in Startup
                                                       self.Utils = helper.utils.Utils()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\helper\utils.py", line 70, in __init__
                                                       self.DefaultVideoSettings = self.load_defaultvideosettings()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\helper\utils.py", line 117, in load_defaultvideosettings
                                                       DefaultVideoSettings = helper.xmls.Xmls(self).load_defaultvideosettings()
                                                     File "C:\Users\Admin\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\helper\xmls.py", line 90, in load_defaultvideosettings
                                                       xmlData = xml.etree.ElementTree.parse(FilePath).getroot()
                                                     File "C:\Program Files\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1202, in parse
                                                       tree.parse(source, parser)
                                                     File "C:\Program Files\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 595, in parse
                                                       self._root = parser._parse_whole(source)
                                                     File "<string>", line None
        

Titan:

Are you using a PC? Can you setup a Kodi PC for test and probably we do a Teamviewer session?

Link to comment
Share on other sites

quickmic
On 4/25/2021 at 11:59 PM, benq999 said:

Norwegian, but it doesn't seem to matter. As long as the name of the subtitle file is moviename.srt the movie wont play (eventually some error). While if the filename is moviname.anything.srt the movie plays fine.

Which version are you using? I tested the file naming -> no issue here on my PC.

Link to comment
Share on other sites

benq999
18 minutes ago, quickmic said:

Which version are you using? I tested the file naming -> no issue here on my PC.

5.2.06. Attached log file if that's to any help. I have had this problem on all versions except an early one.

kodi.log

Link to comment
Share on other sites

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...