Fixed genre tag problem
authorRemixDev <deezloaderremix@gmail.com>
Fri, 24 May 2019 18:21:33 +0000 (20:21 +0200)
committerRemixDev <deezloaderremix@gmail.com>
Fri, 24 May 2019 18:21:33 +0000 (20:21 +0200)
app/app.js

index 63feac8c64460c9f18399eee8501c1570f45f445..ae0f41d2cc6850e7e6d45b211ef94e93a29923f7 100644 (file)
@@ -2059,7 +2059,7 @@ io.sockets.on('connection', function (s) {
                                        writer.setFrame('USLT', track.unsyncLyrics);
                                if(track.album.label && settings.tags.publisher)
                                        writer.setFrame('TPUB', track.album.label);
-                               if(track.genreString && settings.tags.genre)
+                               if(track.album.genreString && settings.tags.genre)
                                        writer.setFrame('TCON', [track.album.genreString]);
                                if(track.copyright && settings.tags.copyright)
                                        writer.setFrame('TCOP', track.copyright);