Export to GitHub

andless - issue #42

Incorrect work in case of single cue with multiple files


Posted on Jan 10, 2011 by Grumpy Wombat

What steps will reproduce the problem? 1. Find album in form of multiple flacs/apes/etc with single cue (which may be kanji.cue or romaji.cue for example). Cue attached - with simple editing it may be adopted to any flac album. 2. Open this cue in andLess and start playing any song.

What is the expected output? Title string shows playing time and current song name.

What do you see instead? Title string quickly changed to latest available song name in cue. This also affects controls behavior.

What version of the product are you using? On what operating system? HTC Desire, Android 2.2, fw 2.29.405.5

Please provide any additional information below.

Attachments

Comment #1

Posted on Jan 19, 2011 by Happy Cat

OK, seems to be a bug in cue parser, will try to figure it out.

Comment #2

Posted on Jan 19, 2011 by Grumpy Wombat

Всё несколько хуже. Сам вчера разбирался с этим. Парсер работает нормально.

Проблема внутри net.avs234.AndLessSrv.playlist.CueUpdater.CUETimerTask.run() и net.avs234.AndLessSrv.playlist.PlayThread.run() Длительность трека рассчитывается исходя из значений INDEX соседних треков, а в данном случае они все равны нулю, поскольку файлы разные. Поэтому планировщик и проскакивает все треки до последнего. При этом, в PlayThread.run() действительная длительность файла ещё не доступна.

Comment #3

Posted on Jan 24, 2011 by Happy Cat

fixed on 23.10

Status: Fixed

Labels:
Type-Defect Priority-Medium