impliedchaos / mopidy-bandcamp

Mopidy backend for bandcamp
MIT License
21 stars 2 forks source link

Bandcamp Wishlist and Following #13

Open xynydev opened 3 years ago

xynydev commented 3 years ago

Nice project, I'm wondering if it could be possible to implement listening to followed artists new albums and wishlisted albums.

I have the opportunity to buy new albums for my collection about once a year, so it'd be nice to be able to save albums and artists to listen to.

If it's an easy implementation I could try to bend my python skills for it.

impliedchaos commented 3 years ago

Wow. I didn't even know bandcamp had a wishlist. I feel dumb.

I've pushed a commit that adds support for browsing your wishlist (because the change was very easy, since it behaves almost identically to browsing your collection). Later this week or this weekend I'll look into adding the following list (I've already added support in the bandcamp client portion of the code, but since the results are artists and not tracks/albums then I have to create some more code in the library provider to display the results, although you're more that welcome to do this if you're impatient).

Once that's added/tested that I'll create a new release.

I would love to implement adding the currently playing album to your wishlist, but because of mopidy's lack of a consistent front-end it's an ugly hack to do this. I wish mopidy would just implement a thumbs up/thumbs down event that front-ends could trigger and that backends could handle however they needed to.

Thanks for the suggestions!

xynydev commented 3 years ago

Thank you for this! I'll look into what I can potentially do.

Edit: After looking through the code for about 1 hour I've concluded that I am not impatient(/patient) enough to do this, and that it'd be easier for you to do since you wrote the code. I'll instead look at how hard it would be to create a frontend extension that clients could call to send a like or follow action to the backend if it chooses to implement the function.

xynydev commented 3 years ago

Thanks! The wishlist now shows up in Browse!

01tot10 commented 2 years ago

Hey all!

First of all, thanks so much again @impliedchaos for providing us with the plugin. Now that mopidy-spotify is at least momentarily down, it's great to have some alternatives.

Regarding the Wishlist feature and some related topics:

It's real nice having the Wishlist show up in Browse, since it's a handy way of interacting with that portion of your collection. That being said, is there any way of adding sorting to the listed albums? For example, it would be neat-o having the most recently wishlisted albums first, since that's also the way I'm using the native Bandcamp web interface.

Looking at my other sources in Browse, it does seem like none of them allow for sorting.. The thing is, the music parsed by, for example, mopidy-spotify gets added to My albums, which then allows for further sorting. At the moment, the music from mopidy-bandcamp does not, neither the actual Collection nor the Wishlist.

I'm not very aware of the internal workings of these different end-points of mopidy, but merely thinking from a user perspective. Would you have any wise thoughts on this @impliedchaos?