Output the current song to a text file
Brought to you by:
sobukus
As far as i understood, there is no such functionality and it is not expected. Is it possible to add this feature? I dont think that it is difficult and will take a lot of time, but i dont understand myself how to do it... I would gladly do it myself, because at the moment i urgently need this feature...
If someone can just give me the part of the code that would display TITLE and ARTIST to a text file - i will be the happiest man in the world.
Do you need this in addition to the interative terminal output? If not, you can just filter the normal printouts of mpg123 in a little script an write title and artist to a text file.
Some form of mpg123 | grep (or perl, awk, python).
Thanks for help.
I hope this helps someone:
Need to add to source file named mpg123.c, line: 1322.
And after that ./compile and make
Is this still relevant? And is the actual file name the interesting bit, not the ID3 info? I could imagine a function that does proper logging and replay of all playback actions, perhaps indeed as an enhanced playlist with offsets and durations. But maybe this is just something that the world doesn't need.