Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Python command or script to read EV's log?

If you have a question or need help, this is the place to be.
Post Reply
itsonlyyourhair
Posts: 1
Joined: Fri Jan 17, 2014 1:27 am

Python command or script to read EV's log?

Post by itsonlyyourhair »

I and using EV to automate the moving of my media files to my NAS after they have downloaded. TheRenamer is the last part of my config which renames the files and moves them to my NAS. I would then like to either immediately or at a scheduled interval send everyone interested a txt to their phone letting them know what has been added. Of course it's not that simple, I need to filter the log file to make it readable by my wife and a teenage daughter. So an alert like 'ShowTitleSE04E11.ShowName.x264.AAC.mkv' or 'Frozen.2013.DVDRIP.TheScene.DIVX.mp4' (you get the idea) will be worthless information to them in most cases so I would need to strip out the path and other info to have it ultimately say 'TV Show - Hannibal - Episode 11 is now available for viewing'. But my real issue is trying to figure out which python command I can use to read the EV log? I setup a config to watch the directory so I get the new folder\file listed in the EV log whenever anything gets added, but now I need to figure out how to read the log file with a python command.

Thanks.
juanson
Posts: 10
Joined: Tue Dec 11, 2012 3:11 am

Re: Python command or script to read EV's log?

Post by juanson »

Post Reply