Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To use tvrenamr as library #92

Closed
mayankgautam opened this issue Apr 2, 2017 · 3 comments
Closed

To use tvrenamr as library #92

mayankgautam opened this issue Apr 2, 2017 · 3 comments

Comments

@mayankgautam
Copy link

Please can I get some pointers on how to use tvrenamr as library inside my program.

@ata2001
Copy link
Contributor

ata2001 commented Apr 2, 2017

We have no official documentation, however I did write a Kodi frontend for tvrenamr once. I've managed it by removing the click part from tvrenamr/cli/core.py, and calling rename from my script.

I know, it's not the best way to do it, but you can check my source out: ata2001/script.customregex

And the modifications made to make it work without click: https://github.com/ata2001/tvrenamr/tree/kodi

@mayankgautam
Copy link
Author

Really thanks man!!! Will check it out!!

@ata2001
Copy link
Contributor

ata2001 commented Apr 2, 2017

It's still just a hack, I think tvrenamr could provide more support or documentation for using it as a library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants