Jump to content

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


quickmic

Recommended Posts

just-magic

Good evening,
I installed the latest version yesterday. Just also the update.
When I stop playback (movie or tv shows), the loading circle rotates for about 10 seconds. Only then can I start a new episode or something else. This was not the case with the 4.X version. I do not use the Native Mode.
Does anyone else have this problem?

Link to comment
Share on other sites

quickmic

Thank you. First you have to rule out issues from other plugins. I can already see an issue with the upnext plugin.

Please disable this plugin, try again and report back if the issue is still there.

 

Link to comment
Share on other sites

quickmic

@just-magic

ok, then let's try deactivating couple more.

Sorry, but this is the only way to track it down. As I can see, you have installed multiple skins and lot's of plugins.

Let's start by switching to default skin.

if same issue appears, deactivate:

script.metadata.editor

if same issue appears, deactivate:

script.embuary.helper

if still the issue continue with disabling plugins.

 

Link to comment
Share on other sites

Gizzmo80

I am wondering if anybody read about passthrough issues with KODI 19 nighlies, on Shield with this addon running.

All was working at the beginning of the year but now KODI passthrough has an issue. DTS seems to work immediately but DTS-HD, Dolby TruHD and the others mostly not at startup. When I switch audiotracks mostly after some time it will work.

Don‘t know when this issue appeared, if it was the Shield Update from January, one of the KODI nightlies or what ever...

 

This addon can‘t have an influence on passthrough audio, or am I wrong?

Link to comment
Share on other sites

quickmic

New Version available 5.1.12:

You can load from here, or wait till repo is synced.
http://embydata.com/downloads/addons/xbmb3c/multi-repo/beta-leia/plugin.video.emby-next-gen/plugin.video.emby-next-gen-5.1.12.zip


Fixes:
Incremental Sync issue (Progress sync was not performed in 5.1.11)
improve player code

 
New:
Transcode options added


Known issues:
Multiserver not working
Dynamic lists slow/artwork
Incremental remove issue -> seems to be a sync queue issue in server plugin (beta server versions)


General info:
Cancel not working on Multi video selection -> This is not possible to change due to code design

 

Edited by quickmic
Link to comment
Share on other sites

bozrdnag
3 hours ago, quickmic said:

New Version available 5.1.12:

You can load from here, or wait till repo is synced.
http://embydata.com/downloads/addons/xbmb3c/multi-repo/beta-leia/plugin.video.emby-next-gen/plugin.video.emby-next-gen-5.1.12.zip


Fixes:
Incremental Sync issue (Progress sync was not performed in 5.1.11)
improve player code

 
New:
Transcode options added


Known issues:
Multiserver not working
Dynamic lists slow/artwork
Incremental remove issue -> seems to be a sync queue issue in server plugin (beta server versions)


General info:
Cancel not working on Multi video selection -> This is not possible to change due to code design

 

I just upgraded to this version.  I see you don't have it listed under know issues, but I am still having the partially rewatched videos showing as unwatched issue.  It happens about one out of every three I try.

Link to comment
Share on other sites

quickmic
15 minutes ago, bozrdnag said:

I just upgraded to this version.  I see you don't have it listed under know issues, but I am still having the partially rewatched videos showing as unwatched issue.  It happens about one out of every three I try.

This is how it works here. Looks good to me:

 

 

Link to comment
Share on other sites

bozrdnag

I can't record my screen because I laptop's Kodi is all messed up right now.  Here is a snippet of the log where I play an episode of 3rd Rock from the Sun that was already marked as watched.  I skip ahead and the stop the video and it then shows the correct resume point but is marked as unwatched.  You can see the play count is 7 on one line, and then a few down it says 0.  Also watched goes from True to False.

 

