Giter VIP home page Giter VIP logo

otaku's People

Contributors

antonydp avatar felipejfc avatar goldenfreddy0703 avatar gujal00 avatar icarok99 avatar jac4e avatar joezito129 avatar jonathanluepfert avatar miguelkennedy avatar pahiro avatar piskndar avatar prometheusx-git avatar swagotaku avatar theasguard avatar umbrellaplug 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

Watchers

 avatar  avatar  avatar

otaku's Issues

[REQUEST] subtitles turn on automatically for subs and off for dubs

So I've been playing around with this to try and figure out if it's at all possible with subtitles, I like to watch dub most of the time but if only sub is available ill watch sub. But that means I have to then turn subtitles on so I can see them, but this means I have to go back and forth turning them on/off depending if its dub or sub.

I'm wondering if it's at all possible to have a setting where its something like "if default language is detected (dub) then subtitles off, if Japanese language detected subtitles on.

I know this works with regular shows/movies when using Seren because I can go into setting and have "forced only" subtitles selected so when a scene in the movie doesn't have English for example it will show the subtitles for only the none english parts.

I noticed with anime though it won't work because the subtitles in the cached torrents aren't labelled as "forced" and only as "English" or whatever languages are available. So I think something like what I mentioned above would need to be a setting.

Anyway I don't know anything about coding so not sure if this is just way to hard or if its an easy thing to add but it would be amazing to have!

Real Debrid cloud storage scraping

