- This topic has 2 replies, 2 voices, and was last updated 17 years, 5 months ago by john.v.
21/04/2006 at 8:20 AM #228john.vGuest
Being fairly new to the Linux thing, and after having no joy with trying to use nano to edit the mt-daapd.playlist file in /opt/et/mt-daapd of my slug, I tried going at it from within Windows.
After a bit of tinkering, navigate teh directories then open, edit and save the file within notepad. I created myself a new smart playlist that worked, and all was well.:laugh:
However… I then used Wordpad to edit the file, as this made viewing each line easier as it separated it out, rather than have it all as one long line of text, with the line ends shown as little squares. While doing this I also created a couple of new playlists, based on the same syntax as my previous one.
I noticed that the new playlists are not appearing once the server was restarted. I went back and tried editing my working playlist… and now that doesn’t work either!! :huh:
Any ideas of what I have done wrong – and what I can do to fix it???21/04/2006 at 8:33 AM #4203rpeddeParticipant
Sounds like it’s mad about line ending format, or syntax.
You can make the server test the file by doing something like:
/opt/sbin/mt-daapd -p /opt/etc/mt-daapd/mt-daapd.conf
which will tell it to parse the playlists. If it gets errors, it should give (semi) helpful info about what and where.
That will probably get you somewhere.
For editing stuff that moves from windows to unix or vice versa, and if I’m stuck on a windows machine, like at work, I use pspad:
You can change from dos to unix line endings, and so easily unix text files without munging them.
— Ron21/04/2006 at 8:50 AM #4204john.vGuest
PsPad was the answer!!
- The forum ‘Setup Issues’ is closed to new topics and replies.