Kodi Community Forum
Solved Add-on tutorial for Audio - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: Requests (https://forum.kodi.tv/forumdisplay.php?fid=251)
+---- Thread: Solved Add-on tutorial for Audio (/showthread.php?tid=252297)



Add-on tutorial for Audio - zag - 2015-12-16

I would like to see a new Add-on written as a tutorial for Audio over the web.

Source site: http://www.theaudiodb.com/testfiles/

- Audio Plugin listing the tracks on the above website page (all are cc licensed)
- It would be nice to see the cover art as well
- Code uploaded to GitHub and commented extensively

Thanks!


RE: Add-on tutorial for Audio - curti - 2016-01-06

Gist for now without comments. https://gist.github.com/curti/d8e48b4c95538b3225fa


RE: Add-on tutorial for Audio - zag - 2016-01-07

A thousand thanks for this!

I'll give it a test, but would really appreciate some comments so I can write a full tutorial based on it.

Brilliant!


RE: Add-on tutorial for Audio - curti - 2016-01-07

Gist updated. I have added comments; however, it is not as thorough or as comprehensive as @Roman_V_M's video example add-on comments. Please feel free to add/remove comments as needed.


RE: Add-on tutorial for Audio - zag - 2016-01-13

Thanks tested and working perfectly, although I had to download Beautiful soup module manually when using a clean install.

Thanks again, I will write up the tutorial soon.

Only improvement I can think of is to browse the albums instead of just tracks. But this should get most people going.

https://github.com/zag2me/plugin.audio.example


RE: Add-on tutorial for Audio - curti - 2016-01-13

(2016-01-13, 19:34)zag Wrote: Thanks tested and working perfectly, although I had to download Beautiful soup module manually when using a clean install.

Thanks again, I will write up the tutorial soon.

Only improvement I can think of is to browse the albums instead of just tracks. But this should get most people going.

https://github.com/zag2me/plugin.audio.example

Excellent, odd that BeautifulSoup did not install automatically unless I missed something.

If I have some free time I may look into updating it to browse by album; but I initially decided against it because all the mp3 files are listed on the same page.


RE: Add-on tutorial for Audio - Martijn - 2016-01-13

(2016-01-13, 21:45)curti Wrote:
(2016-01-13, 19:34)zag Wrote: Thanks tested and working perfectly, although I had to download Beautiful soup module manually when using a clean install.

Thanks again, I will write up the tutorial soon.

Only improvement I can think of is to browse the albums instead of just tracks. But this should get most people going.

https://github.com/zag2me/plugin.audio.example

Excellent, odd that BeautifulSoup did not install automatically unless I missed something.

If I have some free time I may look into updating it to browse by album; but I initially decided against it because all the mp3 files are listed on the same page.

because it only installs deps when you go through the addon manager for install (install from zip/repo)


RE: Add-on tutorial for Audio - zag - 2016-01-14

Guide released here:

http://kodi.wiki/view/HOW-TO:Audio_addon

And discussion topic here:

http://forum.kodi.tv/showthread.php?tid=256329

That completes the set!