Jump to content

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


quickmic

Recommended Posts

838Joel
4 hours ago, quickmic said:

Thanks, yes this helps and it's quite easy to fix. Will do so in next version, btw

Also you should check "Satellite of love", this episode seems to be broken. -> no codec information available.

Seems to have codec in the nfo file and it play with no problem:

<episodedetails>
  <title>Satellite of Love</title>
  <season>3</season>
  <episode>7</episode>
  <aired>2020-03-05</aired>
  <plot>As Ben readies the new Physician Response Team truck for the field, his suspicions about Sullivan and the missing Fentanyl continue to grow. Meanwhile, Jack and Rigo try to look past their differences when they are forced to work together and fight a mysterious gas station fire; Dean and JJ try to work through their differing parenting styles; and Travis meets someone new.</plot>
  <displayseason />
  <displayepisode />
  <thumb>https://artworks.thetvdb.com/banners/series/341852/episodes/62085846.jpg</thumb>
  <watched>false</watched>
  <fileinfo>
    <streamdetails>
      <video>
        <aspect>1.77777779</aspect>
        <bitrate>10000000</bitrate>
        <codec>h264</codec>
        <framerate>23.976</framerate>
        <height>1080</height>
        <scantype>Progressive</scantype>
        <width>1920</width>
        <duration>42.93866666666667</duration>
        <durationinseconds>2576.3199999999997</durationinseconds>
      </video>
      <audio>
        <bitrate>640000</bitrate>
        <channels>6</channels>
        <codec>EAC3</codec>
        <language>English</language>
      </audio>
      <subtitle>
        <language>English</language>
      </subtitle>
    </streamdetails>
  </fileinfo>
</episodedetails>

 

Link to comment
Share on other sites

quickmic

New version available: 7.0.0-build 690

improve Emby server reconnection
shorten filenames/URLS
fix metadata codec issue
fix artwork update issue
add dynamic queries cache
fix season sync for edge case

 

THIS VERSION REQUIRES A MANDATORY MANUAL DB RESET!!!

Due to filename modification, a db reset is mandatory but is not enforced by this version. You must trigger the reset manually.

 

Link to comment
Share on other sites

quickmic
37 minutes ago, t123thomas said:

I am 7.xx series installed on Wins10/LE and Wins10, I have not experienced any issues. 

Let me know if you need a particular test case.

Thanks for your relentless efforts most appreciated 👍

Well it's still not as stable as 6.x

btw, There is still a minor bug with progress updates on not synced content. I'll fix it in a few minutes...

There is nothing particular to test for videos. Mostly I fix edge cases and music/musicvideos issues. And as always, performance improvements and stability.

 

 

Edited by quickmic
Link to comment
Share on other sites

quickmic

new version 7.0.0-build 694

delta changelog:

fix progress update on non synced content

Link to comment
Share on other sites

quickmic
On 4/14/2022 at 8:43 PM, 838Joel said:

Seems to have codec in the nfo file and it play with no problem:

<episodedetails>
  <title>Satellite of Love</title>
  <season>3</season>
  <episode>7</episode>
  <aired>2020-03-05</aired>
  <plot>As Ben readies the new Physician Response Team truck for the field, his suspicions about Sullivan and the missing Fentanyl continue to grow. Meanwhile, Jack and Rigo try to look past their differences when they are forced to work together and fight a mysterious gas station fire; Dean and JJ try to work through their differing parenting styles; and Travis meets someone new.</plot>
  <displayseason />
  <displayepisode />
  <thumb>https://artworks.thetvdb.com/banners/series/341852/episodes/62085846.jpg</thumb>
  <watched>false</watched>
  <fileinfo>
    <streamdetails>
      <video>
        <aspect>1.77777779</aspect>
        <bitrate>10000000</bitrate>
        <codec>h264</codec>
        <framerate>23.976</framerate>
        <height>1080</height>
        <scantype>Progressive</scantype>
        <width>1920</width>
        <duration>42.93866666666667</duration>
        <durationinseconds>2576.3199999999997</durationinseconds>
      </video>
      <audio>
        <bitrate>640000</bitrate>
        <channels>6</channels>
        <codec>EAC3</codec>
        <language>English</language>
      </audio>
      <subtitle>
        <language>English</language>
      </subtitle>
    </streamdetails>
  </fileinfo>