2021-02-06 11:27:56.796 T:11292  NOTICE: VideoPlayer::OpenFile: smb://192.168.1.42/Videos/TV Shows/3rd Rock from the Sun/3rd Rock from the Sun - s03e01 - Fun with Dick and Janet (1) - DVD Rip.mkv
2021-02-06 11:27:56.797 T:15177  NOTICE: Creating InputStream
2021-02-06 11:27:56.931 T:11324  NOTICE: EMBY.hooks.player.Player -> [ onPlayBackStarted ]
2021-02-06 11:27:56.973 T:15183  NOTICE: EMBY.hooks.player.Player -> -->[ play/71952 ] {'Volume': 100, 'PlaySessionId': 'cd5785b4af8d429f8bef0d3ee77be1c4', 'CurrentPosition': -1, 'Track': True, 'Server': <emby.client.EmbyClient instance at 0x24acd2d5c0>, 'Paused': False, 'MediaSourceId': None, 'Muted': False, 'DeviceId': '1331b08d-a8b0-4126-9675-0ea322c25045', 'Path': 'smb://192.168.1.42/Videos/TV Shows/3rd Rock from the Sun/3rd Rock from the Sun - s03e01 - Fun with Dick and Janet (1) - DVD Rip.mkv', 'ServerId': None, 'RunTime': -1, 'Type': u'Episode', 'Id': u'71952', 'PlayMethod': 'DirectPlay'}
2021-02-06 11:27:57.543 T:15177  NOTICE: Creating Demuxer
2021-02-06 11:27:57.640 T:15177  NOTICE: Opening stream: 0 source: 256
2021-02-06 11:27:57.640 T:15177  NOTICE: Creating video codec with codec id: 2
2021-02-06 11:27:57.641 T:15177  NOTICE: CDVDVideoCodecAndroidMediaCodec::Open Testing codec:OMX.Nvidia.mp2.decoder
2021-02-06 11:27:57.641 T:15177  NOTICE: CDVDVideoCodecAndroidMediaCodec::Open Testing codec:OMX.Nvidia.wma.decoder
2021-02-06 11:27:57.641 T:15177  NOTICE: CDVDVideoCodecAndroidMediaCodec::Open Testing codec:OMX.Nvidia.h264.decode
2021-02-06 11:27:57.641 T:15177  NOTICE: CDVDVideoCodecAndroidMediaCodec::Open Testing codec:OMX.Nvidia.h263.decode
2021-02-06 11:27:57.641 T:15177  NOTICE: CDVDVideoCodecAndroidMediaCodec::Open Testing codec:OMX.Nvidia.h265.decode
2021-02-06 11:27:57.641 T:15177  NOTICE: CDVDVideoCodecAndroidMediaCodec::Open Testing codec:OMX.Nvidia.mjpeg.decoder
2021-02-06 11:27:57.641 T:15177  NOTICE: CDVDVideoCodecAndroidMediaCodec::Open Testing codec:OMX.Nvidia.mpeg2v.decode
2021-02-06 11:27:57.709 T:15190  NOTICE: EMBY.hooks.monitor.Monitor -> [ UserDataChanged ] {'MonitorMethod': 'UserDataChanged', u'UserId': u'e2d7a192270d4ecda2332cf6ef46407c', u'UserDataList': [{u'ItemId': u'71952', u'IsFavorite': False, u'Played': True, u'LastPlayedDate': u'2021-02-06T16:28:00.0000000+00:00', u'PlaybackPositionTicks': 0, u'PlayCount': 7}, {u'ItemId': u'76102', u'IsFavorite': False, u'Played': True, u'UnplayedItemCount': 0, u'PlaybackPositionTicks': 0, u'PlayCount': 0}]}
2021-02-06 11:27:57.713 T:15190  NOTICE: EMBY.library.Library -> ---[ userdata:2 ]
2021-02-06 11:27:57.772 T:15177  NOTICE: Creating video thread
2021-02-06 11:27:57.772 T:15195  NOTICE: running thread: video_thread
2021-02-06 11:27:57.776 T:15177  NOTICE: Opening stream: 1 source: 256
2021-02-06 11:27:57.776 T:15177  NOTICE: Finding audio codec for: 86019
2021-02-06 11:27:57.776 T:15177  NOTICE: Creating audio thread
2021-02-06 11:27:57.777 T:15196  NOTICE: running thread: CVideoPlayerAudio::Process()
2021-02-06 11:27:57.787 T:15196  NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, pass-through)
2021-02-06 11:27:57.847 T:11292  NOTICE: Instancing CRendererMediaCodecSurface
2021-02-06 11:27:57.847 T:11292  NOTICE: CRendererMediaCodecSurface::Configure
2021-02-06 11:27:57.897 T:11324  NOTICE: EMBY.hooks.player.Player -> [ onAVChange ]
2021-02-06 11:27:57.912 T:11301  NOTICE: Trying to open: samplerate: 48000, channelMask: 12, encoding: 13
2021-02-06 11:27:57.929 T:11324  NOTICE: EMBY.hooks.player.Player -> [ onAVChange ]
2021-02-06 11:27:57.939 T:11301  NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 48000 format: AE_FMT_S16LE (AE) method: IEC (PT) stream-type: STREAM_TYPE_AC3 min_buffer_size: 12320 m_frames: 1540 m_frameSize: 4 channels: 2
2021-02-06 11:27:58.141 T:11377  NOTICE: EMBY.helper.wrapper -> Stopping db writing!
2021-02-06 11:27:58.149 T:11324  NOTICE: EMBY.hooks.player.Player -> [ onAVChange ]
2021-02-06 11:27:58.155 T:11324  NOTICE: EMBY.hooks.player.Player -> [ onAVStarted ]
2021-02-06 11:27:58.167 T:11324  NOTICE: EMBY.hooks.player.Player -> [ onAVChange ]
2021-02-06 11:27:59.151 T:11377  NOTICE: EMBY.helper.wrapper -> Stopping db writing!
2021-02-06 11:28:01.270 T:11292  NOTICE: Previous line repeats 2 times.
2021-02-06 11:28:01.271 T:11292  NOTICE: Instancing CRendererMediaCodecSurface
2021-02-06 11:28:01.271 T:11292  NOTICE: CRendererMediaCodecSurface::Configure
2021-02-06 11:28:01.332 T:11324  NOTICE: EMBY.hooks.player.Player -> [ onAVChange ]
2021-02-06 11:28:02.052 T:11324  NOTICE: Previous line repeats 1 times.
2021-02-06 11:28:02.052 T:11324  NOTICE: EMBY.hooks.player.Player -> [ onPlayBackSeek ]
2021-02-06 11:28:02.180 T:11377  NOTICE: EMBY.helper.wrapper -> Stopping db writing!
2021-02-06 11:28:02.231 T:11324  NOTICE: EMBY.hooks.player.Player -> [ onAVChange ]
2021-02-06 11:28:03.192 T:11377  NOTICE: EMBY.helper.wrapper -> Stopping db writing!
2021-02-06 11:28:07.091 T:11292  NOTICE: Previous line repeats 3 times.
2021-02-06 11:28:07.091 T:11292  NOTICE: CVideoPlayer::CloseFile()
2021-02-06 11:28:07.093 T:11292  NOTICE: VideoPlayer: waiting for threads to exit
2021-02-06 11:28:07.099 T:15177  NOTICE: CVideoPlayer::OnExit()
2021-02-06 11:28:07.099 T:15177  NOTICE: Closing stream player 1
2021-02-06 11:28:07.099 T:15177  NOTICE: Waiting for audio thread to exit
2021-02-06 11:28:07.109 T:15196  NOTICE: thread end: CVideoPlayerAudio::OnExit()
2021-02-06 11:28:07.109 T:15177  NOTICE: Closing audio device
2021-02-06 11:28:07.153 T:15177  NOTICE: Deleting audio codec
2021-02-06 11:28:07.153 T:15177  NOTICE: Closing stream player 2
2021-02-06 11:28:07.153 T:15177  NOTICE: waiting for video thread to exit
2021-02-06 11:28:07.156 T:15195  NOTICE: thread end: video_thread
2021-02-06 11:28:07.156 T:15177  NOTICE: deleting video codec
2021-02-06 11:28:07.169 T:11292  NOTICE: VideoPlayer: finished waiting
2021-02-06 11:28:07.169 T:11292  NOTICE: CVideoPlayer::CloseFile()
2021-02-06 11:28:07.170 T:11292  NOTICE: VideoPlayer: waiting for threads to exit
2021-02-06 11:28:07.170 T:11292  NOTICE: VideoPlayer: finished waiting
2021-02-06 11:28:07.253 T:11301  NOTICE: Trying to open: samplerate: 44100, channelMask: 12, encoding: 4
2021-02-06 11:28:07.268 T:11301  NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 22688 m_frames: 1418 m_frameSize: 8 channels: 2
2021-02-06 11:28:07.281 T:15217  NOTICE: EMBY.hooks.monitor.Monitor ->  [ update/0 ] kodi_id: 47 media: episode
2021-02-06 11:28:07.499 T:11377  NOTICE: EMBY.helper.wrapper -> Stopping db writing!
2021-02-06 11:28:07.564 T:11324  NOTICE: EMBY.hooks.player.Player -> [ onPlayBackStopped ]
2021-02-06 11:28:08.520 T:11377  NOTICE: EMBY.library.Library -> -->[ q:download/157330966240 ]
2021-02-06 11:28:09.148 T:11324  NOTICE: EMBY.hooks.player.Player -> --<[ playback ]
2021-02-06 11:28:09.157 T:15232  NOTICE: EMBY.hooks.monitor.Monitor -> [ UserDataChanged ] {'MonitorMethod': 'UserDataChanged', u'UserId': u'e2d7a192270d4ecda2332cf6ef46407c', u'UserDataList': [{u'ItemId': u'71952', u'PlayCount': 0, u'PlaybackPositionTicks': 0, u'IsFavorite': False, u'Played': False}, {u'ItemId': u'76102', u'IsFavorite': False, u'Played': False, u'UnplayedItemCount': 1, u'PlaybackPositionTicks': 0, u'PlayCount': 0}]}
2021-02-06 11:28:09.164 T:15232  NOTICE: EMBY.library.Library -> ---[ userdata:2 ]
2021-02-06 11:28:09.678 T:15233  NOTICE: EMBY.hooks.monitor.Monitor -> [ UserDataChanged ] {'MonitorMethod': 'UserDataChanged', u'UserId': u'e2d7a192270d4ecda2332cf6ef46407c', u'UserDataList': [{u'ItemId': u'71952', u'IsFavorite': False, u'Played': False, u'PlayedPercentage': 23.02633574852624, u'PlaybackPositionTicks': 3070000000, u'PlayCount': 0}, {u'ItemId': u'76102', u'IsFavorite': False, u'Played': False, u'UnplayedItemCount': 1, u'PlaybackPositionTicks': 0, u'PlayCount': 0}]}
2021-02-06 11:28:09.683 T:15233  NOTICE: EMBY.library.Library -> ---[ userdata:2 ]
2021-02-06 11:28:10.748 T:15230  NOTICE: EMBY.downloader.GetItemWorker -> --<[ q:download/157330966240/6 ]
2021-02-06 11:28:10.753 T:15230  NOTICE: EMBY.downloader.GetItemWorker -> --[ q:download/remove ] []
2021-02-06 11:28:11.557 T:11377  NOTICE: EMBY.library.Library -> -->[ q:userdata/Episode/157837122720 ]
2021-02-06 11:28:11.648 T:15241  NOTICE: EMBY.core.tvshows.TVShows -> USERDATA episode [2142/47] 71952: Fun with Dick and Janet (1)
2021-02-06 11:28:12.924 T:15241  NOTICE: Previous line repeats 2 times.
2021-02-06 11:28:12.924 T:15241  NOTICE: EMBY.database.database -> [emby] 21 rows updated.
2021-02-06 11:28:12.959 T:15241  NOTICE: EMBY.database.database -> [video] 9 rows updated.
2021-02-06 11:28:12.991 T:15241  NOTICE: EMBY.library.UserDataWorker -> --<[ q:userdata/157837122720 ]
2021-02-06 11:28:14.595 T:11377  NOTICE: EMBY.library.Library -> -->[ q:userdata/Series/157331835232 ]
2021-02-06 11:28:14.647 T:15257  NOTICE: EMBY.core.tvshows.TVShows -> USERDATA tvshow [None/1] 76102: 3rd Rock from the Sun
2021-02-06 11:28:15.696 T:15257  NOTICE: Previous line repeats 2 times.
2021-02-06 11:28:15.696 T:15257  NOTICE: EMBY.database.database -> [emby] 3 rows updated.
2021-02-06 11:28:15.724 T:15257  NOTICE: EMBY.library.UserDataWorker -> --<[ q:userdata/157331835232 ]
2021-02-06 11:28:17.641 T:11377  NOTICE: EMBY.library.Library -> --[ sync/2021-02-06T16:26:17z ]

 

