Giter VIP home page Giter VIP logo

plugin.video.seren's Introduction

Kodi version pre-commit Code style: black CI codecov License: GPL3

Seren (plugin.video.seren)

Seren is a multi-source addon for Kodi with the added ability to install custom provider modules. Unlike other Kodi addons which are generally built for a single service use, Seren allows users to connect to multiple online/offline services at once for their viewing with a single click.

Contribution

Install all dependencies in requirements.txt

pip install -r requirements.txt

Configure hooks for automated pre commit changes:

pre-commit install

Ensure that git is available in your PATH

FAQ

How do I install a new provider?

In the settings menu of Seren you will find a providers tab. Inside this tab you will find the install provider package option.

How do manage my providers?

Within Seren's settings, you will find the providers tab. Within this tab you can disable/enable single providers inside provide packs, enable/disable entire provider packages, enable/ disable automatic provider updates and manually for a update check for your providers.

Seren won't show me season or episode lists and instead begins playing automatically?

Please disable the Auto Episode Resume setting in the general tab of Seren's settings.

I'm experiencing an issue whilst using Seren. Where can I get help?

You can often find help from users in the Addons4Kodi subreddit or you are always welcome to log a github issue and I will contact you directly to investigate the issue.

License

Licensed under The GPL License.

Repography logo Recent activity Time period

Timeline graph Issue status graph Pull request status graph Trending topics

plugin.video.seren's People

Contributors

drinfernoo avatar inb4after avatar mastacc avatar nazegnl avatar nixgates avatar notwhatever avatar ryskimod avatar thisischrys avatar ventsislav-georgiev avatar vitorp07 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plugin.video.seren's Issues

Please add non cached links option & packs

Please can you add an option in settings to show non cached links for real debrid and allow us to add them to real debrid.

Can you also add support for season packs in real debrid.

Gaia has both of these working.

Episode Custm View not working

Using Leia

As title suggests...

Something weird going on... I'm using the Arctic Zephyr skin, i can set custom view types for all views... But no matter what i set for Episode View in Seren settings, Seren will always default to a standard list view for episodes.

and when in the episode view, pressing backspace to go back to "season" , the season view changes to what the ''episode" view should be in the custom settings.

weird behaviour

Survivor - Season List is Wrong

Go to Survivor in TV Shows, and the season list is completely wrong. They're basically all in the wrong order. For example, the 30th season is listed as season 39 when there are only 37 seasons released.

I'm not sure if trakt's Survivor page is just wrong or if it's a strange bug since all other shows I've seen are correct. Perhaps other shows are also wrong, but this is the only one that I've noticed.

Kodi crash when installing repo

I have latest libreelec installed. When i choose install from zip file, choose repo zip, kodi just restart. It wont install repo. What logs you need,kodi crash log or what?

Subtitle

Please add an auto subtitle download for us non english speaker in this best addons. Tyvm.

New Das boot Show no artwork and won't show links

The new Das Boot TV show has no artwork and instead has white projector symbol.

Since the latest .34 update that added artwork to the scraper page it seems if the show doesn't have artwork it won't show the scraper page and displays no links available message.

[Feature request] Download streams

Would it be possible to be able to download content rather than always streaming? Apologies if I've missed a setting somewhere (similar to the download settings in incursion).

Thanks

Library Integration

As great as your addon is, I'll never abbandon the kodi library, it's way faster browsing it then trough any addon 😉 and way more convenient than using Trakt lists. And yeah I could use widgets and custom skin menus etc. but still the library tops it all.

So I'll wait and hope this feature comes.

But as I said, great work.

Finish Watching doesn't continue from where you left off

When you stop a movie, it will pop up in the "Finish Watching" category but when you click the movie from there it will start from the beginning, I notice if I click the same movie from within my trakt list the movie will play at the proper time but in the "finish watching" section it just always starts from the beginning.

This is on 0.24

TV Show artwork

Quick question / feature request...

But first wanted to say brilliant script and I personally am very thankful and appreciate this - been testing since I saw the post on reddit and works pretty good once I got real-debrid and trakt to register properly.

anyway back to the request for consideration...

It would be awesome for the script to set TV Show artwork (specifically clearlogo and clearart) when playing TV Shows - so I thank you for considering this feature.

Thanks and thanks again!

Mario

UpNext

Hey Nix, quick thing I noticed with Using UpNext and NextUp together.

So if you let UpNext either time out and auto play the next episode OR click “play” so it starts the next episode. What ends up happening is it will immediately mark on Trakt the new episode as “watched” even if you stop it right away. So NextUp will show the next episode.

In other words if I use UpNext to start the next episode (episode 8) then immediately stop the episode. NextUp will show episode 9 and trakt will mark episode 8 as watched.

I can provide logs just let me know which ones?

Views not saved for the next Site