Hey guys, I have a problem and would like to know if anybody else has also encountered it. It looks like when scraping for sources, Otaku seems to not be able to scrape the files that I have on my cloud storage (I'm using Real Debrid). I have authorized Real Debrid and also increased the priority to search through my cloud storage first without any luck. Is anyone else experiencing the same problem?

Hajime no Ippo: The Fighting - Wrong episodes

The interface shows the correct episodes, but plays episodes from Hajime no Ippo: New Challenger.

If trying to watch later episodes EG. Ep 45, it comes up with nothing because it's searching the other season which doesn't have that many episodes.

Shows like Made in Abyss season 2 now not loading episode lists

Issue in the latest version 0.2.24 depending the anime i try to click to pull up the season episode list some will show up but now others like made in abyss season 2, MHA season 6, Mob Psycho season 3 and some others are now not pulling some of the meta data but now they won't load the episode list at all.

Made In Abyss season 2 was working in the previous version .23 as i was using it yesterday.

Heres the error i'm receiving.

12C6B5F2-B320-4F66-913C-2258867CC514

Troubleshooting Tips For Otaku

If Crashing/Metadata/Scrapping/Features is not working, do these fixes.

Open the addon and head to the tools menu on the very bottom.

  • Clear Cache
  • Clear Local Torrent Cache
  • Rebuild Database
  • Wipe Addon Data (This is Optional)
  • Reinstall The Addon (This Fixes Most Issues)
  • Reinstall InputStream Adaptive (This Fixes Most Crashing Issues)
    Tools

If you are filtering specific Anime, do these fixes

Open the addon settings and go to the general category.

  • Set Anime Filter: Filters the Anime Categories if you prefer Sub, Dub, or Both
  • Set Content Format: Sets the Format of the Anime. (Example: Movies, TV Shows, Ova, Ona, Etc.)
  • Set Country Of Origin: Set the Country of what anime you would like to see. (Example: Japan, China, Taiwan, Etc.)
  • Theme: Changes the menu icons to either Coloured or White
  • Disabled Scraping Screen Fanart/Clearlogo: Gives you the ability to disable them when scrapping.

Filter

If you are looking for the best way to watch Sub or Dubs, do these fixes.

Open the addon settings and go to the Playback category.

  • Preferred Audio Playback: Lets you change the audio language to either English or Japanese.
  • Preferred Subtitle Language: Lets you change the Subtitle Language for the Playback.
  • Preferred Source Type: Lets you change the stream sources to either Sub, Dub, or Both. (Example: If i select Subs, I only get list of Sub)
  • Teritary Sort Preferences: Gives you the option of how you would like your sources sorted. (Example: Subs on the top, Dubs on bottom)
  • Enable Automatic Subtitles for Dub Streams: Lets you decide if you would like Subtitles for Dub streams.

sub and dub

If You Do Not See Pemiumize, Real-Debrid, AllDebrid,Debrid-Link Sources, do these fixes.

Reconfigure your accounts again in addon settings.
Accounts

  • Make sure they are authorized by looking at the Username

If you are a Verizon user, scrapping sources will not work for you unless you enable Nyaa Alt in the Provider Settings.

image

Verizon blocks torrent sites like Nyaa.si and Mangadex
Luckily we have Gogo embeds and a Nyaa Alt Provider to satisfy your anime needs.

If you have a bad ISP that is blocking Nyaa then disable Nyaa and enable Nyaa Alt in the Provider Settings.

Nyaa Alt

If Your Playing Next Dialog isn't showing, do these fixes.

Make sure you have your Kodi video settings set the default setting like i have otherwise, playnext will not work all the time.
Media Settings

If Your Subtitles or Audio Playback are receiving errors, do these fixes.

Sometimes Language settings can affect Otaku sometimes so make sure to have these settings like how i have mine.
Language Settings

If Watchlist Is Not Updating, do these fixes.

Incase you guys are having issues with the Watchlist, authorize them again by logging in again.
Watchlist

  • If your still getting errors, change Watchlist to Update to something else.

If you have a bad ISP or region problem, enable this.

Enable any provider proxies that shows like below
Bad ISP or region problem

  • If this problem doesn't solve, you should change your DNS for sure.
  • This method for lazy people to change DNS or troubling solver in Android TV.

18.9 won't open again after 0.2.16

2022-10-12 16:58:09.800 T:30048 ERROR: Control 50 in window 10025 has been asked to focus, but it can't
2022-10-12 16:58:09.804 T:30332 ERROR: CImageLoader::DoWork - Direct texture file loading failed for resource://resource.images.studios.white/.png
2022-10-12 16:58:09.915 T:15684 ERROR: XFILE::CDirectory::GetDirectory - Error getting C:\Users\Mick\AppData\Roaming\Kodi\addons\resource.images.busyspinners.basic\resources\gradient circle
2022-10-12 16:58:09.915 T:15684 ERROR: XFILE::CDirectory::GetDirectory - Error getting special://home/addons/resource.images.busyspinners.basic/resources/gradient circle/
2022-10-12 16:58:09.915 T:22036 ERROR: XFILE::CDirectory::GetDirectory - Error getting C:\Users\Mick\AppData\Roaming\Kodi\addons\resource.images.busyspinners.basic\resources\gradient circle
2022-10-12 16:58:09.915 T:22036 ERROR: XFILE::CDirectory::GetDirectory - Error getting special://home/addons/resource.images.busyspinners.basic/resources/gradient circle/
2022-10-12 16:58:13.155 T:19808 ERROR: XFILE::CDirectory::GetDirectory - Error getting C:\Users\Mick\AppData\Roaming\Kodi\addons\resource.images.busyspinners.basic\resources\gradient circle
2022-10-12 16:58:13.155 T:19808 ERROR: XFILE::CDirectory::GetDirectory - Error getting special://home/addons/resource.images.busyspinners.basic/resources/gradient circle/
2022-10-12 16:58:20.470 T:30048 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.otaku/play/116674/2/]
2022-10-12 16:58:20.470 T:30048 WARNING: Attempt to set unplayable index 0
2022-10-12 16:58:38.317 T:30048 ERROR: Control 50 in window 10025 has been asked to focus, but it can't
2022-10-12 16:58:38.321 T:30332 ERROR: CImageLoader::DoWork - Direct texture file loading failed for resource://resource.images.studios.white/.png
2022-10-12 16:58:38.434 T:22036 ERROR: XFILE::CDirectory::GetDirectory - Error getting C:\Users\Mick\AppData\Roaming\Kodi\addons\resource.images.busyspinners.basic\resources\gradient circle
2022-10-12 16:58:38.434 T:22036 ERROR: XFILE::CDirectory::GetDirectory - Error getting special://home/addons/resource.images.busyspinners.basic/resources/gradient circle/
2022-10-12 16:58:38.646 T:2980 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'list' object has no attribute 'copy'
Traceback (most recent call last):
File "C:\Users\Mick\AppData\Roaming\Kodi\addons\plugin.video.otaku\default.py", line 846, in
router_process(control.get_plugin_url(), control.get_plugin_params())
File "C:\Users\Mick\AppData\Roaming\Kodi\addons\plugin.video.otaku\resources\lib\ui\router.py", line 70, in router_process
return route_obj.func(payload, params)
File "C:\Users\Mick\AppData\Roaming\Kodi\addons\plugin.video.otaku\default.py", line 833, in LIST_MENU
MENU_ITEMS_SETTINGS = MENU_ITEMS.copy()
AttributeError: 'list' object has no attribute 'copy'
-->End of Python script error report<--
2022-10-12 16:58:38.732 T:21680 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.otaku/
2022-10-12 16:58:38.744 T:30048 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.otaku/) failed

0.2.12 Issue scraping movies

First, a big thank you, amazing job on this addon! The latest update has really tightened things up. The only issue I've run into so far is scraping movies. I was testing in the All Time Popular and it throws errors for Your Name / Kimi No Na Wa and A Silent Voice / Koe No Katachi. Looking at the log, right before the scrape I can see it complaining about the nyaa_worker and some get sources, it then throws an exception on scrape. Below is the section from the log. This was done on Estuary to rule out skin any issues:

2022-10-07 09:56:20.610 T:2288 INFO : Loading skin file: C:\K19portable\portable_data\addons\plugin.video.otaku\resources\skins\Default\1080i\get_sources.xml, load type: LOAD_ON_GUI_INIT
2022-10-07 09:56:21.116 T:4444 ERROR : Exception in thread
2022-10-07 09:56:21.116 T:4444 ERROR : Thread-2
2022-10-07 09:56:21.116 T:4444 ERROR : :

2022-10-07 09:56:21.116 T:4444 ERROR : Traceback (most recent call last):

2022-10-07 09:56:21.116 T:4444 ERROR : File "C:\K19portable\system\python\Lib\threading.py", line 932, in _bootstrap_inner

2022-10-07 09:56:21.116 T:4444 ERROR :
2022-10-07 09:56:21.117 T:4444 ERROR : self.run()
2022-10-07 09:56:21.117 T:4444 ERROR :

2022-10-07 09:56:21.117 T:4444 ERROR : File "C:\K19portable\system\python\Lib\threading.py", line 870, in run

2022-10-07 09:56:21.117 T:4444 ERROR :
2022-10-07 09:56:21.117 T:4444 ERROR : self._target(*self._args, **self._kwargs)
2022-10-07 09:56:21.117 T:4444 ERROR :

2022-10-07 09:56:21.117 T:4444 ERROR : File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\pages_init_.py", line 148, in nyaa_worker

2022-10-07 09:56:21.117 T:4444 ERROR :
2022-10-07 09:56:21.117 T:4444 ERROR : self.nyaaSources = nyaa.sources().get_sources(query, anilist_id, episode, status, media_type, rescrape)
2022-10-07 09:56:21.117 T:4444 ERROR :

2022-10-07 09:56:21.117 T:4444 ERROR : File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\pages\nyaa.py", line 261, in get_sources

2022-10-07 09:56:21.117 T:4444 ERROR :
2022-10-07 09:56:21.117 T:4444 ERROR : return self._get_movie_sources(query, anilist_id, episode)
2022-10-07 09:56:21.117 T:4444 ERROR :

2022-10-07 09:56:21.118 T:4444 ERROR : File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\pages\nyaa.py", line 368, in _get_movie_sources

2022-10-07 09:56:21.118 T:4444 ERROR :
2022-10-07 09:56:21.118 T:4444 ERROR : sources = self._get_movie_sources_backup(anilist_id)
2022-10-07 09:56:21.118 T:4444 ERROR :

2022-10-07 09:56:21.118 T:4444 ERROR : File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\pages\nyaa.py", line 379, in _get_movie_sources_backup

2022-10-07 09:56:21.118 T:4444 ERROR :
2022-10-07 09:56:21.118 T:4444 ERROR : if 'general_title' in show:
2022-10-07 09:56:21.118 T:4444 ERROR :

2022-10-07 09:56:21.118 T:4444 ERROR : TypeError
2022-10-07 09:56:21.118 T:4444 ERROR : :
2022-10-07 09:56:21.118 T:4444 ERROR : argument of type 'NoneType' is not iterable
2022-10-07 09:56:21.118 T:4444 ERROR :

2022-10-07 09:57:20.869 T:9948 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'json.decoder.JSONDecodeError'>
Error Contents: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "C:\K19portable\portable_data\addons\plugin.video.otaku\default.py", line 469, in
router_process(control.get_plugin_url(), control.get_plugin_params())
File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\ui\router.py", line 70, in router_process
return route_obj.func(payload, params)
File "C:\K19portable\portable_data\addons\plugin.video.otaku\default.py", line 360, in PLAY_MOVIE
link = SourceSelect(*('source_select.xml', control.ADDON_PATH),
File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\windows\source_select.py", line 26, in init
anime_init = browser.OtakuBrowser().get_anime_init(actionArgs.get('anilist_id'), filter_lang=None)
File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\OtakuBrowser.py", line 140, in get_anime_init
return self.get_anime_trakt(anilist_id, filter_lang=filter_lang)
File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\OtakuBrowser.py", line 103, in get_anime_trakt
anime = trakt.TRAKTAPI().get_anime(anilist_id, db_correction)
File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\indexers\trakt.py", line 229, in get_anime
return self.get_trakt_seasons(anilist_id, meta_ids, kodi_meta, db_correction)
File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\indexers\trakt.py", line 212, in get_trakt_seasons
return target(anilist_id, meta_ids, kodi_meta, url)
File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\indexers\trakt.py", line 104, in _process_direct_season_view
result = self._json_request(url)
File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\indexers\trakt.py", line 24, in json_request
response = json.loads(response)
File "C:\K19portable\system\python\Lib\json_init
.py", line 357, in loads
return _default_decoder.decode(s)
File "C:\K19portable\system\python\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\K19portable\system\python\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
-->End of Python script error report<--

2022-10-07 09:57:20.980 T:9948 INFO : Python interpreter stopped
2022-10-07 09:57:20.993 T:2288 ERROR : Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.otaku/play_movie/21519/1/]
2022-10-07 09:57:20.993 T:2288 INFO : Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY

I verified there are sources on Nyaa through Fen, so I know it's not a lack of sources available:
nyaa

Playing Next Dialog issue in Arctic Horizon 2 skin

Hi @Goldenfreddy0703,

Hope you're doing well. After our discussion yesterday regarding the Playing Next Dialog issue via ticket #63 I investigated further and found out that the issue is happening with Arctic Horizon 2 skin which I'm presently using.

What I did was first use the Otaku addon in the default Estuary skin and the Playing Next Dialog appeared fine and also played the next episode correctly. Next I switched back to the Arctic Horizon 2 skin and the Playing Next Dialog appeared fine there too and the next episode played fine too. After this I exited Kodi and opened it again. This is when the issue started happening. The Playing Next Dialog didn't appear in the Arctic Horizon 2 skin this time and the next episode also didn't play. I then switched back to the default Estuary skin again, exited Kodi and opened it again. The Playing Next Dialog appeared fine in the Estuary skin again. So my guess is that when I'm switching to Arctic Horizon 2 skin and exiting Kodi something is happening which is causing the Playing Next Dialog to fail.

I think this issue is similar to ticket #29. I guess you can talk to jurialmunkey the developer of Arctic Horizon 2 skin and try to sort this out, as it is a major Kodi skin at present and many users like me might be facing this issue.

Screenshot in Estuary:

IMG20230206204755

Screenshot in Arctic Horizon 2 when it worked without exiting Kodi:

IMG20230206210542

Kindly check and advise.

Thanks and Regards,
ShibajiCh.

Steins;Gate 0 showing season 1 episode list instead

Dude the add-on is amazing you and the team did so much stuff and i'm so impressed!

I just wanted to mention i noticed Steins;Gate still grabs the wrong season for example I have Steins;Gate 0 but its showing the episode list for the 1st season.

Screen Shot 2022-10-13 at 4 07 40 PM

Screen Shot 2022-10-13 at 4 11 10 PM

Request for 2 lists

Hi @Goldenfreddy0703,

Is it possible to create 2 lists one for All Time Trending and one for All Time Popular with both Movies and TV Shows Combined, and sorted by Random? I want to create 2 widgets with them.

Thanks and Regards,
ShibajiCh.

Bleach: Thousand-Year Blood War Error

Hi everyone, thank you again for reviving this anime addon as to be honest all the normal addons don't cater for anime. I have come across this weirdly specific bug.

Issue description
Accessing Bleach Thousand Year Blood War creates an error in Otaku, it won't even load up the episodes. However the 'old' bleach title still works just does not have the new episodes being released, so I cannot work around that way.

Steps to reproduce the issue

  1. Open Otaku
  2. Search - Bleach
  3. Select Bleach:Thousand-Year Blood War
  4. Otaku Error

1.Open Otaku
2. Airing Anime
3. Select Bleach:Thousand-Year Blood War
4. Otaku Error

What's the expected result?

To load the episodes being released

What's the actual result?

Otaku error - will not even open episodes

Additional details / screenshot

I have cleared cache, local torrent cache and rebuilt database

Every other anime is working fine, that's why it makes me think it could be something specific with the new Bleach, I am happy to try provide logs if needed but I wonder if anyone else has experienced or recreated the bug? Thanks.

IMG20221017102951

Otaku will not open in 18.9

2022-10-08 14:46:31.370 T:18260 ERROR: Unable to find plugin
2022-10-08 14:46:31.370 T:18260 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://
2022-10-08 14:46:31.370 T:23340 ERROR: CGUIMediaWindow::GetDirectory(plugin://) failed
2022-10-08 14:46:34.806 T:23340 ERROR: Control 52 in window 10025 has been asked to focus, but it can't
2022-10-08 14:46:35.022 T:23164 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.SyntaxError'>
Error Contents: Non-ASCII character '\xc3' in file C:\Users\Mick\AppData\Roaming\Kodi\addons\plugin.video.otaku\resources\lib\pages\nyaa.py on line 259, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (nyaa.py, line 259)
Traceback (most recent call last):
File "C:\Users\Mick\AppData\Roaming\Kodi\addons\plugin.video.otaku\default.py", line 3, in
from resources.lib.OtakuBrowser import OtakuBrowser
File "C:\Users\Mick\AppData\Roaming\Kodi\addons\plugin.video.otaku\resources\lib\OtakuBrowser.py", line 4, in
from resources.lib import pages
File "C:\Users\Mick\AppData\Roaming\Kodi\addons\plugin.video.otaku\resources\lib\pages_init_.py", line 2, in
from resources.lib.pages import nyaa, gogoanime, animixplay, debrid_cloudfiles
File "C:\Users\Mick\AppData\Roaming\Kodi\addons\plugin.video.otaku\resources\lib\pages\nyaa.py", line 259
SyntaxError: Non-ASCII character '\xc3' in file C:\Users\Mick\AppData\Roaming\Kodi\addons\plugin.video.otaku\resources\lib\pages\nyaa.py on line 259, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
-->End of Python script error report<--
2022-10-08 14:46:35.083 T:21236 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.otaku/
2022-10-08 14:46:35.086 T:23340 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.otaku/) failed
2022-10-08 14:46:44.079 T:28364 ERROR: AddOnLog: Joystick Support: JOYSTICK::CJoystickInterfaceDirectInput::EnumJoysticksCallback: Failed to SetCooperativeLevel on: J