Edited by bozrdnag
Link to comment
Share on other sites

bozrdnag

Also, have you tried doing 5 or 6?  Sometimes it takes a few tries before it happens.  And it doesn't show as unwatched until after E4K updates.

Link to comment
Share on other sites

quickmic

I try to reproduce the issue. Just checking, Kodi's status/progress in the video is what you expect, right?

Link to comment
Share on other sites

quickmic

New Version available 5.1.13:

You can load from here, or wait till repo is synced.
http://embydata.com/downloads/addons/xbmb3c/multi-repo/beta-leia/plugin.video.emby-next-gen/plugin.video.emby-next-gen-5.1.13.zip


Fixes:
Incremental Sync issue (Episodes and Seasons)
Special episodes play index was ignored

 
New:
-


Known issues:
Multiserver not working
Dynamic lists slow/artwork
Special episodes play index -> Kodi seems to have a bug. Index is one increment off (too low)


General info:
TVShows or Kodi DB reset is recommended, to receive additional information.

  • Like 1
Link to comment
Share on other sites

Something is wrong with 5.1.13

i have resetet my DB complete with the new version.
i have a Widget (plugin://script.skin.helper.widgets/?action=inprogress&mediatype=tvshows&tag=&reload=$INFO[Window(Home).Property(widgetreload-episodes)]) in my homescreen that shows the last watched TVShows. It works great before the DB reset. Now it shows the Series with the right Names but the Covers are from any different Serie?!?! An when i select one entry its jump to the series from the cover?!

Hmppfff i will go back to 5.1.10 and rebuild the DB again.

Link to comment
Share on other sites

quickmic

Not sure what script.skin.helper.widgets queries exactly, but this has nothing to do with the 5.1.13 update.

 

@All

let me know, if you also have issues.

Edited by quickmic
Link to comment
Share on other sites

Hmmm yeahh i dont know 😄 i used this setup for ages!
I have changed the widget to a regular DB query and its working again.
Sorry for the wrong Bug Message.

  • Thanks 1
Link to comment
Share on other sites

Understanding Question:
under /userdata/library/video the subdirs from emby for movies/tvshows are generated by e4k right?

I would use the recent.xml from the movies but i showed only the "not watched" Movies. I will that it show all New Movies no matter what watched State.
So i edit the recent.xml file and remove the:
 

<rule field="playcount" operator="is">
    <value>0</value>
  </rule>

But the xmls are recreated every time i start Kodi.
Is there a setting for this to create the xml without the playcount filtering?

I have now created a own xml file and placed it in /userdata/library/video.

Link to comment
Share on other sites

quickmic

Yes they are refreshed on each Kodi start, but you can use a copy of that file. Not sure if the complete folder is deleted and rebuild, probably you should place the nodefile in a new subfolder. e.g. .kodi/userdata/library/video/MyCustomNodes/mynodefile.xml

If you use this approach, you should also place the "index.xml" in the MyCustomNodes folder. It's used to label the subfolder content.

.kodi/userdata/library/video/MyCustomNodes/index.xml

.kodi/userdata/library/video/MyCustomNodes/mynodefile.xml

Edited by quickmic
  • Like 1
Link to comment
Share on other sites

quickmic

This should work:

<?xml version='1.0' encoding='UTF-8'?>
<node order="1" type="filter">
    <label>20382</label>
    <icon>DefaultRecentlyAddedMovies.png</icon>
    <content>movies</content>
    <match>all</match>
    <rule field="tag" operator="is">movies</rule>
    <order direction="descending">dateadded</order>
</node>

 

The "<rule field="tag" operator="is">movies</rule>" defines the label of the lib on Emby server.

If you have multiple "movie" libs on Emby, it's required to define the tag. If you remove it, all new movies will be shown. No matter where they are coming from.

Edited by quickmic
  • Like 1
Link to comment
Share on other sites

DarWun

@quickmicI updated to 5.1.13. After enabling the option to transcode HEVC content I played a few HEVC videos. They "Direct Played" instead of transcoding. Playback was choppy, in that occasionally audio would go out of sync and then the video would jump forward to catch up. I've attached the logs.

embyserver.txt kodi.log

ffmpeg-transcode-0e199b90-8962-4fa6-ae5b-8db6908eae7a_1.txt

Edited by DarWun
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...