2015-01-13, 19:04
First of all, Hi to everybody
I'm developing an addon to use on raspberry pi version of Kodi.
I have posted the source on https://github.com/JonaFSebastian/WakeOnTweet.
The goal of this addon is to wake a LAN connected device WOL capable posting a tweet.
I take part of the code from other addon. At the moment it works.
The only problem now is that am still trying to find a good method to skip all tweet up to the moment when the addon is started. Now I use an "old text" comparison that in some cases does not work well (For example after the first wake tweet the following are ignored if a different text tweet is not twitted).
I know that using the tweeter api library the script can be written in a more easy way. but I prefer to use requests library so that no token authentication is needed and so no secret key is in python source.
If someone know a regular espression to take tweet id or date time i can try to skip ald tweets and find repeated wake tweets.
Thanks to all for your attention.
I'm developing an addon to use on raspberry pi version of Kodi.
I have posted the source on https://github.com/JonaFSebastian/WakeOnTweet.
The goal of this addon is to wake a LAN connected device WOL capable posting a tweet.
I take part of the code from other addon. At the moment it works.
The only problem now is that am still trying to find a good method to skip all tweet up to the moment when the addon is started. Now I use an "old text" comparison that in some cases does not work well (For example after the first wake tweet the following are ignored if a different text tweet is not twitted).
I know that using the tweeter api library the script can be written in a more easy way. but I prefer to use requests library so that no token authentication is needed and so no secret key is in python source.
If someone know a regular espression to take tweet id or date time i can try to skip ald tweets and find repeated wake tweets.
Thanks to all for your attention.