nockscitney / SeratoNowPlaying

A tool which allows users to get the currently (and previously) playing track names from Serato DJ
GNU General Public License v3.0
22 stars 2 forks source link

Prevent constantly writing to the file #3

Closed aerond7 closed 4 years ago

aerond7 commented 4 years ago

By checking task manager I noticed that the app is constantly writing to disk (to the file)

An easy solution to prevent this is as follows; you could save the track name in a variable and check it against what the app is getting from the web. If what we got from the web is different to the string saved in memory then only in that case write to the file and save the new song name to the variable and continue checking.

nockscitney commented 4 years ago

Thanks @aerond7 - It’s now on the improvements list 🙂

nockscitney commented 4 years ago

Implemented and resolved in Version 1.1.0