Logging played files

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
kevinau
Blank Cone
Blank Cone
Posts: 45
Joined: 21 Jan 2012 12:07

Logging played files

Postby kevinau » 21 May 2013 06:15

Hi,
I want a logging record of played files on VLC , showing filename and datetime.
Anyone know how to do that?
Thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Logging played files

Postby Jean-Baptiste Kempf » 21 May 2013 13:03

You cannot, except by parsing the logs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kevinau
Blank Cone
Blank Cone
Posts: 45
Joined: 21 Jan 2012 12:07

Re: Logging played files

Postby kevinau » 22 May 2013 02:15

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.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Logging played files

Postby mederi » 22 May 2013 11:29

A Lua extension could make it.
>> Scripting VLC in lua

kevinau
Blank Cone
Blank Cone
Posts: 45
Joined: 21 Jan 2012 12:07

Re: Logging played files

Postby kevinau » 31 May 2013 09:46

Hi,
I tried on the input_changed() event but it crash, frequently.
Is there a more understandable object model of VLC?
thanks

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Logging played files

Postby mederi » 31 May 2013 21:12

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.

NesteaZen
Blank Cone
Blank Cone
Posts: 11
Joined: 14 Jul 2010 15:15

Re: Logging played files

Postby NesteaZen » 09 Jun 2013 23:12

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 71 guests