Page 1 of 1

Logging played files

Posted: 21 May 2013 06:15
by kevinau
Hi,
I want a logging record of played files on VLC , showing filename and datetime.
Anyone know how to do that?
Thanks

Re: Logging played files

Posted: 21 May 2013 13:03
by Jean-Baptiste Kempf
You cannot, except by parsing the logs.

Re: Logging played files

Posted: 22 May 2013 02:15
by kevinau
Hi,
Thanks
The log can be very large if I use playlist to play 10 files at night. Any idea?

This is a very simple demand. The log may look likes this

2013/5/21 23:59:59,x:\psy.ts

Hope someone can add it later.

Re: Logging played files

Posted: 22 May 2013 11:29
by mederi
A Lua extension could make it.
>> Scripting VLC in lua

Re: Logging played files

Posted: 31 May 2013 09:46
by kevinau
Hi,
I tried on the input_changed() event but it crash, frequently.
Is there a more understandable object model of VLC?
thanks

Re: Logging played files

Posted: 31 May 2013 21:12
by mederi
input_changed() or meta_changed()
It is a good idea. Then it would be possible to parse the log to see how many times particular media sources were already played, the most / the least played ones.
If you can share your script in the "Scripting VLC in lua" forum, then I could help.

Re: Logging played files

Posted: 09 Jun 2013 23:12
by NesteaZen
Is there any solution to this? Up until now I used the core media player. I can't make it work anymore (windows xp) and I can't find the time to run a repair install on windows.
coremedia had a simple xml file.

Image