Improve code quality, separate shared logic into functions
Improve code quality, separate shared logic into functions

ibmibmibm/beets,parapente/beets,MyTunesFreeMusic/privacy-policy,pkess/beets,parapente/beets,mried/beets,mosesfistos1/beetbox,LordSputnik/beets,jackwilsdon/beets,shamangeorge/beets,kareemallen/beets,swt30/beets,artemutin/beets,jmwatte/beets,Freso/beets,jmwatte/beets,LordSputnik/beets,mosesfistos1/beetbox,kelvinhammond/beets,Freso/beets,mried/beets,sampsyo/beets,artemutin/beets,madmouser1/beets,m-urban/beets,sampsyo/beets,kelvinhammond/beets,Kraymer/beets,m-urban/beets,madmouser1/beets,SusannaMaria/beets,sampsyo/beets,MyTunesFreeMusic/privacy-policy,jmwatte/beets,diego-plan9/beets,Kraymer/beets,shamangeorge/beets,jmwatte/beets,xsteadfastx/beets,lengtche/beets,pkess/beets,beetbox/beets,mosesfistos1/beetbox,MyTunesFreeMusic/privacy-policy,ibmibmibm/beets,shamangeorge/beets,SusannaMaria/beets,swt30/beets,kareemallen/beets,artemutin/beets,jackwilsdon/beets,SusannaMaria/beets,swt30/beets,Freso/beets,MyTunesFreeMusic/privacy-policy,madmouser1/beets,lengtche/beets,parapente/beets,beetbox/beets,diego-plan9/beets,diego-plan9/beets,ibmibmibm/beets,LordSputnik/beets,jackwilsdon/beets,kelvinhammond/beets,xsteadfastx/beets,LordSputnik/beets,shamangeorge/beets,lengtche/beets,xsteadfastx/beets,SusannaMaria/beets,jcoady9/beets,artemutin/beets,kareemallen/beets,beetbox/beets,m-urban/beets,jcoady9/beets,madmouser1/beets,Kraymer/beets,mried/beets,beetbox/beets,kelvinhammond/beets,diego-plan9/beets,kareemallen/beets,swt30/beets,jcoady9/beets,parapente/beets,mried/beets,m-urban/beets,jackwilsdon/beets,Freso/beets,ibmibmibm/beets,mosesfistos1/beetbox,lengtche/beets,Kraymer/beets,jcoady9/beets,pkess/beets,xsteadfastx/beets,pkess/beets,sampsyo/beets