foo-webview-sdk
    Preparing search index...

    Interface RatingGetParams

    Parameters for rating.get. Read a track's rating from 0 to 5: a foo_playcount %rating% between 1 and 5 wins, otherwise the file's RATING tag clamped to 0..5. 0 means unrated. A file whose tags cannot be read, a missing file included, is not an error: it reads as having no RATING tag.

    interface RatingGetParams {
        cueIndex?: number;
        path: string;
    }
    Index
    cueIndex?: number

    Subsong index that wins over a suffix in path; negative values are ignored.

    -1
    
    path: string

    Track path; a |subsong:N suffix or a trailing #N selects a subsong.