</episodedetails>

 

Please perform a test with the new version. I hope it's fixed.

Link to comment
Share on other sites

t123thomas
3 hours ago, quickmic said:

Please perform a test with the new version. I hope it's fixed.

Okay I will I am currently out, I will update and provide logs.

Link to comment
Share on other sites

quickmic
2 hours ago, t123thomas said:

Playback issue on 7.xx attached is the log link, let me know what the issue is if its from my end or not

Thanks

 

https://paste.kodi.tv/jatosoneba

There are old data in the database. Have you enforced a manual db reset?

If yes, please remove the databases manually.

Delete the following files:

emby_2a38697ffc1b428b943aa1b6014e2263.db

MyMusic82.db

MyVideos119.db

Textures13.db

Edited by quickmic
Link to comment
Share on other sites

838Joel
On 4/21/2022 at 12:56 PM, quickmic said:

Please perform a test with the new version. I hope it's fixed.

I will do it right now and let you know!

Link to comment
Share on other sites

838Joel
2 hours ago, 838Joel said:

I will do it right now and let you know!

All good, the sync ran completely and played a show and all work well so far! Thanks

  • Like 1
Link to comment
Share on other sites

quickmic

New version available: 7.0.0-build 700

delta changelog:

fix livetv sync
fix movie sync when AspectRation info is missing
fix http session re-usage

Link to comment
Share on other sites

quickmic

New version available: 7.0.0-build 716

delta changelog:

fix realtime sync issues

Link to comment
Share on other sites

quickmic
1 hour ago, t123thomas said:

Apology i am on 7,v  what seem to be the issue why I could not play the movie?

I this case, my previous statement was correct:

 

That's curl issue, Kodi uses to play http streams. -> Error 22/404

Please send me a debug log via PM for review. Don't post it here, confidential data are included in debug logs.

Currently I assume, the actual Emby server stream URL is correct, but points to an invalid link.

 

Please also confirm, this issue is only related to this specific movie, not a general issue with all movies.

 

Link to comment
Share on other sites

quickmic
On 4/10/2022 at 5:48 PM, DiscoDuck79 said:

@quickmicTested the new version, I still need to restart the client after a container restart but after that it syncs.

Just checking, is still still an issue with 7.0.0-build 716 ?

 

Link to comment
Share on other sites

quickmic
On 4/22/2022 at 6:49 AM, quickmic said:

There are old data in the database. Have you enforced a manual db reset?

If yes, please remove the databases manually.

Delete the following files:

emby_2a38697ffc1b428b943aa1b6014e2263.db

MyMusic82.db

MyVideos119.db

Textures13.db

