DxCx / plugin.video.9anime

plugin.video.9anime - 9Anime plugin for kodi
GNU General Public License v3.0
143 stars 47 forks source link

Add additional metadata to animes #84

Closed DxCx closed 6 years ago

DxCx commented 7 years ago

using kodi api: http://mirrors.kodi.tv/docs/python-docs/13.0-gotham/xbmcgui.html#ListItem-setInfo

silvatyrant commented 6 years ago

@DxCx which source are you looking at using for this? MAL, AniDB.net, etc?

DxCx commented 6 years ago

I think that most of the info exists in the exisiting 9anime website.. I just want to set xbmc item with additional information.. If We will need to add extra call for more api then it not worth it, maybe addig the posabilty to add to library so people can set a different scrapper will be a better solution

ypawar159 commented 6 years ago

@DxCx , We can add this info as you mentioned. But in your code your are using regular expressions to find the required tags from html repsonse. I am familiar with beautiful soup4 for this kind of stuff. And then setting info about Anime, you are using control.draw_items to display anime list and as well as for the list of sources for selected episodes. So even if we capture the anime info from 9anime website how to set it is also another concern. If I get clear understanding of what to modify where I could give it a try. Also if possible use of installed scrappers to fetch the info.

DxCx commented 6 years ago

Ive already explored the possibilty of using existinf scrappers This will work only if we are able to export a selected show locally (means you create a link file for each episode, and be able to create one for each one that releases later on) That was tons of work when i saw it.

Also, if we get back to options 1, once show is selected you can always send one more API request to get more info and fill up the item better..

ypawar159 commented 6 years ago

Any plans to work on this?

SwagOtaku commented 6 years ago

@DxCx @ypawar159 @silvatyrant I think I've found a solution. I wrote some code that puts the plot on the episode page of the respected anime. Here's what it looks like https://imgur.com/a/w50Gh .

pjcanales commented 6 years ago

Any update on this. Would like how swagotag did it if possible

SwagOtaku commented 6 years ago

@pjcanales The update is already on the latest zip for 9anime :)

pjcanales commented 6 years ago

I'm on 0.0.34 right now. I wanted to know when or how to get it to show each episode information like how you did it. So I can know which episode of dragon ball i left off on. Like how you did here https://imgur.com/a/w50Gh.

pjcanales commented 6 years ago

I'm referring to the plot of each episode say for dragon ball super

SwagOtaku commented 6 years ago

9anime site doesn't have summary for each individual episode. The plot that is on the episode page is the plot of the anime series in general. I will try to see if I can get the plot of each episode, but as DxCx stated above, an extra call for api might not be worth it or it would be hard to do so.

ypawar159 commented 6 years ago

@Ip214, It's possible using built-in kodi libraries.

RavenTouch commented 6 years ago

Can you add plot info while browsing series instead in the episode view?

RedNinjaX commented 6 years ago

If you guys are still interested in getting an episode by episode description I could create a custom API endpoint on my server that can do all the heavy work for you. I've already got most of the episode metadata of many series on hand

RedNinjaX commented 6 years ago

My site handles it well screenshot_20180622-045431

Jkrise commented 6 years ago

RedNinjaX, if you could do that, it would be awesome!