Bug Report Reading text from a constantly updating file

Likewise

New Member
I planned to reply in this topic, but since I figure it's a more a "bug" than anything, I hope it's valid to post my reply here instead. I'm not particularly sure if OBS is to blame, but perhaps it can work around it?

I use foobar2000 and the AMIP Wrapper to write the title to a file, then use that file to display my song title in OBS. I get that perhaps this isn't necessarily what you're supposed to use it for, but more than anything the behaviour of this feature (retrieving text from updating txt files) seems inconsistent.

  • At times it will update constantly, but after long lulls it tends to not update at all. Does it have anything to do with activity?
  • Another thing I noticed is that when I close foobar2k, the text updates automatically in OBS. Does it have anything to do with two programs trying to access the file simultaneously? When I tried updating the file manually, OBS would immediately update the list after saving the txt file.

For anyone else wondering, there is a workaround using last.fm. I personally don't really want to make a last.fm account. And maybe I'll work on my own foobar2k plugin.

At any rate, thanks for all the hard work everyone puts into this program. You're doing amazing things.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Actually the issue isn't that it's trying to access the file at the same time anymore. In the latest versions it waits 1 second before updating the texture because if I had it update instantly that exact issue could occur. That timer is reset every time another update occurs. If you are constantly updating at a high frequency it then it'll never give it a chance to change the texture.
 
Top