Next Up scrapes twice if used in home widget

This looks like it's been around for awhile previously in Kaito issue #22 (2nd to last post in thread) and seems related to issue 29 here.

When playing Next Up episodes from a homescreen widget, whether source select or autoplay, it will scrape twice before playing. If using source select, it scrapes, displays the list and when you select the stream, it scrapes and displays the list again. After picking the source a second time it will then play.

I have tried this in both Arctic Horizon 2 and Aeon Nox Silvo (to rule out any widget code issue from a jurielmunkey based skin) and with both anilist and kitsu as watchlist sources.

I see some work has been done lately on Next Up and I was trying to wait and see if the issue got resolved with that, but it looks like it's still there.

Next Up inside the addon works fine, issue is only on home widgets.

Unable to auth anilist

I'm unable to auth anilist. I put in the token and click authorize but nothing happens.

Anilist watchlist authorization fails with private accounts

When trying to authorize an Anilist account set to private, the following error occurs:

023-01-21 01:25:26.208 T:1877    DEBUG <general>: @@@@Otaku log:
                                                   Request-HTTPError (404): https://graphql.anilist.co
2023-01-21 01:25:26.213 T:1877    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'json.decoder.JSONDecodeError'>
                                                   Error Contents: Expecting value: line 1 column 1 (char 0)
                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/plugin.video.otaku/default.py", line 963, in <module>
                                                       router_process(control.get_plugin_url(), control.get_plugin_params())
                                                     File "/storage/.kodi/addons/plugin.video.otaku/resources/lib/ui/router.py", line 70, in router_process
                                                       return route_obj.func(payload, params)
                                                     File "/storage/.kodi/addons/plugin.video.otaku/resources/lib/WatchlistIntegration.py", line 43, in WL_LOGIN
                                                       return get_auth_dialog(payload)
                                                     File "/storage/.kodi/addons/plugin.video.otaku/resources/lib/WatchlistIntegration.py", line 35, in get_auth_dialog
                                                       return WatchlistFlavor.login_request(flavor)
                                                     File "/storage/.kodi/addons/plugin.video.otaku/resources/lib/WatchlistFlavor/__init__.py", line 91, in login_request
                                                       flavor_class.login(),
                                                     File "/storage/.kodi/addons/plugin.video.otaku/resources/lib/WatchlistFlavor/AniList.py", line 35, in login
                                                       results = json.loads(result)
                                                     File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
                                                     File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
                                                     File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
                                                   json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
                                                   -->End of Python script error report<--

The default behaviour of Anilist API is to return a 404 error when searching for an account set to private, which causes no JSON to decode in the results. Here is a GraphiQL test mimicking the request made on line 32 on my Anilist account which is set to private. Here is a GraphiQL test mimicking a current watchlist query on my private account. Below are their respective results using non-authenticated queries:

# login test
{
  "errors": [
    {
      "message": "Not Found.",
      "status": 404,
      "locations": [
        {
          "line": 2,
          "column": 5
        }
      ]
    }
  ],
  "data": {
    "User": null
  }
}
# watchlist query test
{
  "errors": [
    {
      "message": "Private User",
      "status": 404,
      "locations": [
        {
          "line": 2,
          "column": 13
        }
      ]
    }
  ],
  "data": {
    "MediaListCollection": null
  }
}

This issue can be fixed by adding the headers=self.__headers() to the requests on lines 32 and 205 to provide the access token on the initial request to retrieve the user id and any watchlist requests, so they are authorized requests.

Rescrape Item Issue and TV Show Otaku Error

Hi @Goldenfreddy0703 and @Gujal00,

The Rescrape Item function is always returning empty results after a successful scrape.

Also, many shows like "High School DxD" (All Seasons), etc. are not opening Episodes list, and returning an "Otaku" error notification.

Please check and advise.

Thanks and Regards,
ShibajiCh.

Request: Easy News and A dubbed section?

Hey, would it be possible to add "Easy News" as a premium service in the Accounts section? I've been told they have a pretty good anime selection!

