Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    RBrainz 0.5.2

    Download button

    No screenshots available
    Downloads: 411  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.9/5)
    14 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Philipp Wolfer | More programs
    BSD License / FREE
    April 29th, 2011, 13:23 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    RBrainz description

    RBrainz is a Ruby client library to query the MusicBrainz database using the MusicBrainz XML web service.

    RBrainz is a Ruby client library to query the MusicBrainz database using the MusicBrainz XML web service.

    RBrainz follows the design of the MusicBrainz client library reference implementation and supports the MusicBrainz XML Metadata Schema Version 1.2.

    Usage:

    A simple example on how to use RBrainz is shown below. For more detailed instructions see the API documentation.

    require 'rbrainz'

    include MusicBrainz

    # With the ArtistInclude object we can control what
    # kind of information the MusicBrainz server will
    # include in its answer.
    artist_includes = Webservice::ArtistIncludes.new(
    :aliases => true,
    :releases => ['Album', 'Official'],
    :artist_rels => true,
    :release_rels => true,
    :track_rels => true,
    :label_rels => true,
    :url_rels => true
    )

    # Query the webservice for the artist with a given ID.
    # The result will contain all the information
    # specified in artist_includes.
    query = Webservice::Query.new
    id = 'c0b2500e-0cef-4130-869d-732b23ed9df5'
    artist = query.get_artist_by_id(id, artist_includes)

    # Display the fetched artist data together with
    # all release titles.
    print

    Product's homepage

    What's New in This Release: [ read full changelog ]

    · This release mainly fixes the HTTP Digest Authentication for the upcoming MusicBrainz NGS server release.

      


    TAGS:

    Ruby client library | MusicBrainz query | music database query | RBrainz | Ruby | library

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM