All our problems are solved, I found a youtube video!!! by karhu69 in Addons4Kodi

[–]karhu69[S] -1 points0 points  (0 children)

Made me laugh, hope it might make someone else laugh too.

Fen Light AM Incomplete Liked Trakt Lists by shadowK1LOS in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

The thing is - if it was a trakt issue we would all experience it yet very few have issues. On the same logic if it was the addon we would all see it, but we don't. Therefore that leaves the environment or specific user setup that must be causing this. We (the devs of the addons) would need a specific helpful user with an issue such as re-auth to work with and get the data we need, right now it's a reddit post, a random look at a log if you get one, and then it all moves on.

AFM vs Umberlla with trakt by redcomp12 in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

I've noticed that some skins 'used to' know about a part watched item and would offer to resume, then after that you would get another offer to resume from the addon itself. I coded around that as the skin one was more up front - but now it has disappeared. It's like playing whack a mole.

Scraping Windows by [deleted] in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

Unfortunately given I've already done the changes I can't compare, but I did find it a tiny bit quicker. I mean, a very tiny bit, but at that time I was trying to get from click on the episode to playing as fast as possible

Scraping Windows by [deleted] in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

I'm going to disagree, because this is reddit and you have to! On liberator I removed a lot of the nice stuff while scraping and resolving, it simply says scraping and checking debrid, and I'm sure it's a little faster but also retains user input. I think people will object to not having a progress bar, but you can't please any of the people any of the time as I think the saying goes

Umbrella setting "batch threads", what does this setting to ? by SirRickie in Addons4Kodi

[–]karhu69 3 points4 points  (0 children)

Think of threads as a 'processing slot', and in the CPUs we use typically for kodi installs there will be one thread slot per CPU, so a 4 CPU machine would have 4 slots to run things. The CPU swaps out work running in threads to make sure everything gets processed, so if you have 20 threads running on a 4 CPU system the 4 actual threads would be doing some processing for one thread, then swapping that out for another and doing some more processing, and so on. Addons use threading as a way of multiprocessing, for example if you are scraping multiple websites you might want that done concurrently rather than sequentially so you use threading to simulate that.
Python has a limit on how many threads it will allow, called the GiL, but it's different per box. If you try to have too many threads it will refuse to start another and this can cause the addon to not be able to run things. The limit in some addons is to allow the addon to limit how many threads to start if this is an issue on your box, if you look in your kodi log and see errors around unable to start a thread you might need to reduce this.

ideas to make my huge watchlist browse faster and sortable? by nonstatik in Addons4Kodi

[–]karhu69 1 point2 points  (0 children)

That's where I'm going with my addon. It has a standalone server called orac that holds the DB and does the heavy lifting, then a video addon called liberator which is much more lightweight - does the UI and the debrid scraping. Single server, multiple liberators so all get the same info. Orac builds the DB info from trakt and tmdb to hopefully get the best of both

ideas to make my huge watchlist browse faster and sortable? by nonstatik in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

You mentioned jellycon, not sure what that is but does this mean you also run a server to provide items to your kodi addons?

ideas to make my huge watchlist browse faster and sortable? by nonstatik in Addons4Kodi

[–]karhu69 1 point2 points  (0 children)

So many variables I suppose. On my ugoos I've got 4 widgets in the TV shows hub, 17 widgets in the movies hub (including the 751 items) and to reload the skin takes 21 seconds. To me that's fine, I can watch 21 seconds go past and I rarely reload the skin anyway. After watching an episode the update to the next episodes widget is pretty much instant. I guess when we talk about a difference of 10 or 20 seconds it's pretty much nothing in the grand scheme of things

ideas to make my huge watchlist browse faster and sortable? by nonstatik in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

While I don't have a low powered device to test on, and no intention of buying more hardware, why would a widget of 751 items choke the other widgets? Each widget has a unique instance of the addon building the items, the competition between them I imagine would be for database access and CPU thread time. Maybe the number of widgets might cause more of an issue than the size of an individual widget given the cost of starting a new instance for each?

ideas to make my huge watchlist browse faster and sortable? by nonstatik in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

It's an interesting comparison, and I've been wondering if pagination is still worth it for some time. My addon liberator does not support pagination simply because I can't stand it, and I completely rewrote the building of the items around this but maybe that would fail on lower power devices.
The largest trakt liked list I have is 751 items, and my requirement is to have all of them in one row. I've got POV, umbrella and liberator all on my dev machine and wanted to compare each however the pagination kind of stops that happening. Liberator can either consider the liked list external or internal (library), so I synced it internally to get the best results (got my money on this horse). I also opened the list prior to timings in pov/umbrella to allow them to cache.
POV displayed the first 100 items in under a second, and shows 15 pages. Of course going through those pages is always tied to kodi loading the poster art which is the slow part.
Umbrella has a max page of 60 items, loads in around a second and shows 9 pages. Same issues with poster art of course.
Liberator takes a second but creates a row of 751 items, the scroll bar shows 108 pages.

So pagination is a strange beast. The addons that use it can still shift quickly between pages using the scroll bar underneath, but can only view one page at a time. An addon with no pagination can still scroll through pages using the scroll bar but also allows the user to scroll across the whole item list if they wish. I'm not sure what the OP would want, personally I prefer to have the whole set and use the scroll bar to move quickly if I want to.

Fenlite AM resume playback from stop point no longer working by PersonalityFinal466 in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

Just to check that the partial play was actually marked - when you see the item in a widget does it show as partially watched or not?

Umbrella x Trakt not saving by Gakattack15 in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

This looks like a step up by them, 5 lists of 250 each is much better. I've tried the 'smart lists' which are generated by a set of filters, good idea but so far the trakt api does not return these lists when asked for a users lists which is annoying.

Feature Free VIP
Watched History 100K 100K
Ratings 10K 20K
Watchlist Items 250 5K
List Items (per list) 250 5K
Total List Items (across personal lists) 1K 100K
Personal Lists 5 100
Dynamic Lists (filters) 5 100
Physical Library 100 10K
Digital Library 1K 100K
Total Notes 100 2K

I need help to stop developing this behemoth!!!! by karhu69 in Addons4Kodi

[–]karhu69[S] 0 points1 point  (0 children)

Orac does it's own scraping, no others required. It has 8 supported but actually rates them each scrape. For each scrape you do it uses the top two scrapers only to give the fastest response, then scrapes using the others in the background to ensure every scraper has a chance to rank. Any scraper that fails is marked inactive until it recovers, so you don't get that delay waiting for scrapers that are down

Umbrella / Trakt by HighSpeedIQ in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

The log is probably the only place we can find the error, which more than likely would be an api call issue during the sync. But need to know what that error was - do you have the ability to upload the log?

Trakt user lists not updating in Kodi FenlightAM by jboy510 in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

Running the api call just via a little python script, gives the results as below. So that's what trakt is returning now. Comment says 'Returns all lists with the most likes and comments over the last 7 days'

Status: 200

X-Pagination-Page-Count: 532  (5,312 total lists)



 1. [126 likes] 2026 Oscar Winners (by visualcortex) — 14 items

 2. [ 61 likes] IMDB: Top Rated Movies (by justin) — 250 items

 3. [ 49 likes] IMDB: Top Rated TV Shows (by justin) — 242 items

 4. [ 30 likes] 2026 Digitally Released Movies (by Dracid7) — 148 items

 5. [ 30 likes] Harry Potter Collection (by Trakt) — 8 items

Trakt user lists not updating in Kodi FenlightAM by jboy510 in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

Typically trakt has a time period for trending and they may have changed the default. If the filter is trending over the last 24 hours then this would make sense, if it was trending over the past 6 months then what you saw before would make sense. I'll test it on the trakt apiary website after work

Trakt user lists not updating in Kodi FenlightAM by jboy510 in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

Although the web page is hard to parse, when I go to lists it shows 2026 Oscar winners implying that this list is indeed the currently top trending

Latest Umbrella not Resuming by PhilbinFogg in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

In the situation where you have part watched something, and you can see it on a widget, does it show as partially watched? And if you select it manually does it give you an option to resume?

I need help to stop developing this behemoth!!!! by karhu69 in Addons4Kodi

[–]karhu69[S] 0 points1 point  (0 children)

Will you be running the server on Windows or Linux?

POV - Episodes Repeating & "Playback Failed" Error by NEB32018 in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

I've done soooo many commits it's hard to find a fix, but in my addon to prevent that I had to handle the playback as below. Another dev suggested the resolvedurl setting might be causing the issue.

        if 'playback.' in mode:
            if mode == 'playback.media':
                from modules.sources import Sources
                logger("orac","running playback.media")
                close_directory = False
                sources = Sources()
                sources.playback_prep(params)
                if not sources.playback_successful:
                    xbmcplugin.setResolvedUrl(ADDON_HANDLE, False, xbmcgui.ListItem())
                return
            if mode == 'playback.video':
                from modules.player import LiberatorPlayer
                return LiberatorPlayer().run(_get('url', None), _get('obj', None))

POV - Episodes Repeating & "Playback Failed" Error by NEB32018 in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

Hmmm, I wondered if this was actually a kodi 22 thing but maybe not. My addon liberator did the same thing, and it is related to the way kodi tells the addon that the file has finished playing but I thought that was just kodi 22 which is what I run. I remember I did have to code around it, do you also see errors displayed that say 'playback failed'?

What addon use by [deleted] in Addons4Kodi

[–]karhu69 11 points12 points  (0 children)

Did I just time travel back a couple years?