Skip to main content
Topic: Force updating metadata cache  (Read 254 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Force updating metadata cache

I'm writing component that plays headless raw PCM files.

It plays file correctly. Changing preference affects playback as intended.

But file's information(Length, Sample rate, Channels, Bits per sample, Bitrate) is fixed to it's first load.
Changing preference won't update general file infos.

I tried to use decode_get_dynamic_info() but it does not update properties detail.

Is there any way to refresh/delete metadata cache on changing preference?
Or force updating on playback time?

Re: Force updating metadata cache

Reply #1
Not unless you want to change the file's modification time. Or force the user to reload the info manually.

SimplePortal 1.0.0 RC1 © 2008-2020