Skip to content

Commit f862640

Browse files
authored
Merge pull request jishi#321 from jplourde5/patch-2
Update pandora.js
2 parents ccd2035 + 7a2b2b0 commit f862640

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/actions/pandora.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ function pandora(player, values) {
122122
if (uri.startsWith('pndrradio-http')) {
123123
const stationToken = uri.substring(uri.search('&x=') + 3);
124124
const trackToken = uri.substring(uri.search('&m=') + 3,uri.search('&f='));
125+
const up = (cmd == 'thumbsup');
125126

126127
return pandoraAPI("station.addFeedback", {"stationToken" : stationToken, "trackToken" : trackToken, "isPositive" : up})
127128
.then(() => {

0 commit comments

Comments
 (0)