Kodi Community Forum
WIP Arctic Horizon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Arctic: Zephyr - Reloaded (https://forum.kodi.tv/forumdisplay.php?fid=221)
+---- Thread: WIP Arctic Horizon (/showthread.php?tid=351756)



RE: Arctic Horizon - wsx1 - 2020-06-06

(2020-06-06, 16:35)jurialmunkey Wrote:
(2020-06-06, 15:26)tripkip Wrote:
(2020-06-06, 09:25)jurialmunkey Wrote: Pressing OK to return was actually the old behaviour for the wall. There was a discussion about it where other users said that was counterintuitive and it should play the item directly...

I'm not sure what you mean by "NL scraped genres"?


Ah ok, that's surprising. I can live with the way it works. [emoji6]

My scraper (TMDB) is set to NL (Dutch). As a result the genre for the movies are imported localized. So 'Animation' becomes 'Animatie'. This in turn causes the genre icon not to show.

I think it is one of those things where what is/isn't intuitive depends on what purpose you're using the wall for. I find if I'm looking for something specific, then I'll expect OK to play immediately from the wall; whereas if I'm just browsing, I expect the opposite. Ultimately I think OK playing directly makes slightly more sense because you still have back to close, whereas if OK closes then there's no button to play directly.

For genres in a different language, you would need to edit the genre image resource addon and change the image filenames to match the Dutch names. The skin just adds ".png" to the genre label to display the genre icon.
Can you give and example and the path for the "genre" edit?.
I have the same problem because my language is Italian


RE: Arctic Horizon - FXB78 - 2020-06-06

(2020-06-06, 05:33)jurialmunkey Wrote:
(2020-06-05, 18:44)FXB78 Wrote: When using PVR sometimes the lookup seems to fail & leaves a blank poster to the left, I would normally see the channel logo here if there is no data instead of this blank poster view. Is this a bug or is there a setting I need to change somewhere?

Image

The poster only displays if TMDbHelper service returns an image URL. The issue is that it's up to Kodi to retrieve the actual image from the URL when it is referenced in the skin (once the image loads, Kodi caches it in the texture cache so it doesn't have to look it up from the URL again).

A few things can cause this issue:
1. Kodi simply hasn't retrieved and loaded the image into the texture cache yet due to a backlog in the background image loader (most likely).
2. TMDb/FanartTV image server is down/slow (or internet connection is down/slow) (also possible).
3. Malformed or incorrect URL (unlikely)

There's no much that can be done from the skin side. The skin can't check if the image exists, it can only check that a URL was specified by checking if this condition is true or false: String.IsEmpty(Window(Home).Property(TMDbHelper.ListItem.Poster))
If the image hasn't been loaded into the texture cache would you expect the image to show say, 5 minutes later for example? These images never display, but for whatever reason it only happens on certain shows.

From what I can see in the Debug log a failure gives the warning DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'None' which I think seems to indicate there is no image to load in the first place?

EDIT - I dug out an old version of TMDBHelper, ver 2.4.0 and it doesn't give me this behaviour, it displays the channel logo square as I would expect if there is no image. So it appears somewhere between 2.4.0 & 2.4.36 of TMDB Helper there has been a change which has caused these Blank Poster views. See screenshots demonstrating this below:

TMDB Helper 2.4.0:
Image

TMDB Helper 2.4.36:
Image


RE: Arctic Horizon - Edworld - 2020-06-06

(2020-06-06, 09:19)jurialmunkey Wrote:
(2020-06-05, 16:57)Edworld Wrote: If I move down from movie to alphabet strip and back up it trigger the filter screen. Is this by design?

Definitely not intentional. What view is this happening in? Are you sure you aren't pressing down twice

I didn't know they were different views....

Yes you are correct, if you move down twice... and I know why I do it twice. The first movie in my collection is (500) days of summer. I guess the skin / alphabet strip doesn't know what to do with ( and nothing gets highlighted. That is how I end up pressing down twice waiting for something to get highlighted.


RE: Arctic Horizon - Edworld - 2020-06-07

While browsing episodes, filter screen overlaps on the third row:

https://imgur.com/a/BY9l54Q


RE: Arctic Horizon - jurialmunkey - 2020-06-07

(2020-06-06, 17:58)wsx1 Wrote:
(2020-06-06, 16:35)jurialmunkey Wrote:
(2020-06-06, 15:26)tripkip Wrote: Ah ok, that's surprising. I can live with the way it works. [emoji6]

My scraper (TMDB) is set to NL (Dutch). As a result the genre for the movies are imported localized. So 'Animation' becomes 'Animatie'. This in turn causes the genre icon not to show.

I think it is one of those things where what is/isn't intuitive depends on what purpose you're using the wall for. I find if I'm looking for something specific, then I'll expect OK to play immediately from the wall; whereas if I'm just browsing, I expect the opposite. Ultimately I think OK playing directly makes slightly more sense because you still have back to close, whereas if OK closes then there's no button to play directly.

For genres in a different language, you would need to edit the genre image resource addon and change the image filenames to match the Dutch names. The skin just adds ".png" to the genre label to display the genre icon.
Can you give and example and the path for the "genre" edit?.
I have the same problem because my language is Italian