At Kodi (and Seren too) the User can change the View Typ (Wall, InfoWall and so on...)

But there is a problem with the following sites after page 1

Kodi18 , Skin Estuary (and other skins too)

After page 1 there is always only List View

Changes in Seren (Custum) don't fix this problem

This Problem is in another Forks the same, bute the Problem is comeing up with Kodi18

Kodi17 no Problems

Providers Implementation Guide

Is there a guide anywhere on how to write providers for Seren? What are the APIs that need to be provided, how the auto-update should work etc?

Seren episodes being marked as watched multiple times

Seren 0.1.29
Up Next from Nixgates Repo
Continuous Playback (All episodes in the picture, were auto played one after the other, never paused, or stopped. The first link worked every time)
I have heard other people having the same issue.

IMAGE:
07ad3df767cb7b4e137ef3a0a01c84b7-jpg

[Feature Request] Initiate Search through JSON-RPC

Currently to search for a film/show through the JSON-RPC I have only found a way to do it in 2 requests which feels clunky and prone to error.

http://libreelec.local:8080/jsonrpc?request=[{"jsonrpc": "2.0","id": 2,"method": "GUI.ActivateWindow","params": {"window": "videos","parameters": ["plugin://plugin.video.seren?action=moviesSearch"]}}]

http://libreelec.local:8080/jsonrpc?request=[{"jsonrpc":"2.0"],"id": 2,"method":"Input.SendText","params":["Bug Buck Bunny"}]

Would it be possible to pass something into actionArgs to skip to text input and initiate search on a given string?

[FeatureRequest] Cache Assist for TVShow Season

Currently the cache assist will trigger debrid service download only after no cached sources are found. It will be great if we can trigger cache assist on a whole season. It doesn’t have to check if episodes already have cached sources. Just find torrents with appropriate resolution and add them for debrid download. This may be used to improve the cached sources, if the current ones are not good.

Unable to use Seren, these are the errors in my kodi.log

I have Seren installed on a couple of my devices. I have my Real-Debrid and Traxt accounts registered to the addon, however whenever I try to use it I get the following in my kodi.log. What does this mean and how do I fix it? :

T:22835 ERROR: File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.seren/resources/lib/debrid/real_debrid.py", line 277, in getRelevantHosters

2019-02-14 06:44:39.071 T:22835 ERROR: for domain, status in host_list.iteritems():

2019-02-14 06:44:39.072 T:22835 ERROR: AttributeError: 'NoneType' object has no attribute 'iteritems'

2019-02-14 06:44:39.073 T:22835 ERROR: Traceback (most recent call last):

2019-02-14 06:44:39.073 T:22835 ERROR: File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.seren/resources/lib/debrid/real_debrid.py", line 277, in getRelevantHosters

2019-02-14 06:44:39.074 T:22835 ERROR: for domain, status in host_list.iteritems():

2019-02-14 06:44:39.074 T:22835 ERROR: AttributeError: 'NoneType' object has no attribute 'iteritems'

2019-02-14 06:44:39.707 T:22894 ERROR: Traceback (most recent call last):

2019-02-14 06:44:39.707 T:22894 ERROR: File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/plugin.video.seren/providers/LambdaScrapers/en/hosters/xmovies.py", line 57, in searchShow

2019-02-14 06:44:39.728 T:22894 ERROR: clean_title = cleantitle.geturl(title).replace('-','+')

2019-02-14 06:44:39.728 T:22894 ERROR: File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/plugin.video.seren/providerModules/LambdaScrapers/cleantitle.py", line 42, in geturl

