{"action":"created","issue":{"url":"https://api.github.com/repos/filebot/scripts/issues/40","repository_url":"https://api.github.com/repos/filebot/scripts","labels_url":"https://api.github.com/repos/filebot/scripts/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/filebot/scripts/issues/40/comments","events_url":"https://api.github.com/repos/filebot/scripts/issues/40/events","html_url":"https://github.com/filebot/scripts/pull/40","id":191868540,"number":40,"title":"Change subject of report emails","user":{"login":"neg2led","id":4232981,"avatar_url":"https://avatars.githubusercontent.com/u/4232981?v=3","gravatar_id":"","url":"https://api.github.com/users/neg2led","html_url":"https://github.com/neg2led","followers_url":"https://api.github.com/users/neg2led/followers","following_url":"https://api.github.com/users/neg2led/following{/other_user}","gists_url":"https://api.github.com/users/neg2led/gists{/gist_id}","starred_url":"https://api.github.com/users/neg2led/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neg2led/subscriptions","organizations_url":"https://api.github.com/users/neg2led/orgs","repos_url":"https://api.github.com/users/neg2led/repos","events_url":"https://api.github.com/users/neg2led/events{/privacy}","received_events_url":"https://api.github.com/users/neg2led/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-27T15:55:48Z","updated_at":"2016-11-28T09:19:18Z","closed_at":"2016-11-27T22:47:14Z","pull_request":{"url":"https://api.github.com/repos/filebot/scripts/pulls/40","html_url":"https://github.com/filebot/scripts/pull/40","diff_url":"https://github.com/filebot/scripts/pull/40.diff","patch_url":"https://github.com/filebot/scripts/pull/40.patch"},"body":"Currently report emails list every single processed file in their subject, which just seems kind of silly. Changing from getNotificationMessage to getNotificationTitle should change the subject from, for example, \"[FileBot] Lucifer.S02E08.1080p.WEB-DL.DD5.1.H.264-DRACULA | The.Grand.Tour.2016.S01E02.Operation.Desert.Stumble.1080p.AMZN.WEBRip.DD5.1.x264.Mooi1990\" to \"[FileBot] FileBot finished processing 2 files\" which is a much more reasonable (and useful) subject line, IMO."},"comment":{"url":"https://api.github.com/repos/filebot/scripts/issues/comments/263220573","html_url":"https://github.com/filebot/scripts/pull/40#issuecomment-263220573","issue_url":"https://api.github.com/repos/filebot/scripts/issues/40","id":263220573,"user":{"login":"neg2led","id":4232981,"avatar_url":"https://avatars.githubusercontent.com/u/4232981?v=3","gravatar_id":"","url":"https://api.github.com/users/neg2led","html_url":"https://github.com/neg2led","followers_url":"https://api.github.com/users/neg2led/followers","following_url":"https://api.github.com/users/neg2led/following{/other_user}","gists_url":"https://api.github.com/users/neg2led/gists{/gist_id}","starred_url":"https://api.github.com/users/neg2led/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neg2led/subscriptions","organizations_url":"https://api.github.com/users/neg2led/orgs","repos_url":"https://api.github.com/users/neg2led/repos","events_url":"https://api.github.com/users/neg2led/events{/privacy}","received_events_url":"https://api.github.com/users/neg2led/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T09:19:18Z","updated_at":"2016-11-28T09:19:18Z","body":"My problem is that I'm not using uT, and the downloading device (QNAP non-intel crap-NAS, it was cheap, don't judge me) doesn't have a function to trigger a command upon finishing a file. I could probably use fswatch or similar to trigger it, but getting an email per file also seems like overkill when I can just let cron run it every few hours and process whatever files are there. \r\n\r\nThen I'm left with a dozen filenames and a bit of a ridiculously long email subject, IMO. The getNotificationTitle swap would fix it for me, but I can understand why it wouldn't be something you'd want in one-run-per-file situations. I can make my own local copy of the script with this changed easily enough :)"}}
{"actor":{"display_login":"neg2led"}}