So the genre icons are stored in an "Image Resource" addon.
/kodi/addons/resource.images.moviegenreicons.transparent/resources/Textures.xbt

You need to unpack the Textures.xbt using TexturePacker https://kodi.wiki/view/TexturePacker
If you're on windows you can use the GUI version, TextureTool https://kodi.wiki/view/TextureTool

Then you need to make copies of the unpacked png files, rename them to their Italian counterparts and then repack them into the Textures.xbt


RE: Arctic Horizon - jurialmunkey - 2020-06-07

(2020-06-06, 18:21)FXB78 Wrote:
(2020-06-06, 05:33)jurialmunkey Wrote:
(2020-06-05, 18:44)FXB78 Wrote: When using PVR sometimes the lookup seems to fail & leaves a blank poster to the left, I would normally see the channel logo here if there is no data instead of this blank poster view. Is this a bug or is there a setting I need to change somewhere?

Image

The poster only displays if TMDbHelper service returns an image URL. The issue is that it's up to Kodi to retrieve the actual image from the URL when it is referenced in the skin (once the image loads, Kodi caches it in the texture cache so it doesn't have to look it up from the URL again).

A few things can cause this issue:
1. Kodi simply hasn't retrieved and loaded the image into the texture cache yet due to a backlog in the background image loader (most likely).
2. TMDb/FanartTV image server is down/slow (or internet connection is down/slow) (also possible).
3. Malformed or incorrect URL (unlikely)

There's no much that can be done from the skin side. The skin can't check if the image exists, it can only check that a URL was specified by checking if this condition is true or false: String.IsEmpty(Window(Home).Property(TMDbHelper.ListItem.Poster))
If the image hasn't been loaded into the texture cache would you expect the image to show say, 5 minutes later for example? These images never display, but for whatever reason it only happens on certain shows.

From what I can see in the Debug log a failure gives the warning DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'None' which I think seems to indicate there is no image to load in the first place?

EDIT - I dug out an old version of TMDBHelper, ver 2.4.0 and it doesn't give me this behaviour, it displays the channel logo square as I would expect if there is no image. So it appears somewhere between 2.4.0 & 2.4.36 of TMDB Helper there has been a change which has caused these Blank Poster views. See screenshots demonstrating this below:

Okay, yep that's definitely a bug -- it is option 3 (incorrect url) after all! Looks like there was some regression somewhere and if the URL has a None value it is being added as literal "None" rather than an empty value.

I'll see if I can find the cause and get back to you.


RE: Arctic Horizon - jurialmunkey - 2020-06-07

(2020-06-06, 18:53)Edworld Wrote:
(2020-06-06, 09:19)jurialmunkey Wrote:
(2020-06-05, 16:57)Edworld Wrote: If I move down from movie to alphabet strip and back up it trigger the filter screen. Is this by design?

Definitely not intentional. What view is this happening in? Are you sure you aren't pressing down twice

I didn't know they were different views....

Yes you are correct, if you move down twice... and I know why I do it twice. The first movie in my collection is (500) days of summer. I guess the skin / alphabet strip doesn't know what to do with ( and nothing gets highlighted. That is how I end up pressing down twice waiting for something to get highlighted.

Can you test latest and see if it works properly for "(500) days of summer" now? Before I was checking that it was a number to highlight the "#" but I guess I should really do the inverse - i.e. check that it's not a letter instead.


RE: Arctic Horizon - hacky4real - 2020-06-07

Kiosk mode is enabled but view options can be changed; is there a way they can be locked?


RE: Arctic Horizon - jurialmunkey - 2020-06-07

(2020-06-07, 12:22)hacky4real Wrote: Kiosk mode is enabled but view options can be changed; is there a way they can be locked?

I've hidden the view mode switcher in Kiosk Mode in the latest. Do you think that "Sort by" and "Hide Watched" should also be hidden, or just the view mode switch?


RE: Arctic Horizon - FXB78 - 2020-06-07

(2020-06-07, 09:41)jurialmunkey Wrote:
(2020-06-06, 18:21)FXB78 Wrote:
(2020-06-06, 05:33)jurialmunkey Wrote: The poster only displays if TMDbHelper service returns an image URL. The issue is that it's up to Kodi to retrieve the actual image from the URL when it is referenced in the skin (once the image loads, Kodi caches it in the texture cache so it doesn't have to look it up from the URL again).

A few things can cause this issue:
1. Kodi simply hasn't retrieved and loaded the image into the texture cache yet due to a backlog in the background image loader (most likely).
2. TMDb/FanartTV image server is down/slow (or internet connection is down/slow) (also possible).
3. Malformed or incorrect URL (unlikely)

There's no much that can be done from the skin side. The skin can't check if the image exists, it can only check that a URL was specified by checking if this condition is true or false: String.IsEmpty(Window(Home).Property(TMDbHelper.ListItem.Poster))
If the image hasn't been loaded into the texture cache would you expect the image to show say, 5 minutes later for example? These images never display, but for whatever reason it only happens on certain shows.