2019-02-14 06:44:39.748 T:22894 ERROR: title = title.translate(None, ':*?"'.<>|&!,')

2019-02-14 06:44:39.748 T:22894 ERROR: TypeError: translate() takes exactly one argument (2 given)

2019-02-14 06:44:51.208 T:22999 NOTICE: SEREN: btScraper.episode.magnetdl: 0

2019-02-14 06:44:51.703 T:23056 NOTICE: SEREN: btScraper.episode.piratebay: 1

2019-02-14 06:44:52.577 T:22951 NOTICE: SEREN: btScraper.episode.katcr: 0

2019-02-14 06:44:53.776 T:22850 NOTICE: SEREN: btScraper.episode.torrentapi: 1

2019-02-14 06:44:55.204 T:23077 NOTICE: SEREN: btScraper.episode.1337x: 1

2019-02-14 06:44:55.465 T:23004 NOTICE: SEREN: btScraper.episode.bitlord: 0

2019-02-14 06:45:00.380 T:22869 NOTICE: SEREN: btScraper.episode.zooqle: 1

2019-02-14 06:45:00.585 T:22958 NOTICE: SEREN: btScraper.episode.yourbittorrent2: 0

2019-02-14 06:45:00.594 T:23034 NOTICE: SEREN: btScraper.episode.eztv: 0

2019-02-14 06:45:00.625 T:23020 NOTICE: SEREN: btScraper.episode.showrss: 0

2019-02-14 06:45:45.087 T:21674 NOTICE: Trying to open: samplerate: 44100, channelMask: 12, encoding: 4

2019-02-14 06:45:45.099 T:21674 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

2019-02-14 06:45:47.112 T:23598 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

  • NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!

Error Type: <type 'exceptions.TypeError'>

Error Contents: 'NoneType' object has no attribute 'getitem'

Traceback (most recent call last):

File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.seren/seren.py", line 380, in

cacheAssist.CacheAssit(actionArgs)

File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.seren/resources/lib/modules/cacheAssist.py", line 37, in init

threads.append(threading.Thread(target=self.real_debrid_downloader(torrent_list[0], args)))

File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.seren/resources/lib/modules/cacheAssist.py", line 110, in real_debrid_downloader

info = debrid.torrentInfo(magnet['id'])

TypeError: 'NoneType' object has no attribute 'getitem'

-->End of Python script error report<--

Errors playing back episodes

Hey not sure if here is the right place, but some shows I have tried to play completely do not work on Seren. Law and Order: Special Victims Unit Season 20, from episode 14 onwards.

Seren doesn't find a lot of links, but the ones it does do not play back. On other addons (13Clowns) it finds them and can play them back, although it crashes for some reason after a few minutes playing.

websites like 123moviesnet.org work fine no issues.

Let me know if this is a bug or if it can be fixed from my end.

Thanks

Auto Resume for Shows not playing next episode

Auto Resume for Shows is not loading the next episode if the last one was fully watched.

Should it not resume the episode if we didn't finish it and if we did load the next one.

The last episode you have watched is loaded even if you have it marked as watched.

Is it possible to make it load the next episode and not the previous one.

Thank you

Next Up Hangs

Trakt integration is enabled and generally functional as evidenced by Lists populating, Trakt Bookmarks working to resume. The Next Up feature hangs with no apparent processing / progress loading on my installation.

Basic build info: Seren 0.1.24 / Kodi 17.6 / 4K Firestick. Only entry in log appears after clicking back or killing Kodi session:

13:26:59.491 T:18446744073370097952 ERROR: GetDirectory - Error getting plugin://plugin.video.seren/?action=showsNextUp
13:26:59.495 T:18446744073370097952 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.seren/?action=showsNextUp) failed

Attending to exit (shut down) Kodi after this condition results in a hung Kodi which I must force kill due to:
13:27:34.516 T:18446744072873519392 ERROR: CPythonInvoker(17, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.seren/seren.py): script didn't stop in 5 seconds - let's kill it

Incidentally, if just clicking back (instead of shut down), other other processes like viewing watchlist continue to function. Let me know if you require any additional information or testing.

Seren Stuck on Starting Link Resolver

Seren gets stuck on Starting link Resolver after cancelling out of Source select screen.

This is happening on Kodi 17.3 on an older Android dual boot libraelec that has no update available.

Trailers playing behind menus

Whenever I play a trailer it always plays behind the menus. I have tried with other addons and the trailers play properly.
krypton 17.6
Skin Transparency
nVidia Shield

RD - Cache Assist (No Sources) Failure - runaway caching

Seems as if for instance I am trying to watch Episode 2 of Season 3 of The Flash
I will get a no playable sources found and then the addon appears to be looking for shows again after saying it is attempting to build a cache.... in fact it seems that if that episode fails then it will jump right to the next and if that fails to the next and so on (until I back out of add on)

I've heard that the folks over at RD are kinda asshats to customers and that slamming the API for torrents could get you banned for (a day?) or something unhappy.

I know for a fact that the one time I posted something to their forum that they didn't like they deleted the post and when I asked why they would do something like that my access to the forums was gone and it took me 2 months to gain access again.

Like I said - asshats (or expletive of your choice)

below you can see the cascading of episode torrent cache attempts and ones in progess.

Also what appears to be a duplicate in progress too (?)

maybe when a playable episode is not available, don't jump to attempting a new one automatically or ask or set a kodi bg task (or alarm etc) to update progress and then send a notification episode it ready or IDK - I defer to you on what you want to do.

I am just pleased you are writing this awesome add on and was more worried about the implications of RD and their irrational temper.

Thanks!!
M

kodi_2018-12-23_04-26-51
2018-12-23_04-25-56

Landscape artwork issue after Update to 0.1.34

So the lanscape artwork was working great before, it would show a screenshot from the episode but after the new update for .34 the artwork now shows a cut off version of the tv show poster.

Example before update:

https://i.imgur.com/56U2l5w.jpg

After update:

https://i.imgur.com/Bjhfm5P.jpg

Further if I check off "prefer fanart for landscape widgets"

I get this which is better but not the same screenshots from before

