yomguy / DeeFuzzer

Light and instant media streaming client for web radios and TVs written in Python
https://github.com/yomguy/DeeFuzzer
GNU General Public License v3.0
143 stars 29 forks source link

Error mkdir #11

Closed ChoiZ closed 10 years ago

ChoiZ commented 10 years ago

Hello Guillaume I have this error and I don't understand why:

$ deefuzzer mystation.xml
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/DeeFuzzer-0.6.5-py2.7.egg/deefuzzer/core.py", line 115, in run
    self.set_m3u_playlist()
  File "/usr/local/lib/python2.7/dist-packages/DeeFuzzer-0.6.5-py2.7.egg/deefuzzer/core.py", line 93, in set_m3u_playlist
    os.makedirs(m3u_dir)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ''

I try many things… last version, version 6.5 from december 3 without success.

I don't know if i have to add in my m3u file the full path or not. Like: /home/deefuzzer/mp3/artist - song.mp3 Or if my m3u is in /home/deefuzzer/station.m3u only: mp3/artist - song.mp3

Do I have to escape spaces in my m3u? mp3/artist\ -\ song.mp3

Thanks for your help.

ChoiZ commented 10 years ago

In my configuration file:

<deefuzzer>
    <log>mystation.log</log>
    <m3u>mystation.m3u</m3u>
    <station>
        …
    </station>
<deefuzzer>

In the xml configuration the node "deefuzzer > m3u" must be a full path (like: /home/deefuzzer/station.m3u)

Thank you guillaume for your help.