I am writing a little app to download updated playlist files from shoutcast.com, load it, convert it to a valid m3u file, and then load it in foobar.
I am stuck on one thing (sorry...I am kind of a n00b).
I want it to read from the 35th letter\number of a file, and read until the word title1 is appearing, and then read all text between letter 35 and that word, and save it as a variable.
How do I do ? I have got the file stream to work, but not the reading of the right letters....
I have tried a few while strings, but I couldn't figure out how to do it.
Question
_R2D2
I am writing a little app to download updated playlist files from shoutcast.com, load it, convert it to a valid m3u file, and then load it in foobar.
I am stuck on one thing (sorry...I am kind of a n00b).
I want it to read from the 35th letter\number of a file, and read until the word title1 is appearing, and then read all text between letter 35 and that word, and save it as a variable.
How do I do ? I have got the file stream to work, but not the reading of the right letters....
I have tried a few while strings, but I couldn't figure out how to do it.
Thanks for any help!
Link to comment
Share on other sites
0 answers to this question
Recommended Posts