<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can't add a local folder on Linux in Desktop (Linux)</title>
    <link>https://community.spotify.com/t5/Desktop-Linux/Can-t-add-a-local-folder-on-Linux/m-p/6049821#M22764</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Plan: &lt;/STRONG&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country: &lt;/STRONG&gt;United States&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device: &lt;/STRONG&gt;custom-built PC (Intel i7-12700K, RTX 3060, 64GB of RAM, using an external DAC for sound: Fosi Audio K5 Pro)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Ubuntu 22.04.4 LTS (&lt;/SPAN&gt;&lt;SPAN&gt;Linux kernel 6.5.0-28-generic)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;KDE Plasma 5.24.7 running on X11&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Spotify version 1.2.31.1205.g4d59ad7c (installed via Debian repository)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I can't seem to add a directory for local files on the Spotify desktop app. I go to the app's settings, enable "Show Local Files", click "Add a source", select a folder which has some mp3s in it, and click "Upload". Nothing seems to happen, and I can't find any of my local songs in Spotify. I poked around in &lt;FONT face="courier new,courier"&gt;~/.config/spotify&lt;/FONT&gt;, and I don't see any references to my chosen folder path in either of the two &lt;FONT face="courier new,courier"&gt;prefs&lt;/FONT&gt; files or in &lt;FONT face="courier new,courier"&gt;local-files.bnk&lt;/FONT&gt; (examined using a hex editor).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run &lt;FONT face="courier new,courier"&gt;spotify&lt;/FONT&gt; via terminal, there are no messages printed to the terminal at all. If I run &lt;FONT face="courier new,courier"&gt;spotify --show-console&lt;/FONT&gt;, there is some output, but nothing that appears to be relevant to local files, as nothing appears when I attempt to add a source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Per &lt;A href="https://community.spotify.com/t5/Desktop-Linux/Unable-to-Add-a-Directory-to-Play-Local-Files-linux/m-p/1337871" target="_self"&gt;this post&lt;/A&gt;, I have ensured that &lt;FONT face="courier new,courier"&gt;zenity&lt;/FONT&gt; is installed; &lt;FONT face="courier new,courier"&gt;sudo apt install zenity&lt;/FONT&gt; shows that it is already installed.&lt;/P&gt;</description>
    <pubDate>Mon, 06 May 2024 14:34:49 GMT</pubDate>
    <dc:creator>hayleox</dc:creator>
    <dc:date>2024-05-06T14:34:49Z</dc:date>
    <item>
      <title>Can't add a local folder on Linux</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Can-t-add-a-local-folder-on-Linux/m-p/6049821#M22764</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan: &lt;/STRONG&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country: &lt;/STRONG&gt;United States&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device: &lt;/STRONG&gt;custom-built PC (Intel i7-12700K, RTX 3060, 64GB of RAM, using an external DAC for sound: Fosi Audio K5 Pro)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Ubuntu 22.04.4 LTS (&lt;/SPAN&gt;&lt;SPAN&gt;Linux kernel 6.5.0-28-generic)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;KDE Plasma 5.24.7 running on X11&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Spotify version 1.2.31.1205.g4d59ad7c (installed via Debian repository)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I can't seem to add a directory for local files on the Spotify desktop app. I go to the app's settings, enable "Show Local Files", click "Add a source", select a folder which has some mp3s in it, and click "Upload". Nothing seems to happen, and I can't find any of my local songs in Spotify. I poked around in &lt;FONT face="courier new,courier"&gt;~/.config/spotify&lt;/FONT&gt;, and I don't see any references to my chosen folder path in either of the two &lt;FONT face="courier new,courier"&gt;prefs&lt;/FONT&gt; files or in &lt;FONT face="courier new,courier"&gt;local-files.bnk&lt;/FONT&gt; (examined using a hex editor).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run &lt;FONT face="courier new,courier"&gt;spotify&lt;/FONT&gt; via terminal, there are no messages printed to the terminal at all. If I run &lt;FONT face="courier new,courier"&gt;spotify --show-console&lt;/FONT&gt;, there is some output, but nothing that appears to be relevant to local files, as nothing appears when I attempt to add a source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Per &lt;A href="https://community.spotify.com/t5/Desktop-Linux/Unable-to-Add-a-Directory-to-Play-Local-Files-linux/m-p/1337871" target="_self"&gt;this post&lt;/A&gt;, I have ensured that &lt;FONT face="courier new,courier"&gt;zenity&lt;/FONT&gt; is installed; &lt;FONT face="courier new,courier"&gt;sudo apt install zenity&lt;/FONT&gt; shows that it is already installed.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 14:34:49 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Can-t-add-a-local-folder-on-Linux/m-p/6049821#M22764</guid>
      <dc:creator>hayleox</dc:creator>
      <dc:date>2024-05-06T14:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can't add a local folder on Linux</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Can-t-add-a-local-folder-on-Linux/m-p/6052387#M22766</link>
      <description>&lt;P&gt;I found the solution myself. The critical error message appeared when running &lt;FONT face="courier new,courier"&gt;spotify --show-console&lt;/FONT&gt;:&lt;/P&gt;&lt;PRE&gt;14:18:25.317 E [f:564 ] FileSystemMonitorLinux() failed [inotify_init()]&lt;/PRE&gt;&lt;P&gt;I then found &lt;A href="https://askubuntu.com/questions/256630/spotify-installed-run-error" target="_self"&gt;this thread&lt;/A&gt; which explained that the likely cause was that the system limit on the total number of inotify instances was being reached. The default limit is 128 (on my system anyway); you can increase it with this command:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt; echo 8192 | sudo tee /proc/sys/fs/inotify/max_user_instances&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Once I ran that command and started Spotify, local files worked no problem.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 14:26:19 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Can-t-add-a-local-folder-on-Linux/m-p/6052387#M22766</guid>
      <dc:creator>hayleox</dc:creator>
      <dc:date>2024-05-06T14:26:19Z</dc:date>
    </item>
  </channel>
</rss>

