You guys have an interesting project with a great looking presentation. Since we’re built with the same technologies (.NET, windows/linux/osx via Mono), I thought I’d stop in and say hello.
It was brought to my attention that you have an item on your trello board relating to talking to us after successful downloads. If I can be of any assistance, please let me know. Thanks.
I took a quick look at the API docs on the wiki but didn’t immediately see a section on updating the library, could you point me at that? And is there a UI notification system in MB, where a text notification can be displayed (like a toast popup when someone messages you in an IM client).
Yea, we have that. The following api was designed for Sickbeard based on what they asked for, but it should cover your needs too:
Notify MBS that a new series was added
POST
/mediabrowser/Library/Series/Added?tvdbid=xxx
Notify MBS that an existing series was updated (e.g. metadata update or new content added):
POST
/mediabrowser/Library/Series/Updated?tvdbid=xxx
Generic notification to administrative users:
POST
/mediabrowser/Notifications/Admin?Name=Name&Description=Description&ImageUrl=xxx
Alternatively you can also post this using a request body of contentType application/json, which will probably be preferred given if using description param. For example:
The notifications will be handled by the server’s notification system, and will be send to the various notification services that the user has configured.
Nice to see MB making a appearance in Drone and hope to see collaboration in between both products to make the media center management experience even more complete
Hey guys, we are tightening up our api security, so this is likely going to require the user to configure with either credentials or an api key. I will update once finalized.
I took a look at the code and I was able to do a GET call to /Library/MediaFolders and received a valid response (wanted to test that other Library endpoints were working correctly).
Ah - apologies. Your code is fine. There is no handler receiving that endpoint. It will be resolved for the next server release. (And next dev build coming in the next day or two if you want to test).
Our next release will be soon so it won’t be much of a wait until the fix is public. Thanks.
Does XBMC metadata work? Looks like support for it was added in the latest MB3 release.
Drone doesn’t notify on add, just when files are updated, the series will already need to exist in MB3 for that that to work I imagine (based on how their endpoint looks), even their add endpoint only takes in a TVDB ID, so presumably it needs something there to know when folder is the one for that TVDB ID.
The presence of a season folder instead of a metadata file to add the series to MB3 is a downgrade, the fact that either must exist for the series to be scanned in is awkward at best, so I hope thats not the case.
Regardless, we have no plans to create an empty season folder when adding a series.
@luke that’s the beta release? I was just testing it out, it no longer errors, but media browser doesn’t seem to rescan the series on dusj and update it.