File tree 2 files changed +1
-7
lines changed
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -67,9 +67,6 @@ module.exports = {
67
67
if ( config . get ( 'allowControl' ) ) {
68
68
try {
69
69
let track = req . params . track ;
70
- if ( track . indexOf ( 'spotify:track:' ) == - 1 ) {
71
- track = 'spotify:track:' + track ;
72
- }
73
70
spotify . playTrack ( track ) ;
74
71
res . send ( { status : 'playing' } ) ;
75
72
}
@@ -87,9 +84,6 @@ module.exports = {
87
84
try {
88
85
let track = req . params . track ;
89
86
let context = req . params . context ;
90
- if ( track . indexOf ( 'spotify:track:' ) == - 1 ) {
91
- track = 'spotify:track:' + track ;
92
- }
93
87
spotify . playTrackInContext ( track , context ) ;
94
88
res . send ( { status : 'playing' } ) ;
95
89
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " spotify-controller" ,
3
3
"productName" : " Spotify Controller" ,
4
- "version" : " 0.1.4 " ,
4
+ "version" : " 0.1.5 " ,
5
5
"description" : " Control Spotify on MacOS over the network" ,
6
6
"license" : " MIT" ,
7
7
"repository" : " josephdadams/spotify-controller" ,
You can’t perform that action at this time.
0 commit comments