File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
amazon/content/contents/code Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ var AmazonResolver = Tomahawk.extend( Tomahawk.Resolver, {
2323 cacheTime : 300 ,
2424 name : 'Amazon Music' ,
2525 icon : '../images/icon.png' ,
26- weight : 91 ,
26+ weight : 95 ,
2727 timeout : 8 ,
2828 user_agent : 'Mozilla/6.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0'
2929 } ,
@@ -199,6 +199,10 @@ var AmazonResolver = Tomahawk.extend( Tomahawk.Resolver, {
199199 type : "track"
200200 } ;
201201
202+ //We request HIGH quality with this resolver which corresponds to
203+ //256 VBR kbps, lets set it as default
204+ track . bitrate = track . bitrate || 256 ;
205+
202206 if ( entry . albumReleaseDate )
203207 {
204208 track [ 'releaseyear' ] = entry . albumReleaseDate . split ( '-' ) [ 0 ] ;
You can’t perform that action at this time.
0 commit comments