dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 2d5af59b0b16831033cc42648ca2f9b4bcf6642c
parent 7d0f91021d704336d7c3514242695dc5b55b5ba9
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Fri, 13 Jan 2017 21:38:06 +0100

itunes_style_getter falls back on genre

If there's no style, it uses the genre instead
Diffstat:
Mitunes_style_getter_helper.rb | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/itunes_style_getter_helper.rb b/itunes_style_getter_helper.rb @@ -11,3 +11,5 @@ search.results.each do |result| exit end end + +p search["results"][0].genre[0].split(",")