also delete .kodi/userdata/library/*

and .kodi/addons/temp/*

and .kodi/userdata/addon_data/plugin.video.emby-next-gen/temp/*

Edited by quickmic
Link to comment
Share on other sites

DiscoDuck79
On 4/26/2022 at 4:10 PM, quickmic said:

Just checking, is still still an issue with 7.0.0-build 716 ?

 

I'm away from home and won't return for another 2 weeks, once I'm back I'll update and check.

On a side note. Would it be possible to add the build number to the addon.xml? Makes it easier to check installed version and build.

  • Thanks 1
Link to comment
Share on other sites

838Joel

Yesterday, I add an error after playing two show and was stuck updating the db at 0%. I was then on build-700. (I don't recall the exact message)

Did update to latest build-716 and this reset the error stuck to 0%.

I will double check that today with build-716 if that appear again... If so will let you know!

  • Like 1
Link to comment
Share on other sites

quickmic

New version available 7.0.1-build 24:

Delta changelog

wal mode for emby db
fix realtime sync issues
song update fixes
fix db reset
change default sync settings to 70
fix tvtunes

 

Comment:

This version will force a db reset

 

  • Like 1
Link to comment
Share on other sites

quickmic

and another new version available with some minor fixes 7.0.1-build 32:

delta changelog:

fix threading issue
fix MusicVideo updates
fix missing MusicVideo artist
fix tag links

Link to comment
Share on other sites

838Joel
15 hours ago, 838Joel said:

Yesterday, I add an error after playing two show and was stuck updating the db at 0%. I was then on build-700. (I don't recall the exact message)

Did update to latest build-716 and this reset the error stuck to 0%.

I will double check that today with build-716 if that appear again... If so will let you know!

Watch a show yesterday and did not had any error at the sync at the end. Will test build 7.0.1-build 32... Thanks for the nice work ;) 

  • Like 1
Link to comment
Share on other sites

Weevillo

So I have a Sonarr instance that regularly checks if an episode with a higher preferred quality has released and then grabs it and imports it. It seems though as the addon thinks that this is a new episode so for a 12 episode series it'll now show 13 in my Kodi application. The old episode gets deleted so there are one version which lacks a thumbnail while the one that just got imported has a thumbnail and is playable.

Link to comment
Share on other sites

quickmic
10 minutes ago, Weevillo said:

So I have a Sonarr instance that regularly checks if an episode with a higher preferred quality has released and then grabs it and imports it. It seems though as the addon thinks that this is a new episode so for a 12 episode series it'll now show 13 in my Kodi application. The old episode gets deleted so there are one version which lacks a thumbnail while the one that just got imported has a thumbnail and is playable.

Yes, this was also reported in 6.x. Every test I performed, didn't show this pattern. I can already tell you, what you doing is not a simple episode replacement. I performed countless replacing tests.

I assume what you do is adding an episode and remove the old one later.

I specualte you have realtime monitoring enabled on Emby server. I think this will lead into duplicate episodes (also on Emby server), but after you removed the old episode it was also removed from Emby server but obviously not from Kodi.

I keep reviewing this issue, but surely it's not a simple episode replacement.

Edited by quickmic
Link to comment
Share on other sites

838Joel
2 hours ago, 838Joel said:

Watch a show yesterday and did not had any error at the sync at the end. Will test build 7.0.1-build 32... Thanks for the nice work ;) 

Ok I initiate the upgrade to 7.0.1-build32, reset the db and restarted Kodi.

Login to my server and select all to sync. it took few seconds before it start syncing (getting what need to sync I guess),  I quickly saw a popup of an error in red at the beginning (did not had time to see the msg) and the sync started right after! So far the sync is ongoing normally after....

Just want to give a heads up about this error popup, if someone can give more information about it!

Link to comment
Share on other sites

quickmic
5 minutes ago, 838Joel said:

Ok I initiate the upgrade to 7.0.1-build32, reset the db and restarted Kodi.

Login to my server and select all to sync. it took few seconds before it start syncing (getting what need to sync I guess),  I quickly saw a popup of an error in red at the beginning (did not had time to see the msg) and the sync started right after! So far the sync is ongoing normally after....

Just want to give a heads up about this error popup, if someone can give more information about it!

please send me a kodi.log after your sync is complete (including all the sync data), not a clean log.

Link to comment
Share on other sites

Weevillo
4 hours ago, quickmic said:

Yes, this was also reported in 6.x. Every test I performed, didn't show this pattern. I can already tell you, what you doing is not a simple episode replacement. I performed countless replacing tests.

I assume what you do is adding an episode and remove the old one later.

I specualte you have realtime monitoring enabled on Emby server. I think this will lead into duplicate episodes (also on Emby server), but after you removed the old episode it was also removed from Emby server but obviously not from Kodi.

I keep reviewing this issue, but surely it's not a simple episode replacement.

You're correct in your assumption that I have real-time monitoring on (not really real time if we're to be precise). I don't know, or more like I haven't observed, how Sonarr performs this operation. I'd assume it confirms that the new episode is downloaded, deletes the old one in the destination folder and replaces it with the newly downloaded one. Your theory seems to hold up in that the server understands that "Ah, this is a new version of the same episode. I'll update the entry" while Kodi's like "Looks like they added a new entry of the same episode".

For me, a non-programmer, it seems like Kodi just needs to understand that it's the same episode, just not the same file representing it. But I don't think I had this issue with Jellyfin for Kodi so it doesn't seem to be a problem on Kodi's side.

  • Like 1
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...