<commit_before><!doctype html>
<html lang="en" ng-app="radio">
<head>
    <meta charset="utf-8">
    <title>radio</title>

    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="css/theme.css">
    <link rel="stylesheet" href="radio.css">

    <script src="js/angular.js"></script>
    <script src="js/ui.js"></script>
    <script src="js/animate.js"></script>
    <script src="radio.js"></script>
</head>
<body ng-controller="dj">

    <div class="container">

        <div class="player">
            <audio src="http://deb.r0k:8001/stream.ogg" controls="true" preload="none"></audio>
            <span class="listeners">{{status.listeners}} listeners</span>
        </div>

        <div class="song">
            <uib-progressbar max="total" value="elapsed">
                <span>{{hmElapsed}} / {{hmTotal}} ({{percent}}%)</span>
            </uib-progressbar>
            <div ng-show="selected">{{selected}}</div>
            <dl class="current">
                <dt class="artist">artist</dt>
                <dd class="artist"><a ng-click="find('Artist', song.Artist)" href="#">{{song.Artist}}</a></dd>
                <dt class="album">album</dt>
                <dd class="album"><a ng-click="find('Album', song.Album)" href="#">{{song.Album}}</a></dd>
                <dt class="title">title</dt>
                <dd class="title"><a ng-click="find('Title', song.Title)" href="#">{{song.Title}}</a></dd>
                <dt class="filename">filename</dt>
                <dd class="filename">{{song.file}}</a></dd>
            </dl>
        </div>

        <div class="control">
            <span class="refresh"><button class="btn btn-primary" ng-click="refresh()">&#x21ba;</button></span>
            <span class="next"><button class="btn btn-primary" ng-click="skip()">skip</button></span>
            <span class="shuffle"><button class="btn btn-primary" ng-click="shuffle()">shuffle</button></span>
            <span class="crop"><button class="btn btn-primary" ng-click="crop()">crop</button></span>
            <span class="addRandom"><button class="btn btn-primary" ng-click="addRandom(count)">add random</button></span>
            <span class="incrementRandom"><button class="btn btn-primary" ng-click="count=count+1">{{count}}</button></span>

        </div>

        <br />

        <uib-tabset active="0" justified="true" class="tabs">

            <uib-tab index="0" heading="playlist" class="tab">
                <ol class="playlist">
                    <li ng-repeat="file in playlist" ng-class="{'currentSong': isCurrentSong(file)}">
                        <span class="artist">{{file.Artist}} - </span>
                        <span class="title">{{file.Title}}</span>
                        <div class="filename">{{file.file}}</div>
                        <div class="control">
                            <button class="play btn btn-sm btn-default" ng-click="play(file.Pos)">&#x25BA;</button>
                            <button class="moveUp btn btn-sm btn-default" ng-click="moveUp(file.Pos)">&#x25B2;</button>
                            <button class="moveDown btn btn-sm btn-default" ng-click="moveDown(file.Pos)">&#x25BC;</button>
                            <button class="delete btn btn-sm btn-danger" ng-click="delete(file.Pos)">&#x274c;</button>
                        </div>

                    </li>
                </ol>
            </uib-tab>

            <uib-tab index="1" heading="saved" class="tab" ng-click="browseSaved()"><commit_msg>move the random incrementer button<commit_after><!doctype html>
<html lang="en" ng-app="radio">
<head>
    <meta charset="utf-8">
    <title>radio</title>

    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="css/theme.css">
    <link rel="stylesheet" href="radio.css">

    <script src="js/angular.js"></script>
    <script src="js/ui.js"></script>
    <script src="js/animate.js"></script>
    <script src="radio.js"></script>
</head>
<body ng-controller="dj">

    <div class="container">

        <div class="player">
            <audio src="http://deb.r0k:8001/stream.ogg" controls="true" preload="none"></audio>
            <span class="listeners">{{status.listeners}} listeners</span>
        </div>

        <div class="song">
            <uib-progressbar max="total" value="elapsed">
                <span>{{hmElapsed}} / {{hmTotal}} ({{percent}}%)</span>
            </uib-progressbar>
            <div ng-show="selected">{{selected}}</div>
            <dl class="current">
                <dt class="artist">artist</dt>
                <dd class="artist"><a ng-click="find('Artist', song.Artist)" href="#">{{song.Artist}}</a></dd>
                <dt class="album">album</dt>
                <dd class="album"><a ng-click="find('Album', song.Album)" href="#">{{song.Album}}</a></dd>
                <dt class="title">title</dt>
                <dd class="title"><a ng-click="find('Title', song.Title)" href="#">{{song.Title}}</a></dd>
                <dt class="filename">filename</dt>
                <dd class="filename">{{song.file}}</a></dd>
            </dl>
        </div>

        <div class="control">
            <span class="refresh"><button class="btn btn-primary" ng-click="refresh()">&#x21ba;</button></span>
            <span class="next"><button class="btn btn-primary" ng-click="skip()">skip</button></span>
            <span class="shuffle"><button class="btn btn-primary" ng-click="shuffle()">shuffle</button></span>
            <span class="crop"><button class="btn btn-primary" ng-click="crop()">crop</button></span>
            <span class="addRandom"><button class="btn btn-primary" ng-click="addRandom(count)">add random ({{count}})</button></span>
            <span class="incrementRandom"><button class="btn btn-primary" ng-click="count=count+1">+</button></span>

        </div>

        <br />

        <uib-tabset active="0" justified="true" class="tabs">

            <uib-tab index="0" heading="playlist" class="tab">
                <ol class="playlist">
                    <li ng-repeat="file in playlist" ng-class="{'currentSong': isCurrentSong(file)}">
                        <span class="artist">{{file.Artist}} - </span>
                        <span class="title">{{file.Title}}</span>
                        <div class="filename">{{file.file}}</div>
                        <div class="control">
                            <button class="play btn btn-sm btn-default" ng-click="play(file.Pos)">&#x25BA;</button>
                            <button class="moveUp btn btn-sm btn-default" ng-click="moveUp(file.Pos)">&#x25B2;</button>
                            <button class="moveDown btn btn-sm btn-default" ng-click="moveDown(file.Pos)">&#x25BC;</button>
                            <button class="delete btn btn-sm btn-danger" ng-click="delete(file.Pos)">&#x274c;</button>
                        </div>

                    </li>
                </ol>
            </uib-tab>

            <uib-tab index="1" heading="saved" class="tab" ng-click="browseSaved()">
{'fraction_non_alphanumeric': 0.20322443784471786, 'fraction_numerical': 0.006222599349455522, 'mean_word_length': 2.3358490566037737, 'pattern_counts': {'":': 0, '<': 223, '<?xml version=': 0, '>': 223, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1712860', 'n_tokens_mistral': 2199, 'n_tokens_neox': 2046, 'n_words': 352}