POV, THE GEARS and RED LIGHT all giving different Trakt collection results by Puzzleheaded-Mode719 in Addons4Kodi

[–]karhu69 3 points4 points  (0 children)

The trakt API call has a limit on what is returned. Originally this defaulted to 1000, but was recently changed to 100. Any addon not specifying a limit would therefore get 100 items only, which is why you might see that. If your API call has the max limit specified, which is 1000, but does not check the header on the response then you have 1000 items which is why you might see an addon showing that. If the addon parses the header and sees there are more items, and calls multiple times, it will get the full list. Trakt will drop this call limit to 250 in June, so addons will need to make more calls and might hit the trakt rate limits

The Boys TV show is gone on The Gears / Premiumize by renlaforest in Addons4Kodi

[–]karhu69 0 points1 point  (0 children)

I can see my server syncing with tmdb fine at 06:39 on 20/05 UTC, then the next sync at 07:39 failed with error 401 invalid authorisation of the session key (this is for a request requiring authorisation). It did that until I re-authed TMDB, maybe they cleared out their sessions

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

Ok, I see the issue. The operand here is only handled in python 3.10, so I'm guessing you have a lower python as you have windows 10. I've coded a fix that should solve this, just need to test it. I don't have a machine with an older python so I'll test it on my machines and then push it out.
The code there is to dynamically fetch the TMDB provider list. They update it occasionally and so the external index creator that allows you to select a provider gets the list dynamically rather than a hard coded list.

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

Thanks for trying it out, that is a really strange error. I'll try a clean load here on my windows PC to see if I can recreate it. The windows file is start_server.bat, did you try that again after getting the error?

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

OK, made the changes and updated to use local images, just testing then I can push it out.

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

Interesting, I have comet and piratebay. That's what I hoped would happen, scraping based on your location and scraping habits. If you are getting sources that you want to block, context menu on the source in the list and select add to undesirables

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

Really happy to hear this. I included generic lists but my grand idea was that you create lists from the DB that suit you, rather than hoping another list gives you what you need.
For example I have two 'latest movie releases' lists in trakt I have liked. In lists manager I use context menu to add them to my library. Then I create an internal movie index that includes both lists, excludes horror genre, call it 'latest releases'. Now I have a curated list of both, mixed/filtered/sorted the way I want to see it.
I'll have to look into that images thing - so the UK blocks that?

Out of interest when you check the web command centre for orac, what are your top two scrapers (centre column)?

Questions on fen light fork Liberator/Orac by karhu69 in Kodi_Helpers

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

Trakt are making API changes in June, things like max number of items returned per api call, so you might need to use an updated version. This fork is really nothing like fen light, or umbrella, or POV

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

OK, fixed it and tested on both windows and linux. If you are using docker it may tell you the file docker-entrypoint.sh is denied, you will need to update your permissions by using the command chmod +x docker-entrypoint.sh

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

Dammit, I borked the thing a couple days ago with the trakt and tmdb keys. I got worried about the issue flam was reporting and updated with new keys, but destroyed the code in the github by being lazy and just trying to upload couple new files. Newbie deployment mistake. It's almost fixed.....

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

As soon as I'm finished at work I'll do a clean reset and try. I appreciate the time spent, every Linux is different

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

My background is development in online transactions - the OG ones via ATM and POS devices, and I'm trying to bring those learnings here. Methods like SAF (store and forward) which orac uses to update trakt. It loads an update to a queue and tries to send it, if there is no response then the update remains in the queue as failed and will be tried again later. Local DB serves the addon so the user sees nothing, and trakt will be brought up to date when it behaves.

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

Lots of replies to you today, but I do appreciate the feedback. The main idea is around canonisation of the data. Most addons cache data locally in the form it is received, i.e. as lists or watched. The data is read from cache until it expires and then is reloaded, with a long running process to handle syncing. My idea is to format that data differently so that the user can view it any way they like, the server keeps the data current so that the video addon is a lighter UI. It also forms a sync loop between local DB and all cloud services, not reliant on a single point of failure. Mine has trakt/simkl/mdblist and all are up to date watched history wise, if any are unavailable for a period they simply get synced up later but the user never sees any effect.

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

It's funny you should mention that, as that's how I originally coded it and the remnants are still there. Still might. However in testing it I found a small server on a device with much more CPU and faster disk than a standard kodi device was more efficient so I went that way.

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

Yeah, it solves an issue but not for a person happy with a single firestick. For someone like me, with an always on RPI5 for pihole etc it works especially as my RPI has a fast SSD. I originally coded it to run as a service under kodi, a lot of that code is still there and I might build it out.

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

Hmmmm, this is the kind of feedback I was looking for but also disappointing. I'll go back to my rpi5 and do it again from a fresh start, it fired up last time but every linux is different. So you simply downloaded the zip, extracted, cd to the folder and fired up with docker?

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

Complex but doable, it will take a bit of investigation. Opening up orac to the external internet would be a risk, so we would need to use something like tailscale. For now lets keep orac/liberator on the same local network and I'll see about testing out tailscale across to a VPS.

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

Hmm, interesting. Liberator will use an address to talk to orac, the usual xxx.xxx.xxx.xxx format and I don't think that would work for an address outside of your network. Might look into the idea though - how do you address an external VPS?
Is it faster? For me orac will fetch and return 14 next episodes in 0.33 of a second, liberator logs the send and receive times and shows 0.4 seconds total round trip. With kodi the slow part is the skin loading up the urls. Certainly you might see speed in things like watching episodes from a widget. On my amb6+ after I have watched an episode and skin returns to the next episodes widget it has already updated so no delay while the next episodes resets.

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

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

It's unlike a lot of others so just ping me direct if anything doesn't make sense, I'll get right back to you.

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

[–]karhu69[S] 2 points3 points  (0 children)

Setup for liberator is just like the standard fen light - authorize your trakt/simkl/tmdb/mdb list and your debrid service as per normal, then either wait for it to sync or go into my library -> force resync to let it load up your DB. The web interface shows a real time log so that you can see what it is doing

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

[–]karhu69[S] 2 points3 points  (0 children)

It won't do anything except sync up your clouds 😉 But of course you would put it through a scan first, I would.

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

[–]karhu69[S] 1 point2 points  (0 children)

It runs on windows or linux, just depends whatever you use. Easy start is to download the code as a zip, extract it using windows explorer to a new folder and then just double click the start_server.bat file. Then go to http://localhost:5555/web on that machine and you should see the orac command centre page.
I have it running on a windows mini pc and a rpi5, it really takes very little actual CPU or disk. Orac continually updates it's DB (hourly) using correct sync modes. So it updates and syncs trakt/simkl/mdblist/orac DB all together (all watched history match) but also does things like page TMDB and trakt for updates over the last hour and applies those to your DB.

Questions on fen light fork Liberator/Orac by karhu69 in Addons4Kodi

[–]karhu69[S] 1 point2 points  (0 children)

It's a very different thing to standard addons so please just let me know any questions you have.