{"id":5812,"date":"2023-09-17T02:30:09","date_gmt":"2023-09-17T00:30:09","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=5812"},"modified":"2023-09-17T02:30:12","modified_gmt":"2023-09-17T00:30:12","slug":"spotrec-mit-spotify-client-angehoerte-musik-unter-linux-aufzeichnen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/17\/spotrec-mit-spotify-client-angehoerte-musik-unter-linux-aufzeichnen\/","title":{"rendered":"SpotRec &#8211; Mit Spotify Client angeh\u00f6rte Musik unter Linux aufzeichnen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Mit der Software SpotRec l\u00e4sst sich die Musik die Sie sich unter Linux mit Spotify Client gerade anh\u00f6ren aufzeichnen und so auf der Festplatte speichern.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SpotRec installieren<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sie finden diese Software unter\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/Bleuzen\/SpotRec\" target=\"_blank\">GitHub<\/a>\u00a0zum Download, alternativ nutzen Sie die Versionsverwaltung Git (<em>installierbar \u00fcber die\u00a0Paket-Verwaltung\u00a0durch das Paket &#8222;<strong>git<\/strong>&#8222;<\/em>). Als normaler Nutzer auf dem\u00a0Terminal\u00a0mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/Bleuzen\/SpotRec.git<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nun wechseln Sie in das heruntergeladene Verzeichnis und machen die darin liegende Datei &#8222;<strong>spotrec.py<\/strong>&#8220; ausf\u00fchrbar &#8211; per Rechtsklick &#8222;<em>Eigenschaften \u2192 Berechtigungen<\/em>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec-1024x576.jpg\" alt=\"\" class=\"wp-image-5813\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Alternativ auf dem Terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd SpotRec\/\nchmod +x spotrec.py<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nun verschieben Sie die Datei als Administrator etwa nach &#8222;<em>\/usr\/local\/bin\/<\/em>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mv spotrec.py \/usr\/local\/bin\/<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">SpotRec nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nach der Installation \u00f6ffnen Sie den\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/17\/spotify-client-fuer-linux\/\" data-type=\"post\" data-id=\"5809\" target=\"_blank\">Spotify-Client<\/a>, anschlie\u00dfend starten Sie auf dem Terminal den Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>spotrec.py -o SpotRec\/ --skip-intro<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Statt &#8222;<strong>SpotRec\/<\/strong>&#8220; geben Sie ein bestehendes Verzeichnis in Ihrem Home-Verzeichnis an, in dem die aufgezeichnete Musik gespeichert werden soll.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec1-1024x576.jpg\" alt=\"\" class=\"wp-image-5814\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec1-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/spotrec1.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Software legt nun im Lautsprecher-Men\u00fc ein weiteres Ger\u00e4t an &#8211; ist dieses aktiv starten Sie die Wiedergabe im Spotify-Client. Starten Sie nun die Wiedergabe wird von SpotRec aufgezeichnet &#8211; die Ausgabe am Terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Spotify] State changed: Playing\n&#91;SpotRec] Moved Spotify to own sink\n&#91;Spotify] Song changed: 01 - LA Vision - Hollywood\n&#91;SpotRec] Starting recording\n&#91;FFmpeg] &#91;1138546] Recording started\n&#91;Spotify] State changed: Paused\n&#91;Spotify] State changed: Playing<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jeden Song, den Sie aufzeichnen wollen, m\u00fcssen Sie komplett abspielen. Brechen Sie eine Wiedergabe ab, beendet sich auch die Software und sie muss neu gestartet werden &#8211; in diesem Fall muss anschlie\u00dfend auch Spotify Client neu gestartet werden. Lassen Sie SpotRec bei einer Ausgabe weiter laufen zeichnet die Software ganz einfach alle folgenden Tracks als einzelne Dateien auf. Mittels\u00a0<strong><kbd>Strg+c<\/kbd><\/strong>\u00a0beenden Sie SpotRec.<\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"5812\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">1    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"5812\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Mit der Software SpotRec l\u00e4sst sich die Musik die Sie sich unter Linux mit Spotify Client gerade anh\u00f6ren aufzeichnen und so auf der Festplatte speichern. SpotRec installieren Sie finden diese Software unter\u00a0GitHub\u00a0zum Download, alternativ nutzen Sie die Versionsverwaltung Git (installierbar \u00fcber die\u00a0Paket-Verwaltung\u00a0durch das Paket &#8222;git&#8222;). Als normaler Nutzer auf dem\u00a0Terminal\u00a0mit dem Befehl: Nun wechseln Sie [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5814,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,20],"tags":[46,18],"class_list":["post-5812","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet","category-multimedia","tag-internet","tag-multimedia"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/5812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=5812"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/5812\/revisions"}],"predecessor-version":[{"id":5815,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/5812\/revisions\/5815"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/5814"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=5812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=5812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=5812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}