Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 1661

Hybrid View

  1. #1
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,586

    Announce: Music & Artist Information plugin

    I'm happy to announce the Music & Artist Information plugin v0.1.0. As I got increasingly frustrated with the ugly code for the AlbumReview and Biography plugins, I decided to start from scratch and create something "better". It should not only be easier to maintain, but offer new features and be open to be easily extended.





    The new Music & Artist Information plugin still gives you access to almusic.com's album reviews and biographies. But it adds a whole lot to it: links to the artists' websites, blogs, news. Videos from youtube, dailymotion and others. Links to album contributors and related artists. A never-ending network of music background information.





    Music & Artist Info (MAI) can display album artwork, artist pictures, pdf and html files associated with an artist. The plugin assumes the Artist/Album folder structure and will add "Local Artwork" and "Text files from music folder" menu items in the "M"ore menu when local files are found.

    The "local artwork" will give you access to any artwork file stored inside the album's folder.

    "Text files from music folder" will display pdf, html and txt files such as booklets provided with digital downloads that are stored inside the album's folder.

    There is a bit of special treatment for the bio.html: the plugin would actually walk up a few folder levels searching for anything bio*, assuming that most users have an Artist/Album folder structure.

    Artist pictures are either stored as artist.jpg/png in an album folder, or as "artist name.jpg/png" in the configurable one for all artists images folder.

    Obviously not all of these goodies work on all UIs. You'd get the richest access in the web UI obviously. Some apps can deal with the web based content as well - a tablet should give you great access to most features.

    Have fun!
    Last edited by mherger; 2018-07-26 at 21:34.
    Michael

    "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
    (LMS: Settings/Information)

  2. #2
    Senior Member aubuti's Avatar
    Join Date
    Oct 2005
    Posts
    8,839
    Very cool, Michael. Thanks, and I look forward to playing with it.

  3. #3
    Senior Member
    Join Date
    May 2008
    Location
    United States, Florida
    Posts
    12,445
    Very nice idea. I've been playing with this installed on a Win7 machine running LMS 7.8. It installs, I see the options, can click on, say, Artist Information, and get the list of "biography", etc. But selecting anything simply tries to connect to something on web and never connects. Eventually times out. The only thing I've made work is clicking WEBSITES in the listing after ARTIST INFORMATION. This gives me different website options (amazon, official, etc.) and opens a different tab with the website I choose.

    What am I doing wrong?

    edit: I've tried this with several artists, all well known (i.e., The Beatles)
    Home: Pi4B-8GB/pCP8.x/4TB>LMS 8.2.x>Transporter, Touch, Boom, Radio (all ethernet)
    Cottage: rPi4B-4GB/pCP8.x/4TB>LMS 8.2.x>Touch>Benchmark DAC I, Boom, Radio w/Battery (Radio WIFI)
    Office: Win10(64)>foobar2000
    The Wild: rPi3B+/pCP7.x/4TB>LMS 8.1.x>hifiberry Dac+Pro (LMS & Squeezelite)
    Controllers: iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin, or SqueezePlay 7.8 on Win10(64)
    Files: Ripping: dBpoweramp > FLAC; Post-rip: mp3tag, PerfectTunes, TuneFusion; Streaming: Spotify

  4. #4
    Senior Member bonze's Avatar
    Join Date
    Jun 2006
    Location
    Bucks. UK
    Posts
    1,500
    I'm getting similar to garym

    Biography, Artist Details, Related Artists & Pictures just 'hang' - even for Adele...

    In the log is:

    [13-08-28 21:08:57.5361] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP:rocessHTTP: Can't locate object method "no_expand_entities" via package "HTML::TreeBuilder" at C:\Documents and Settings\All Users\Application Data\Squeezebox\Cache\InstalledPlugins/Plugins/MusicArtistInfo/AllMusic.pm line 601.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xb152e3c)
    LMS Version: 7.9
    TranquilPC T2-WHS-A3 - WHS 2011
    2x Touch, 3x SB3

  5. #5
    Senior Member
    Join Date
    May 2008
    Location
    United States, Florida
    Posts
    12,445
    yep, I see same log error:

    [13-08-28 15:21:45.0885] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP:rocessHTTP: Can't locate object method "no_expand_entities" via package "HTML::TreeBuilder" at C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/MusicArtistInfo/AllMusic.pm line 601.
    Home: Pi4B-8GB/pCP8.x/4TB>LMS 8.2.x>Transporter, Touch, Boom, Radio (all ethernet)
    Cottage: rPi4B-4GB/pCP8.x/4TB>LMS 8.2.x>Touch>Benchmark DAC I, Boom, Radio w/Battery (Radio WIFI)
    Office: Win10(64)>foobar2000
    The Wild: rPi3B+/pCP7.x/4TB>LMS 8.1.x>hifiberry Dac+Pro (LMS & Squeezelite)
    Controllers: iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin, or SqueezePlay 7.8 on Win10(64)
    Files: Ripping: dBpoweramp > FLAC; Post-rip: mp3tag, PerfectTunes, TuneFusion; Streaming: Spotify

  6. #6
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,586

    Announce: Music & Artist Informationplugin

    Sounds like some dependency issue. Are you seeing this problem on Windows only? I see you mention Vortexbox in your signature, but the error message is from Windows?

    > Am 28.08.2013 um 22:50 schrieb garym <garym.60swcn (AT) no-mx (DOT) forums.slimdevices.com>:
    >
    >
    > yep, I see same log error:
    >
    > [13-08-28 15:21:45.0885] Slim::Networking::IO::Select::__ANON__ (147)
    > Error: Select task failed calling Slim::Web::HTTP:rocessHTTP: Can't
    > locate object method "no_expand_entities" via package
    > "HTML::TreeBuilder" at
    > C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/MusicArtistInfo/AllMusic.pm
    > line 601.
    >
    >
    >
    > *Location 1:* VortexBox Appliance 4TB (2.2) > LMS 7.7.2 > Transporter,
    > Touch, Boom, Radio w/Battery (all ethernet)
    > *Location 2:* VBA 3TB (2.2) > LMS 7.7.2 > Touch > Benchmark DAC I, Boom,
    > Radio w/Battery (all ethernet except Radio)
    > *Office:* Win7(64) > LMS 7.8 > SqueezePlay
    > *Spares:* VBA 4TB, SB3, Touch (3), Radio (3), CONTROLLER
    > *Controllers:* iPhone4S (iPeng), iPad2 (iPengHD & SqueezePad),
    > CONTROLLER, or SqueezePlay 7.7 on Win7(64) laptop
    > Ripping (FLAC) - dbpoweramp, Tagging - mp3tag, Spotify
    > ------------------------------------------------------------------------
    > garym's Profile: http://forums.slimdevices.com/member.php?userid=17325
    > View this thread: http://forums.slimdevices.com/showthread.php?t=99537
    >
    >

  7. #7
    Senior Member Philip Meyer's Avatar
    Join Date
    Apr 2005
    Location
    UK
    Posts
    5,596

    Announce: Music & Artist Informationplugin

    This is great, thanks Michael.
    I wonder if it would be possible to include a discography on the artist info page too?

  8. #8
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,586

    Announce: Music & Artist Informationplugin

    > I wonder if it would be possible to include a discography on the artist
    > info page too?


    The problem is the data source: Last.fm would return >200 items for Peter
    Gabriel. Most of them are dupes or caused by typos. Discogs returns even
    >1100, with little means to sort out the singles, compilations remasters

    etc. And parsing allmusic.com is dirty business... Do you know a good
    source for discographies?

    --

    Michael

  9. #9
    Senior Member Philip Meyer's Avatar
    Join Date
    Apr 2005
    Location
    UK
    Posts
    5,596

    Announce: Music & Artist Informationplugin

    >The problem is the data source: Last.fm would return >200 items for Peter
    >Gabriel. Most of them are dupes or caused by typos. Discogs returns even
    >>1100, with little means to sort out the singles, compilations remasters

    >etc. And parsing allmusic.com is dirty business... Do you know a good
    >source for discographies?


    I often use www.discogs.com.

    A search for Genesis albums lookes fairly tidy: http://www.discogs.com/artist/Genesi...eleases_Albums
    Different versions of the same album are not repeated; click on an album to show all releases of that album.

    A search for Peter Gabriel using this search returns 32 albums: http://www.discogs.com/artist/Peter%...eleases_Albums

    Could stick to just albums to start with, and perhaps extend out to a structure like that offered on the left-hand side of www.discog.com:

    Discography >
    Albums >
    Singles & EPs >
    Compilations >
    Videos >
    Miscellaneous >

    Where each discog type changes the url param "t"

  10. #10
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,586

    Announce: Music & Artist Informationplugin

    > A search for Genesis albums lookes fairly tidy:
    > http://www.discogs.com/artist/Genesi...eleases_Albums


    Yes, their web representation is looking good. How they get there, I don't
    know. Because I have yet to find an API call which would give me the same
    results.

    > Could stick to just albums to start with, and perhaps extend out to a
    > structure like that offered on the left-hand side of www.discog.com:


    The problem with the API is that you can't define exactly what type of
    release you want. It's possible for releases, but then you would get eg.
    dupes due to different countries. They have the concept of
    "release-groups", too, where these country specific releases would be
    grouped into one main release. But in this query you don't have all the
    filter methods available. Therefore I'd have to filter on my side. Which
    requires me to request tons of information I eventually wouldn't need. And
    as results usually are limited to 100 items, I'd have to run multiple
    release-group requests to just get the 20 or 30 "official" Peter Gabriel
    albums.

    --

    Michael

Posting Permissions

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