soulfx / gmusic-playlist

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

Feature Request: Allow/Disallow Explicit songs from preferences #27

Open jammerxd opened 8 years ago

jammerxd commented 8 years ago

Hello, I am exporting playlists that are going to be played over a stream and it would be helpful to have it setup so that when I am importing playlists, the explicit songs as marked by google music, won't be added because of the explicit. Is there a way to check this in the ImportList.py or add a setting in preferences.py?

soulfx commented 8 years ago

you can see if explicit info is one of the details that can be exported by adding -dDEBUG to the command line. it'll tell you the available track details you can set in preferences.py if explicit is available you can open the output file in a spreadsheet program and filter out the explicit tracks that way.

soulfx commented 8 years ago

The song that is used to figure out what track details are available is not an explicit song which probably won't work for seeing if explicit info is available, change line 62 of common.py to an explicit song and see if that exposes additional track details that can be used for explicit songs.