<commit_before><template name="couchpotato">
    <div class="container">
        <div class="row">
            <div class="col-md-offset-2 col-md-8">
                {{#if currentUser }}
                
                    <h1>Couch Potato Test Page</h1>
                    <p class="lead">This page is to help confirm that you can successfully communicate with Couch Potato,
                        if you still have issues please post on the <a href="https://forums.plex.tv/index.php/topic/151899-plex-movie-requests/">forums</a> or the <a href="https://github.com/lokenx/plexrequests-meteor">GitHub repo</a>. You can return to the <a href="{{url}}">application</a>, or the <a href="{{url}}admin">admin</a> interface once done.</p>
                    <h3 style="font-weight:400;">Enabled: <span class="enabledSuccess" style="display:none;">true <i class="fa fa-check-circle"></i></span> <span class="enabledError" style="display:none;">false <i class="fa fa-exclamation-circle"></i></span></h3>
                    <h3 style="font-weight:400;">Connection status: <span class="cpSuccess" style="display:none;">connection successful <i class="fa fa-check-circle"></i></span> <span class="cpError" style="display:none;">connection error <i class="fa fa-exclamation-circle"></i></span> </h3>
                    <h3 style="font-weight:400;">API/URL: <span class="missingSlash plexAuthError" style="display:none;">You're missing a <kbd>/</kbd> at the end</span></h3><br>
                    <pre><code><span class="api">{{cp}}</span></code></pre>

                <br>
                <div class="loading loadingCP"><div class="loader-inner ball-clip-rotate"><div></div></div></div>
                
                <div class="commonIssues" style="display:none;">
                <h3>Common Issues</h3>
                <ol>
                    <li><strong>Customize settings: </strong> You need to go to the admin interface to setup your own CP settings. You can navigate to it by going to <br><br><pre><code><span class="currentDomain"></span>/admin</code></pre><br></li>
                    <li><strong>Service enabled: </strong> Please ensure you have enabled Couch Potato by changing the value of the <strong>Enabled</strong> field to <kbd>enabled</kbd><br><br></li>
                    <li><strong>URL: </strong> Please ensure you have typed the URL correctly, it should follow the below format and must contain a <kbd>/</kbd> at the end <br><br><pre><code>http://192.168.0.1:5050/api/abcdef0123456789/</code></pre><br></li>
                    <li><strong>LAN: </strong><s>Plex Requests has only been tested when running on the same LAN as Couch Potato.</s> I've tested hosting Plex Request outside of my LAN and it works. If you would like to run it in a different location you will have to configure router firewall rules as well as port forwarding, and use your router/public IP instead of Couch Potato's. Also don't forget to put a username/password on Couch Potato as it's now opened up to the interwebs<br><br></li>
                    <li><strong>Manual test: </strong> You can try a manual call to the Couch Potato API via a web browser to confirm connectivity. Simply copy and paste the below URL into your browser, if things are working you should get a message displayed that says <kbd>{ "success" : true }</kbd><br><br>
                    <pre><code>{{api}}app.available</code></pre><br></li>
                    <li><strong>Wrong API key used: </strong> If this is the message you receive when trying the Manual test, please confirm that you have a <kbd>/</kbd> slash at the end of your API<br><br></li>
                </ol>
                </div>
                <commit_msg>Updated messages to be same as Plex page<commit_after><template name="couchpotato">
    <div class="container">
        <div class="row">
            <div class="col-md-offset-2 col-md-8">
                {{#if currentUser }}
                
                    <h1>Couch Potato Test Page</h1>
                    <p class="lead">This page is to help confirm that you can successfully communicate with Couch Potato,
                        if you still have issues please post on the <a href="https://forums.plex.tv/index.php/topic/151899-plex-movie-requests/">forums</a> or the <a href="https://github.com/lokenx/plexrequests-meteor">GitHub repo</a>. You can return to the <a href="{{url}}">application</a>, or the <a href="{{url}}admin">admin</a> interface once done.</p>
                    <h3 style="font-weight:400;">Enabled: <span class="enabledSuccess" style="display:none;">true <i class="fa fa-check-circle"></i></span> <span class="enabledError" style="display:none;">false <i class="fa fa-exclamation-circle"></i></span></h3>
                    <h3 style="font-weight:400;">Connection status: <span class="cpSuccess" style="display:none;">successful <i class="fa fa-check-circle"></i></span> <span class="cpError" style="display:none;">error <i class="fa fa-exclamation-circle"></i></span> </h3>
                    <h3 style="font-weight:400;">API/URL: <span class="missingSlash plexAuthError" style="display:none;">You're missing a <kbd>/</kbd> at the end</span></h3><br>
                    <pre><code><span class="api">{{cp}}</span></code></pre>

                <br>
                <div class="loading loadingCP"><div class="loader-inner ball-clip-rotate"><div></div></div></div>
                
                <div class="commonIssues" style="display:none;">
                <h3>Common Issues</h3>
                <ol>
                    <li><strong>Customize settings: </strong> You need to go to the admin interface to setup your own CP settings. You can navigate to it by going to <br><br><pre><code><span class="currentDomain"></span>/admin</code></pre><br></li>
                    <li><strong>Service enabled: </strong> Please ensure you have enabled Couch Potato by changing the value of the <strong>Enabled</strong> field to <kbd>enabled</kbd><br><br></li>
                    <li><strong>URL: </strong> Please ensure you have typed the URL correctly, it should follow the below format and must contain a <kbd>/</kbd> at the end <br><br><pre><code>http://192.168.0.1:5050/api/abcdef0123456789/</code></pre><br></li>
                    <li><strong>LAN: </strong><s>Plex Requests has only been tested when running on the same LAN as Couch Potato.</s> I've tested hosting Plex Request outside of my LAN and it works. If you would like to run it in a different location you will have to configure router firewall rules as well as port forwarding, and use your router/public IP instead of Couch Potato's. Also don't forget to put a username/password on Couch Potato as it's now opened up to the interwebs<br><br></li>
                    <li><strong>Manual test: </strong> You can try a manual call to the Couch Potato API via a web browser to confirm connectivity. Simply copy and paste the below URL into your browser, if things are working you should get a message displayed that says <kbd>{ "success" : true }</kbd><br><br>
                    <pre><code>{{api}}app.available</code></pre><br></li>
                    <li><strong>Wrong API key used: </strong> If this is the message you receive when trying the Manual test, please confirm that you have a <kbd>/</kbd> slash at the end of your API<br><br></li>
                </ol>
                </div>
                
{'fraction_non_alphanumeric': 0.14430482367247668, 'fraction_numerical': 0.013241453857586813, 'mean_word_length': 2.8753926701570682, 'pattern_counts': {'":': 0, '<': 257, '<?xml version=': 0, '>': 257, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6698176', 'n_tokens_mistral': 2168, 'n_tokens_neox': 2015, 'n_words': 705}