servicemp3: Solution for CD with more than 9 tracks
authorlittlesat <littlesat99@yahoo.com>
Sun, 12 Jul 2015 10:33:42 +0000 (12:33 +0200)
committerlittlesat <littlesat99@yahoo.com>
Sun, 12 Jul 2015 10:33:42 +0000 (12:33 +0200)
Thanks Beeker

lib/service/servicemp3.cpp

index 2a7e81d..61ee5d8 100644 (file)
@@ -523,7 +523,7 @@ eServiceMP3::eServiceMP3(eServiceReference ref):
        }
        else if ( m_sourceinfo.containertype == ctCDA )
        {
-               int i_track = atoi(filename+18);
+               int i_track = atoi(filename+17);
                uri = g_strdup_printf ("cdda://%i", i_track);
        }
        else if ( m_sourceinfo.containertype == ctVCD )