https://i.imgur.com/lsZ72Fi.jpg

Also noticed when I go into episode lists where normally i would see the screenshot for every episode it now just shows the poster, even if i change the view mode its always the same poster image.

Heres my logfile:
http://paste.kodi.tv/qozilutaxo

Seren takes a lot of time to show episodes

When starting Seren and navigating to the "Next Up" section it takes 15 minutes to show the list of episodes. In those 15 minutes nothing happens besides the spinner spinning.

debug kodi logfile: here
above log filtered for "seren": here

timeline of that logfile:

  • 11:30 kodi start
  • 11:31 seren/next up start
  • 11:34-11:43 disabled screensaver 4x
  • 11:46 list of episodes is shown

(for comparison: "New episodes" in 13 clowns takes 17s on the 400MBit/s line via ethernet)

Kodi 18 on Nvidia Shield
read-debrid and trakt.tv authorized.

Trakt lists not sorted correctly

I've tested this in a fresh install of Kodi 18.0, with only Seren 0.1.31 installed and Trakt authorized.

Testing using this Trakt list, which is sorted correctly on the website (by Title, ascending), I've got a number of odd sortings inside Seren. I recognize that this is a pretty large list, compared to some smaller ones... But there are also much larger lists available.

What could be causing this strange sorting?

Can Seren use the same clear logos & artwork as Realizer?

The artwork for both the movie sections and TV shows in the new Realizer is amazing.

The clear logos load instantly and all the artwork has the name of the movie in the artwork.

Can we have an option to use this source?

If you compare the realizer list sections you will see in titan the clear logos are super fast to load as well as the artwork.

Movie Watchlist sort order permanently stuck at recently added or rank.

When changing the default order of any "personal" list and clearing cache the list ordered changed in seren with no issues.
However, Trakt movie watchlist always defaults to rank or recently added within seren no matter what sort order i choose in trakt.tv. I upgraded to latest developmental build, cleared cache, reauth trakt and still am having the same issue. This is occurring on 3 different trakt accounts and 3 different devices, Windows, RPi running LIBREelec and a nVidia Shield.
Scanning thru the seren megathread i've read few others mention the very same issue.
Thank you,

Autoplay adding unaired episodes to playlist

I use Seren with Trakt, I do not have the official Trakt addon. I also use the up-next addon.

I noticed that around 50% of the time, unaired episodes are adding to the playlist, due to idiots mislabeling episodes they actually end up playing. This would not be an issue as I just stop it when it starts, but my issue is that Trakt is marking it as watched. Adding a percentage needed to watch before marking as watched would fix this, or find a way to stop adding unaired episodes to the playlist.
I can honestly live with stopping the unaired episode, but the marking it as watched is annoying as I have to go into my history and unmark them.

Views not saved for the next Site

At Kodi (and Seren too) the User can change the View Typ (Wall, InfoWall and so on...)

But there is a problem with the following sites after page 1

Kodi18 , Skin Estuary (and other skins too)

After page 1 there is always only List View

Changes in Seren (Custum) don't fix this problem

This Problem is in another Forks the same, bute the Problem is comeing up with Kodi18

Kodi17 no Problems

Nextup showing episodes a day later

In Seren it is showing TV Episodes air date as one day later than their actual air date. For example, Big Bang Theory shows air date as 2/1 in Seren, but 1/31 in Trakt and TVGuide.

Local library items found but won't play

It's a great feature to check the local library in case I already have an item. But selecting a local item always fails with something like "no playable sources". I hope this can be fixed, Seren is really upping the ante.

Certain links not working since the update.

Since seren updated to 0.1.29 I've noticed 2 links not working in discover movies, recommended for you and trending. When clicked the wheel spins very briefly and then nothing, you are still on the main discover movies menu.

I haven't checked every single link so far but tried about 5 others and they were working fine, if you'd like me to go through each one please just let me know.

Kodi crashes & reboots when playing a stream

I went to movie streams from a trakt list, and attempted to play one, it showed a black screen for a while and then after a while Kodi rebooted. It does this now for every stream.

I'm running LibreElec 8.2.5 (Linux 4.9.80)
and that is running: Kodi 17.6 Git:a9a7a20

There's a pastebin of the crashlog here.

The addon was working great for half a day, i hope i can get it working again, it looks great!
Thank you!

update: some tv links appear to be working now

Kodi 18 RC1 crashes when attempting to play from widget

Kodi Version: Kodi 18 RC1
Issue: Kodi crashes when Seren is requested to play an item directly from a widget.

How to reproduce:
Selecting to play any item within next up menu from a skin widget

Possible cause: Custom Dialog Windows

Seren and Trakt

Noticed that when i start watching a show from next up and i stop the show about 10 mins in, it gets marked as watched when i try to go back to it. Kodi 18 seren 1.29 up next installed as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.