From what I can see in the Debug log a failure gives the warning DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'None' which I think seems to indicate there is no image to load in the first place?

EDIT - I dug out an old version of TMDBHelper, ver 2.4.0 and it doesn't give me this behaviour, it displays the channel logo square as I would expect if there is no image. So it appears somewhere between 2.4.0 & 2.4.36 of TMDB Helper there has been a change which has caused these Blank Poster views. See screenshots demonstrating this below:

Okay, yep that's definitely a bug -- it is option 3 (incorrect url) after all! Looks like there was some regression somewhere and if the URL has a None value it is being added as literal "None" rather than an empty value.

I'll see if I can find the cause and get back to you.
Thanks, after trying a few old versions I narrowed it down to the update from 2.4.27 to 2.4.28 and more specifically it seems to be this commit which started the issue https://github.com/jurialmunkey/plugin.video.themoviedb.helper/commit/f115347a26f30b95f13e18899a0bd318116bada0. Hopefully that will help you to get to the bottom of it Smile


RE: Arctic Horizon - jurialmunkey - 2020-06-07

(2020-06-07, 13:58)FXB78 Wrote:
(2020-06-07, 09:41)jurialmunkey Wrote:
(2020-06-06, 18:21)FXB78 Wrote: If the image hasn't been loaded into the texture cache would you expect the image to show say, 5 minutes later for example? These images never display, but for whatever reason it only happens on certain shows.

From what I can see in the Debug log a failure gives the warning DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'None' which I think seems to indicate there is no image to load in the first place?

EDIT - I dug out an old version of TMDBHelper, ver 2.4.0 and it doesn't give me this behaviour, it displays the channel logo square as I would expect if there is no image. So it appears somewhere between 2.4.0 & 2.4.36 of TMDB Helper there has been a change which has caused these Blank Poster views. See screenshots demonstrating this below:

Okay, yep that's definitely a bug -- it is option 3 (incorrect url) after all! Looks like there was some regression somewhere and if the URL has a None value it is being added as literal "None" rather than an empty value.

I'll see if I can find the cause and get back to you.
Thanks, after trying a few old versions I narrowed it down to the update from 2.4.27 to 2.4.28 and more specifically it seems to be this commit which started the issue https://github.com/jurialmunkey/plugin.video.themoviedb.helper/commit/f115347a26f30b95f13e18899a0bd318116bada0. Hopefully that will help you to get to the bottom of it Smile

Yeah that's super helpful! I had a feeling it was around that time where I split the different sections of the service monitor up.

Out of interest, if you disable "Get additional details from the local Kodi library database", does that fix it? Just trying to narrow down if the issue is with that or the fanarttv lookup.

EDIT: Actually can you just test latest git version of TMDbHelper - Hopefully will fix the issue.


RE: Arctic Horizon - FXB78 - 2020-06-07

(2020-06-07, 16:38)jurialmunkey Wrote:
(2020-06-07, 13:58)FXB78 Wrote:
(2020-06-07, 09:41)jurialmunkey Wrote: Okay, yep that's definitely a bug -- it is option 3 (incorrect url) after all! Looks like there was some regression somewhere and if the URL has a None value it is being added as literal "None" rather than an empty value.

I'll see if I can find the cause and get back to you.
Thanks, after trying a few old versions I narrowed it down to the update from 2.4.27 to 2.4.28 and more specifically it seems to be this commit which started the issue https://github.com/jurialmunkey/plugin.video.themoviedb.helper/commit/f115347a26f30b95f13e18899a0bd318116bada0. Hopefully that will help you to get to the bottom of it Smile
Out of interest, if you disable "Get additional details from the local Kodi library database", does that fix it? Just trying to narrow down if the issue is with that or the fanarttv lookup.
I don't normally have that option enabled, but I've just tried with it both enabled & disabled and on both it shows the same issue.


RE: Arctic Horizon - FXB78 - 2020-06-07

(2020-06-07, 16:38)jurialmunkey Wrote: EDIT: Actually can you just test latest git version of TMDbHelper - Hopefully will fix the issue.
Just tested and unfortunately it's still not fixed.


RE: Arctic Horizon - hacky4real - 2020-06-07

(2020-06-07, 13:29)jurialmunkey Wrote:
(2020-06-07, 12:22)hacky4real Wrote: Kiosk mode is enabled but view options can be changed; is there a way they can be locked?

I've hidden the view mode switcher in Kiosk Mode in the latest. Do you think that "Sort by" and "Hide Watched" should also be hidden, or just the view mode switch?


I thinkĀ just the view mode switch is fine.
ThanksĀ 



RE: Arctic Horizon - jurialmunkey - 2020-06-08

(2020-06-07, 16:50)FXB78 Wrote:
(2020-06-07, 16:38)jurialmunkey Wrote: EDIT: Actually can you just test latest git version of TMDbHelper - Hopefully will fix the issue.
Just tested and unfortunately it's still not fixed.

Ah yep, you're right. I just managed to reproduce the issue. I think latest version of TMDbHelper should finally fix the issue (at least it did for me!)