It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
phaolo: Uh, is it possible to make the script play an audio file, instead of a YT video?
My autoplay is disabled on the site (and I need that option).
Yeah, this would be really cool. Especially for me (youtube is blocked in China).
Post edited March 04, 2015 by Pardinuz
avatar
phaolo: Uh, is it possible to make the script play an audio file, instead of a YT video?
avatar
Pardinuz: Yeah, this would be really cool. Especially for me (youtube is blocked in China).
Would a simple "beep" be sufficient?
It is simple to add, but your co-workers may get annoyed, since the sound does not go through your headphones (except on some laptops).
avatar
phaolo: Uh, is it possible to make the script play an audio file, instead of a YT video?
My autoplay is disabled on the site (and I need that option).
avatar
Pardinuz: Yeah, this would be really cool. Especially for me (youtube is blocked in China).
Alright, I'm on it.

Edit: Let me know if this link works for you: http://soundbible.com/grab.php?id=1550&type=wav
Post edited March 04, 2015 by Magnitus
avatar
Pardinuz: Yeah, this would be really cool. Especially for me (youtube is blocked in China).
avatar
Magnitus: Alright, I'm on it.
Thank you! : )
avatar
Gede: Would a simple "beep" be sufficient?
It is simple to add, but your co-workers may get annoyed, since the sound does not go through your headphones (except on some laptops).
Yeah, that could work too. :)

avatar
Magnitus: Alright, I'm on it.
Excellent, thanks!
avatar
phaolo: Thank you! : )
avatar
Pardinuz: Excellent, thanks!
Done, you just have to set the following in the script: FILE_ALARM = True

Works on Linux. Would be wonderful if you could test it on Windows.
Post edited March 04, 2015 by Magnitus
avatar
Magnitus: Done, you just have to set the following in the script: FILE_ALARM = True

Works on Linux. Would be wonderful if you could test it on Windows.
That was fast! Thanks. :) I'll give it a try.
avatar
Magnitus: Done, you just have to set the following in the script: FILE_ALARM = True
Works on Linux. Would be wonderful if you could test it on Windows.
Uh, for me the script crashes after reading the patterns list.
(can I enable a log?)
avatar
Magnitus: Done, you just have to set the following in the script: FILE_ALARM = True
Works on Linux. Would be wonderful if you could test it on Windows.
avatar
phaolo: Uh, for me the script crashes after reading the patterns list.
(can I enable a log?)
Do you have a "patterns.txt" file of the following format?:

Title1
Title2,
Title3
Etc
avatar
Magnitus: Do you have a "patterns.txt" file of the following format?:
Title1
Title2,
Title3
Etc
With or without commas? I avoided them.
(anyway the various entries were shown in the script, so that probably worked)
Post edited March 04, 2015 by phaolo
avatar
phaolo: With or without commas?
(anyway the various entries were shown in the script, so that probably worked)
Nevermind, I noticed it. An unicode-incompatible operation was employed in a part of the code.

I fixed it. I'll deploy the fix.

Done.
Post edited March 04, 2015 by Magnitus
Beware that I think the script can't read apostrophes: when I put "director's" in the pattern.txt, it didn't notify me about a game with director's cut, but when I changed it to "director" it did.
avatar
Leroux: Beware that I think the script can't read apostrophes: when I put "director's" in the pattern.txt, it didn't notify me about a game with director's cut, but when I changed it to "director" it did.
I'll take a look. I'll escape special regex characters. However, it's weird that you experienced this error with ', because I don't think it is one of those characters.
avatar
Leroux: Beware that I think the script can't read apostrophes: when I put "director's" in the pattern.txt, it didn't notify me about a game with director's cut, but when I changed it to "director" it did.
avatar
Magnitus: I'll take a look. I'll escape special regex characters. However, it's weird that you experienced this error with ', because I don't think it is one of those characters.
I haven't got any apostrophes in my file, maybe it's a different error.
avatar
Magnitus: I'll take a look. I'll escape special regex characters. However, it's weird that you experienced this error with ', because I don't think it is one of those characters.
avatar
phaolo: I haven't got any apostrophes in my file, maybe it's a different error.
You still get the error after the latest fix?

Can you copy-paste the error?