Also, I don't know the best way to do this, but would it at all be possible to create a Dubbed section? Like a few categories like "Recently released dubs", "Popular dubs", "Brand new dubs" or anything that would make finding and watching the dub a little easier? An example is say I want to check in on One Piece, there isn't a real way for me to know a dubbed episode has been released unless I just search for sources and see if there's a dubbed version.

Thank you though! I'm a big fan of this addon!

Proper support of Landscape fanart scaling in widgets and views

This is actually an issue that's been in kaito for as long as I can remember, but since otaku is getting some good and needed work, I thought I would post it here to see if it's on the roadmap.

  1. When I use otaku for widgets with any kind of landscape art style it stretches poster art to fill landscape proportion
  2. When I use it for addon views with any kind of landscape art style it crops off part of the art

I've also noticed that fanart in general seems lower resolution in otaku than in other addons like fen or tmdbhelper.

Here are some screenshots to show what happens. These are from auramod, but it does it in other skins like AH2.

Skin search widget, landscapeposter style, art stretched:
otakuL1

home screen widget, landscapewide style, art stretched:
screenshot00001

addon view, landscape showcase, art cropped:
screenshot00000

[REQUEST] Otaku Players for TMDb Helper

First I want to thank you all for this awesome addon.

so can someone make a Otaku players for TMDb Helper?
I tried to modify the existing Kaito and Seren but it did not work unfortunately.

Language and Sub/Dub filtering

I would love to have a way of Filtering for Language and Sub/Dub.

I personally speak German and English and Prefer Sub.
Sadly for me some Animes have Languages I can't use. One example is "Domestic no Kanjo", which for me only is there in Spanish Sub. On the other side I've got "Hunter x Hunter" with only Japanese Dub.

I use Debrid and GoGo Sources.

Some way of Filtering these out would be quite helpful to find Something that I want to watch and actually can understand.

If this is a problem with the sources Debrid uses and it's not in the power of this addon to do something about it, I would love a way of Marking them Myself/Hiding specific ones.

Error going into Next Up (AniList) after upgrade to 0.25

I get the error:

File "C:\K19portable\system\python\Lib\genericpath.py", line 152, in _check_arg_types
raise TypeError(f'{funcname}() argument must be str, bytes, or '
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'list'

going into my Next Up section for AniList after upgrading to 0.25. I then install 0.24 over 0.25 and the error goes away and I can access my Next Up. Upgrade again to 0.25 and the error comes back. Did this on 2 different builds (AH2 and Auramod):

Full Error from log:

2022-10-01 10:59:51.495 T:13472   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'TypeError'>
                                                   Error Contents: join() argument must be str, bytes, or os.PathLike object, not 'list'
                                                   Traceback (most recent call last):
                                                     File "C:\K19portable\portable_data\addons\plugin.video.otaku\default.py", line 462, in <module>
                                                       router_process(control.get_plugin_url(), control.get_plugin_params())
                                                     File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\ui\router.py", line 70, in router_process
                                                       return route_obj.func(payload, params)
                                                     File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\WatchlistIntegration.py", line 60, in WATCHLIST_STATUS_TYPE
                                                       return control.draw_items(WatchlistFlavor.watchlist_status_request(flavor, status, params))
                                                     File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\WatchlistFlavor\__init__.py", line 59, in watchlist_status_request
                                                       return WatchlistFlavor.__instance_flavor(name).get_watchlist_status(status, next_up)
                                                     File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\WatchlistFlavor\AniList.py", line 166, in get_watchlist_status
                                                       return self._process_status_view(query, variables, next_up, "watchlist/%d", page=1)
                                                     File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\WatchlistFlavor\AniList.py", line 216, in _process_status_view
                                                       all_results = list(map(self._base_next_up_view, reversed(entries)))
                                                     File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\WatchlistFlavor\AniList.py", line 400, in _base_next_up_view
                                                       return self._parse_view(base, False)
                                                     File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\WatchlistFlavor\WatchlistFlavorBase.py", line 150, in _parse_view
                                                       utils.allocate_item(
                                                     File "C:\K19portable\portable_data\addons\plugin.video.otaku\resources\lib\ui\utils.py", line 10, in allocate_item
                                                       image = os.path.join(control.artPath(), image)
                                                     File "C:\K19portable\system\python\Lib\ntpath.py", line 117, in join
                                                       genericpath._check_arg_types('join', path, *paths)
                                                     File "C:\K19portable\system\python\Lib\genericpath.py", line 152, in _check_arg_types
                                                       raise TypeError(f'{funcname}() argument must be str, bytes, or '
                                                   TypeError: join() argument must be str, bytes, or os.PathLike object, not 'list'
                                                   -->End of Python script error report<--
                                                   
2022-10-01 10:59:51.630 T:13472    INFO <general>: Python interpreter stopped
2022-10-01 10:59:51.631 T:12600   ERROR <general>: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.otaku/watchlist_status_type/anilist/CURRENT?next_up=true
2022-10-01 10:59:51.642 T:9800    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.otaku/watchlist_status_type/anilist/CURRENT?next_up=true) failed

Anime lists not syncing

Hey!

I have tried both MAL and Anilist.

I can make the list on their websites, to which after authorising, they sync with Otaku and I can see what episode I am up to and such. However, if I watch an episode on Otaku, it won’t update the list on the website. I have waited for half a day for both, I have reauthed multiple times, changed the update list to various ones, turned off update list and then turned it back on. I have disabled each lost and re-enabled.

nothing seems to work!

I am using Kodi on my TV android app.

Custom search path for skins?

I tried adding custom search paths for Otaku in both Arctic Horizon 2 and AuraMod by just changing
plugin://plugin.video.kaito/?action=search_results&action_args=
to
plugin://plugin.video.otaku/?action=search_results&action_args=

But it seems to only pull in the root menu of the addon and not any actual results? Has the search path changed or am I doing something wrong? I originally got the Kaito search path from here: https://github.com/jurialmunkey/skin.arctic.horizon.2/issues/104

from AH2 skin search (you can see Kaito pulls correct results):
screenshot00002

Better Skip Intro Dialog

The Current Skip intro dialog just pops up on starting of a new episode and then if used skips a fixed amount of time.

It would be cool to have it skip perfectly, but that would need some kind of database storing the intro time frame for each episode.

Instead I would ask for some improvements of it that can be done without it:

  • Configureable time till the popup to skip pops up (some anime always have first 2 minutes and then the intro rolls)

  • Configureable Times for each anime.
    (Time till skip popup, time to skip)
    (Some animes play the intros after 30seconds others after a minute, but overall it's mostly stays the same for the anime itself (though there are some small expetions)

  • skipt hotkey button
    ( A Configureable button that's needs to be pressed to skip)
    (I would let people chooses wether they just want to have it to be pressed once, if they want it to just open the Skip intro dialog or if they want to need to hold it (and how long))

I think these things would be a great improvement for the overall feeling

Next Up and Skip intro Bug from Widgets

Just something else I wanted to bring to your attention, this was also a bug on Kaito but if you use Next Up from Ani List for example and make it a widget on your main screen as seen here:
Screen Shot 2022-10-13 at 5 53 07 PM

It will play the episode but 2 bugs come along with it, it will no longer display the episode information if you pause the episode as seen here:

Screen Shot 2022-10-13 at 5 51 03 PM

Example of what it should look like when played normally:
Screen Shot 2022-10-13 at 5 55 03 PM

Another thing also happening when using Next up if you use the Skip Intro function it actually displays itself twice, so example i hit "Skip" it will work and skip forward but it displayed twice so i will still see another "skip" and have to cancel that one.

Screen Shot 2022-10-13 at 5 57 23 PM

Also noticing Up Next to display the next episode doesn't work from here either BUT it does seem to be marking the episode as watched i just tested that and it did mark it on AniList.

episode titles don't work on embeds

When I watch episode on kodi from nyaa everything is okay, but when I watch from embeds, then instead of title there's a number like 0 or 1. Sometimes it's just an episode number. I would like it to be title like the rest because that way my trakt addon is scrobbling this and I don't have to do that manually

Anilist Language

I have the title language set to English in both the addon and on Anilist itself, but when the addon pulls my list it’s in Romaji. The rest of the addon works as it should. Is there a way for me to get the pulled lists from Anilist to be English as well?

We found an Animixplay Alternative .

Hey everyone, we are very sad to hear Animixplay got shutdown but in a few days, we will be adding more stream links and very consistent episode meta in the future. We have been working with a team called Consumet for a few months and they have helped us significantly. They will be launching there own database very soon and we will be using there api to help you guys provide high quality anime for the future.

  • You guys will have very consistent episode meta.
  • Torrents will be much easier to find
  • Artwork meta will also be very Consistent as well.

Edit: @Gujal00 has found an alternative animixplay site that we can use for new animes so there is no need to disable Animix.

Thank you to everyone in this announcement.

Episode Aired date not showing in Next Up

I just noticed that episode aired date is not showing in Next Up, whether from widget or addon directly. It does show episode airdate in sections like Airing Anime or Current in addon. I tested in both Auramod and Arctic Horizon 2 on Kodi 20.

I also noticed that clearlogo is inconsistent at the episode level in sections like Airing Anime or Current. Take the below example, clearlogo is there at show level and in Next Up, but when you go into the show to browse episodes, the clearlogo dissappears. This doesn't happen on every show, but you can see it in the show below and also for example in "Ningen Fushin: Adventurers Who Don’t Believe in Humanity Will Save the World" among others:

From Next Up:
screenshot00001

From Current:
screenshot00000

Otaku Errors after recent updates

Hi @Goldenfreddy0703 and @Gujal00,

After the recent last few updates I noticed several issues with Otaku. They are as follows:

  1. As soon as any video is played after scraping, immediately Otaku Error notification appears on screen.
  2. Episodes/Movies are not getting marked as watched in Anilist.
  3. Rescrape and normal scrape results are different.
  4. Next up window not appearing at the end of an episode.
  5. Cache 0% issue while rewinding or forwarding (without using VPN).
  6. Title and summary not appearing on player OSD.

These issues are happening both within the addon and from widget as well. I'm seeing these issues when I'm connected to NordVPN (as Nyaa doesn't work without VPN due to my ISP). I'm using Kodi Nexus v20 on Nvidia Shield TV Pro. My Kodi log is as follows:

https://paste.kodi.tv/edapuwepul

Kindly check and advise.

Thanks and Regards,
ShibajiCh.

Question about trakt

In the change log it mentions trakt search and rescrape. How does this work? How do I pair it with my trakt account?

Otaku Crashing Kodi

Otaku has been crashing Kodi for me ever since upgrading to v20. I uninstalled the add-on and reinstalled, and the issue went away. After changing the episode title format to the English "(Attack on Titan)" example, after clicking on any page that displays a list of anime episodes under the TV section (Trending This Season as an example under the TV section), the app crashes when loading the names of different animes and their ratings. The issue doesn't exist if I switch the titles back to Japanese, OR if I am looking under movies. It is only TV Show related. Possibly a bad character encode issue after being translated?

Issue with Real Debrid link Scraping

Hi @Goldenfreddy0703,

First of all thank you for this great anime add-on "Otaku"!

As per our discussion on Reddit, I'm reporting this issue here on GitHub. Majority of the times when I scrape an episode from any particular season of a TV Show, then even though the episode is cached on Real Debrid the links don't show up in the scraping results. However, sometimes the links show up correctly for that exact same episode. Other non-anime add-ons show up the same links in their results perfectly. This issue happens randomly so I'm not sure exactly what might be causing the issue. I've tried all the mentioned troubleshooting steps but still the issue is not resolved. This issue also occurs for Movies sometimes. Could you please look into the issue and kindly resolve it? I'm using an Nvidia Shield TV Pro 2019 with Kodi Nexus v20.0. Kindly let me know if you need any other details from me.

Thanks and Regards,
ShibajiCh.

Next up in MAL

So I noticed that when using MAL "Next Up" it shows all animes you're watching correctly updated for the episodes that you've already watched. But when using Anilist "Next Up" it shows only the animes that have already aired episodes if you haven't watched them already. If you watch the episodes then the anime disappears from "Next Up" until the next episode is aired again (which is the correct behavior in my opinion). Could something be done, so that MAL "Next up" behaves the same as Anilist "Next Up"?

Nvidia Shield and Firestick Issues

Important Information:

If you guys are experiencing bugs such as Scrapping, Play Next, Pls provide this issue below, a log, and maybe some screenshots as well and we will look into it more.

Note:

Make sure to try all my troubleshooting steps including Wiping Addon Data before posting.

Thank you

Solutions:

  1. Try disabling IPv6.
  2. Update Kodi to the nightly version.
  3. Make sure your updated to the latest version.

Empty Kitsu lists throw error instead of just showing an empty folder

Hey there!

First of all, great addon. Many thanks for all the work you and your team have been putting in Otaku. It's much appreciated!

If we enable Kitsu integration and we browse to the Kitsu profile folder folder inside the Otaku addon, any folder we open there like "Next Up", "Want to Watch", etc. that is empty will return an error instead of just showing an empty folder.

I have my theme set up with some widgets that point to these directories. If any of them is empty (for instance when I've catched up on all my Next Up episodes" and there's nothing left on that list/dir) Otaku is constantly throwing errors as my widgets auto refresh.

I'm attaching my Kodi log where you can find several errors thrown by Otaku as the widgets try to refresh my "Next Up" and Want to Watch" folders that are currently empty.

Hope you find the time to maybe sort this out. If those empty Kitsu lists could be handled as empty folders inside Otaku instead of throwing an error that would greatly improve the user experience instead of having to constantly be displayed Otaku error notifications as my widgets try to auto refresh from time to time.

Thank you!

kodi.log

Zoro scraping time

Nice you have brought some extra providers into the mix. Zoro is usually my go to.

Not sure if really an issue, but When scraping however, zoro takes up majority of the time to scrape.
Onwards of 10 seconds or longer. Where it is near instant for the other ones.

I'll test this on my pc later today to see if zoro scrapes faster than the telly.

Add tenshi.moe source

https://tenshi.moe/

According to the wiki, it is listed as a tier 1 streaming source alongside with Animixplay:

Contains the smallest library of all the sites but with the best quality for BD releases and good quality for seasonal content.

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.