Jump to content

Coming Soon: All-New Revamped SoundCloud Plug-In


softworkz

Recommended Posts

For me, SoundCloud is one of my favorite sources for music content. I love digging through its content and following connections between SoundCloud users. Having this content available within Emby would allow accessing it even from situations where you got nothing more than a remote control at hand.

 

The existing SoundCloud channel plugin apppeared to be of rather low value to me. Personal information (with login) was limited to playlists and the implementation was subject to quite a few bugs and issues and hasn't been updated to accomodate the API changes at SoundCloud.

 

At this point I decided to update and extend the existing code a bit --- and ended up with an almost complete re-write.

 

In the following posts I'll describe what's new...

  • Like 5
Link to comment
Share on other sites

Login status and credentials handling

 

  • The plugin settings page will now display the login status:
     

5760d0d8e4348_sc_login.jpg

 

  • When saving credentials those are checked upon saving
     
  • New credentials are effective instantly. Previously a complete restart of Emby server was required.
     
  • When Emby is started and is unable to login to SoundCloud, a notification is created (see red circle "3" in previous image)
Link to comment
Share on other sites

Accessing the SoundCloud API

 

The previous implementation for accessing the SoundCloud API was based on some open source code that was buggy and outdated.

 

This part has been completely replaced with a custom implementation based on Emby primitives.

 

Just one example here: The previous plugin "forgot" to refresh access tokens to the SoundCloud API. Thus, personalized content was only available for a few hours (currently 6) after starting Emby and stopped working afterwards. Only way to get it working again was restarting Emby server....

Link to comment
Share on other sites

User Presentation

 

In the new PlugIn, every SoundCloud user is displayed as a folder containing several category folders:

 

5760d603a12bd_sc_userroot.jpg

 

  • Info item
    This is supposed to display information about the SoundCloud user as a MusicArtist page (probably won't work on some clients at the beginning but hopefully at a later time)
     
  • Tracks
    Displays a list of all tracks from that user
     
  • Playlists
    Displays a list of all playlists from that user
     
  • Favorites
    Displays a list of items marked as favorite by that users
     
  • Followers
    Displays a list of users that are following the current user
     
  • Following
    Displays a list of users the current user is following
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...