Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Senior Member
    Join Date
    Mar 2006
    Location
    Sydney, Australia
    Posts
    1,166

    Last.fm/Scrobbler suggestion

    Not sure if this has been suggestion before, but it would be great to be able to create some lastfm stations directly using the remote rather than the WebUI. While entering characters directly would be a bit of a pain, if there was some way to browse to an artist in your library (perhaps linked into erlands Custom Browse in some way) and then fire up similarartists radio.

    On another topic (and I'm sure that this has been mentioned before, but couldn't seem to find it again), when playing lastfm radio, accented characters don't display correctly on the squeezebox.

    Anyway, love the plugins.

  2. #2
    Craig, James \(IT\)
    Guest

    Last.fm/Scrobbler suggestion

    Yes, I've seen the problem with the accented characters, but I don't
    understand why it occurs, as the same characters display correctly in
    the web interface.

    I guess you can link to lastfm via the library using a custom mixer
    link, but I've never looked at that bit of code - are there any plugins
    that do something like this already?

    James

  3. #3
    Senior Member
    Join Date
    Mar 2006
    Location
    Sydney, Australia
    Posts
    1,166
    Not sure. Maybe erland could help. Sorry about just being a suggester not a coder!
    Last edited by smc2911; 2007-03-12 at 04:30.

  4. #4
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,315
    Quote Originally Posted by Craig, James \(IT\) View Post
    I guess you can link to lastfm via the library using a custom mixer
    link, but I've never looked at that bit of code - are there any plugins that do something like this already?
    TrackStat - Adds a mixer that show TrackStat statistics for the selected albums, artist, genre, year in the browse menus.

    Dynamic Playlist - Adds a mixer that shows dynamic playlists that take a album, artist, genre, year as parameter. When the user selects a playlist the selected album, artist, genre, year from the browse menu is automatically sent as parameter.

    Custom Skip - Adds a skip filter based on the selected album, artist, genre, year in the browse menu.

    I think I looked at the MusicMagic plugin when I implemented the above, but if you have any specific question just ask.

    Another solution is to use the Custom Browse plugin. In this case it means that the functionality will only be available in the browse menus implemented by the Custom Browse plugin. Custom Browse includes implementation of all standard SlimServer browse menus besides the Music Folder menu, plus a lot of other different browse menus. There are two ways to integrate with the Custom Browse plugin:

    1. You can get menus accessible in same was as standard mixers by either:
    - Providing a function which takes three parameters: $client, $item, $addonly
    - Providing a "mode" which you like to enter when the mixer is launched. To get support in the web interface in this case, you also provide an url.

    2. You can access the functionality by right clicking if you provide a "mode" which you like to enter when the user clicks the right button. But I think you want to use the mixer functionality described in point 1 instead, since it will make the functionality available in all menus not just a specific LastFM menu.

    Custom Browse also requires a xml configuration file. If you want to go the Custom Browse way there is more information available in the Custom Browse documentation on my wiki:
    http://wiki.erland.homeip.net/index...._Browse_plugin
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  5. #5
    Senior Member
    Join Date
    Mar 2006
    Location
    Sydney, Australia
    Posts
    1,166
    A couple more ideas:

    * Ability to play individual tracks like lastfm://play/tracks/46937904 (if I paste a link, a random track plays, unrelated to copied link).

    * Use the Web Services to pull down the list of friends to allow selection of friends radio by browsing rather than direct entry of the user name.

  6. #6
    Craig, James \(IT\)
    Guest

    Last.fm/Scrobbler suggestion

    Interesting, does the first link work anywhere outside of the LastFM
    player?

    I'm doing some work on the plugins at the moment and better integration
    with the web site is on my list.
    I'm working on CLI access to the plugin at the moment... Meant to post a
    message about that...

    James
    --------------------------------------------------------

    NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.

  7. #7
    Senior Member
    Join Date
    Mar 2006
    Location
    Sydney, Australia
    Posts
    1,166
    If I just click on the link it plays in the lastfm player locally without a problem (i.e. correct track). If I cut & paste into the SS lastfm WebUI it doesn't.

  8. #8
    Craig, James \(IT\)
    Guest

    Last.fm/Scrobbler suggestion

    Yes, I realise that (I wouldn't really expect it to work in the plugin,
    I've made no allowances for URLs like that),
    but I wonder if LastFM will let the plugin (or anyone else) play
    individual tracks.

    Seems quite surprising given the restrictions that usually exist around
    this sort of thing...

    James
    --------------------------------------------------------

    NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.

  9. #9
    Senior Member
    Join Date
    Mar 2006
    Location
    Sydney, Australia
    Posts
    1,166
    What's interesting is that via the WebUI I do get something playing (i.e. doesn't fail completely), it just seems pretty random.

  10. #10
    Senior Member
    Join Date
    Apr 2005
    Location
    London
    Posts
    647
    I just tried it, and it played exactly the right track!

    I just pasted the line lastfm://play/tracks/95114875
    into the station box and hit play...

    The Doors – Roadhouse Blues (Live In Boston - 1st Show)

    James

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •