soulfx / gmusic-playlist

playlist scripts for gmusic
MIT License
158 stars 57 forks source link

Implement proper support for escaped CSV values #20

Closed soulfx closed 9 years ago

soulfx commented 9 years ago

Playlists in which track information contains the separator value are not properly escaped.

Change reading and writing logic to use python's built in csv module for reading and writing values so that we get properly escaped values.

soulfx commented 9 years ago

decided to hand code the logic for handling this instead of using the csv module since sinemetu1 had donated some code that got things rolling and the csv module doesn't support unicode well from what I recall.