]> littlesong.place Git - littlesongplace.git/commitdiff
Disable YouTube importer
authorChris Fulljames <christianfulljames@gmail.com>
Sat, 29 Mar 2025 01:47:37 +0000 (21:47 -0400)
committerChris Fulljames <christianfulljames@gmail.com>
Sat, 29 Mar 2025 01:47:37 +0000 (21:47 -0400)
templates/edit-song.html
test/test_online.py

index d8a20ec4fde640243a7469106a77c3b9171553e8..cf8b6a57389413597a383c58b53015db298fc742 100644 (file)
@@ -22,8 +22,9 @@ Most standard audio/video formats are supported - .wav, .mp3, .ogg, .mp4, etc.
         <label for="file">Upload a song from my device</label><br/>
     </div>
     <div class="upload-form">
-        <input type="radio" id="yt" name="upload-type" value="yt" onchange="selectUploadMethod()" />
-        <label for="yt">Import a song from YouTube</label>
+        <input type="radio" id="yt" name="upload-type" value="yt" onchange="selectUploadMethod()" hidden/>
+        <label for="yt" hidden>Import a song from YouTube</label>
+        <small>(Looking for the YouTube importer?  Unfortunately it's currently broken - hopefully it will be back soon!)</small>
     </div>
     <div class="upload-form" id="audio-file">
         <label for="song-file">{% if song %}Replace {% endif %}Audio File</label><br>
index e441411888f9c0a216ef5d93426ac6f8b0c60dc3..0d4180233d53ad0d17a68e7fb22201878fe3494a 100644 (file)
@@ -98,6 +98,7 @@ def test_comments_and_activity(s):
         songs = _get_song_list_from_page(response.text)
         assert not any(song["songid"] == songid for song in songs)
 
+@pytest.mark.skip
 def test_upload_song_from_youtube(s):
     _login(s, "user", "1234asdf!@#$")