Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2006
    Posts
    14

    Jukebox Enhancements

    I created a jukebox that plays .OGG files. I would like to display the current song playing e.g "Now Playing" and the song title and time as it counts down, all in a specified area of the jukebox.

    I am not using a MediaPlayer. Can someone point me into the direction of what AMS commands would be necessary to extract that info and display it? Thanks.

    Zylo

  2. #2
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Hi,
    From the Help file:

    Audio.GetOggTags
    Overview

    table Audio.GetOggTags (
    number Channel )


    Description
    Returns a table containing the tags from an Ogg Vorbis file that is currently loaded in an audio channel.

    Parameters
    Channel
    (number) The audio channel whose Ogg Vorbis tags you want:

    CONSTANT
    VALUE
    DESCRIPTION

    CHANNEL_BACKGROUND
    5
    Background audio channel.

    CHANNEL_EFFECTS
    0
    Effects channel (used for mouse over, down, and click sounds).

    CHANNEL_NARRATION
    6
    Narration channel (used for voice overs).

    CHANNEL_USER1
    1
    User channel 1.

    CHANNEL_USER2
    2
    User channel 2.

    CHANNEL_USER3
    3
    User channel 3.

    CHANNEL_USER4
    4
    User channel 4.


    Returns
    (table) A table containing the Ogg tags, indexed by the following categories:

    KEY
    TYPE
    DESCRIPTION

    TITLE
    string
    The title of the Ogg track (from the Ogg tag). If the information cannot be found, an empty string will be returned.

    VERSION
    string
    The version of the track (eg. remix info). If the information cannot be found, an empty string will be returned.

    ALBUM
    string
    The album name (from the Ogg tag). If the information cannot be found, an empty string will be returned.

    TRACKNUMBER
    number
    The album track for the current song (from the Ogg tag).

    ARTIST
    string
    The artist of the track. If the information cannot be found, an empty string will be returned.

    PERFORMER
    string
    The performer of the track (often this is the same as the artist). If the information cannot be found, an empty string will be returned.

    COPYRIGHT
    string
    The copyright information (e.g., "2001 Nobody's Band"). If the information cannot be found, an empty string will be returned.

    LICENSE
    string
    The license information (eg.,"All Rights Reserved"). If the information cannot be found, an empty string will be returned.

    ORGANIZATION
    string
    The name of the organization producing the track. If the information cannot be found, an empty string will be returned.

    DESCRIPTION
    string
    A short description of the contents. If the information cannot be found, an empty string will be returned.

    GENRE
    string
    A short text indication of music genre. If the information cannot be found, an empty string will be returned.

    DATE
    string
    The date the track was recorded. If the information cannot be found, an empty string will be returned.

    LOCATION
    string
    The location where the track was recorded. If the information cannot be found, an empty string will be returned.

    CONTACT
    string
    Contact information for the creators or distributors of the track. If the information cannot be found, an empty string will be returned.

    ISRC
    string
    ISRC (International Standard Recording Code) number for the track. For more information on the ISRC, see http://www.ifpi.org/site-content/online/isrc_intro.html. If the information cannot be found, an empty string will be returned.

    RAWTAGS
    string
    A comma separated list of all the tags in the comment field. (The reason for this is because you can have anything in the comments.) It will look something like this:

    "TITLE=Roxy,ENGINEER=Jack Coolguy,BUBBLEBOY=No One Is Here". It does not have to contain the standard tags on the tags that were actually in the Comment field.





    Good luck

    Yossi

  3. #3
    Join Date
    Dec 2006
    Posts
    14
    Thanks Yossi.

    (Right under my nose) - I'll see if I can make sense of this.

Similar Threads

  1. Video Jukebox
    By Zig in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 01-07-2006, 08:30 PM
  2. Serial # enhancements 6.0 - 7.0
    By jerilyn in forum Setup Factory 7.0
    Replies: 1
    Last Post: 09-23-2005, 01:13 PM
  3. 5.0 -- good enhancements, but lacking others
    By dallasfreak2 in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 11-02-2004, 02:34 PM
  4. An HTML jukebox project to check out...
    By Corey in forum AutoPlay Media Studio 4.0
    Replies: 5
    Last Post: 09-05-2003, 06:00 AM

Posting Permissions

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