lad1337 / adba Goto Github PK
View Code? Open in Web Editor NEWA simple and abstract interface for anidb. Getting the file->episode relation is a breeze. This is based on libpyanidb by alexer!
A simple and abstract interface for anidb. Getting the file->episode relation is a breeze. This is based on libpyanidb by alexer!
Hi
I want to continue your work, but I don't know where you get updated anime-list.xml (I know that animetitles.xml is provided by anidb.net)
Thanks =)
I ran into a case where the get_file_size function in aniDBfileInfo.py is returning a value of 0 for a file that is 280MB in size. When I changed the following code:
f = open(path)
size = len(f.read())
to:
size = os.path.getsize(path)
I now get the correct file size.
Also wouldn't "size = len(f.read())" be slow are very large files?
Hi,
I would like to have a feature so it could be possible to disable the threading in the lib.
So this is the reason:
I have written a smallish plugin for XBMC (http://xbmc.org) using the Python API so I can mark a file as watched when I have watched it.
My code is really simple:
con = adba.Connection(log=True)
con.auth("xxxx", "xxx")
if con.authed():
for res in files:
con.mylistadd(res, edit=1, viewed=1)
con.logout()
con.close()
Problem is that XBMC (for some reason) gets upset over the thread(s) that adba is creating. So I wonder if it would be possible to (optional) disable it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.