4 thoughts on “[tech] Sansa Playlist Creator for Linux

  1. Hi
    I get the error
    ./sansa.sh: 38: Syntax error: “(” unexpected
    if I execute your script
    this is because of the function definition
    “function debug_echo ()”

    if I change the first line in the script to #!/bin/bash instead of #!/bin/sh, it works. So the shell sh on my system does not support ths function declaration.

    Moreover, I get
    iconv: illegal input sequence at position 843
    iconv: illegal input sequence at position 8882
    and some more iconv error messages, but I havent checked yet what’s the problem

    Cheers

  2. @SansaUser
    good catch, it is a BASH script. So changing
    #!/bin/sh
    to
    #/bin/bash
    is the way to go.

    Not sure about the iconv errors, though.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>