Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: fb0.9b9 Bug: songlength wrong after changing file (Read 3352 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

fb0.9b9 Bug: songlength wrong after changing file

Hi

2 Bugs:


1. I downloaded a file and wanted to hear it, before the download finsished, so i copied the incomplete file and listened to it, while the original countinued dowloading. After some time I deleted the copy and made a new one to have more of the song. (the orig was still incomplete).
But foobar shows the length of the old copy for the new copy but don't stops playing when the statusinfo(don't know the right english word for that. The thing which shows you the position of the song) reaches the end.
I have a percent status info additional to that which shows position 300% of the song.

So foobar don't update it's filelength info even if the file changed...



2.  When i search a song in my medialibary, i only can play the song through doubleclick, if the song exists in the activ playlist, if not, nothing happens...



--Ano

fb0.9b9 Bug: songlength wrong after changing file

Reply #1
2. Not a bug, foobar2000 0.9 can only play files that are on a playlist.

1. I'm not sure why that would happen, since foobar2000 detects filechanges by filesize and last modified timestamp. Can you give more details like what format that file is in (MP3, Vorbis, AAC, ...)?

fb0.9b9 Bug: songlength wrong after changing file

Reply #2
It was a mp3 File.. don't know what more to say.. Tell me if you need to know something special..

[Edit:] I found some interessting things:

If i open the properties windows for the file (titled File Info - Songname), it shows the length of the old file.

But at the bottum in the statusbar it shows the correct length..




2.  Why not changing the behavior from "doing nothing on play if file is not in playlist" to "search playlist where this song is or create a new one for the song" in the libsearch? It would be more comfortable...

--Ano

fb0.9b9 Bug: songlength wrong after changing file

Reply #3
Are %_time_total% and %_length% the same?

fb0.9b9 Bug: songlength wrong after changing file

Reply #4
Essentially yes, but %_time_total% only works for the currently playing item.

fb0.9b9 Bug: songlength wrong after changing file

Reply #5
I know, thanks, I was actually asking Anonym001 if he was getting different values when playing that track. The help page says "%_time_total% / %_time_total_seconds% get data from playback core while %_length% / %_length_seconds% get data from database, in some rare cases either of them may be more reliable." so it could be good to know if that's one of those cases he's on about.

fb0.9b9 Bug: songlength wrong after changing file

Reply #6
I got information from zZzZzZz that only the timestamp was checked for detecting file info changes, but the filesize was ignored. This will be fixed in the next beta. It is still weird that both copies had the same timestamp.

fb0.9b9 Bug: songlength wrong after changing file

Reply #7
%length% has the real file length
%_time_total_seconds% has the old file length



--Ano