Description: nextShows is a desktop applet for SuperKaramba that displays your favorite TV shows schedule.
HOW DOES IT WORK? 1) When the widget is running you can left-click on the column entitled "When?" to change the way of displaying past/remaining days. 2) When left-clicking on a show name/title, the episode description will open on your browser. 3) You can change various nextShows parameters by right-clicking on the widget and selecting "Configure Theme" -> "Configure..."
REQUIREMENTS: - KDE v3.5.x (if you use an older KDE release, make sure SuperKaramba is up to date) - Python v2.5 or later (previous versions WON'T work) - Qt v4.3.1 or later - PyQt v4.3.1 or later
This last version (2.0.3) works better on Debian ;-). Thanks, that's definitely a great application!
It actually didn't work at once. In libs/NextShowsConfig.py, I had to:
- comment out line 881 (QIcon() not defined).
- add "QtGui" as prefix of qApp.processEvents (orelse: unknown command)
Btw, Could you provide, in addition to the Gui, a simple command line version that would just perform a "write episode list" (just parsing the config file, using your formatEpisode and formatWhen tools and getting rid of the superkaramba libs). I want to get the info faster ;-)
I can do it if you want but you'll be faster than me at taking the minimum required functions.
Dammit you're right ! Let's hope it is fixed now (looks like I was very tired or in a hurry when I released v2.0.3 :).
About the CLI tool you're requesting for. I guess it should be easy to write such a tool. If that tool gets written chances are very low it will be included with the SKZ though (I don't think this belongs here) but I could put it somewhere in the SVN.
BTW I'm not really sure about what you would like it to display (and how). And I don't know if I could find time to write this.
Since we both are french I think we should get in touch (e-mail? Jabber? IRC?) and talk to each other in french (it will be easier at least for me :).
And if you have Python skills, maybe we could write this together ?
I've restarted superkaramba and the pc a couple of times to no avail. There are certainly as you say some issues, that 2 days of KDE experience wont cut.
I'll check by your plugin from time to time, you never know, you might just stumble upon some free time :D
ygg
Hi
New user of the gpl universe, just installed kubuntu 7.10, with
Python 2.5.1-1
Python-qt3 3.13.3-2
Python-qt4 4.3-2
Python-qt4-dbus 4.3-2
Qt 4.3.2
The nextshows (2.0.2) widget installed ok, but its not shown anywhere (desktop or superkaramba) (my other widgets seems ok)
I've havent had any luck in my attempts on getting your app running, however i think your widget sounds very promising.
Lastly; Any ideas if and when you'll be attempting to fix this and the above mentioned problems?
thanks,
ygg
The nextshows (2.0.2) widget installed ok, but its not shown anywhere
Did you try to close and re-open Superkaramba? Sometimes, for an unknown reason, the widget doesn't appear and seem like it is crashed (I never figured out when and how this happens).
Quote:
Any ideas if and when you'll be attempting to fix this and the above mentioned problems?
To be honest, I have no idea. I installed Kubuntu 7.10 under VirtualBox and I had the aforementioned issue. It looks like it is a Debian/Kubuntu related problem (it is working flawlessly with my current distro though).
I could probably code a workaround but I don't have that much time these days. I will try to fix this ASAP but I prefer to not promise anything.
Maybe I'm doing something wrong, but it's not displaying any of the TV shows I selected, and I know they're still actively being shown. 8*)
Selected Law & Order, L&O SVU, Scrubs, and Harvey Birdman Attorney at Law. Saved the list, and it refreshed and isn't displaying anything in the list.
Looking forward to using this widget. Thanks for any help!
I have same problem. When I push button "Save".
I have an error message:
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 8434c40. Receiver 'btnSave' (of type 'QPushButton') was created in thread 8229238", file kernel/qcoreapplication.cpp, line 269
Thanks for any help!
Not sure... Could it be possible this is linked to how Debian built PyQt or Qt ?
I'm using Qt 4.3.2, PyQt 4.3 and Python 2.5.1 and don't have any problem.
Some changes were made in the SVN to make nextShows' GUI look correcly with Qt and PyQt >4.3 but I'm not sure this will fix this particular issue. BTW, I don't have that much time these days to work on this applet, there are some things in the SVN that aren't finished yet but, I'm using that code everyday and it works (at least on my system :).
I enjoy this widget, and have just updated to version 2. One thing you might want to add is the ability to format the date. In the config it could be something like:
Date Format: _______________
using y, m, and d
valid examples yy-mm-dd, mm-dd-yy, etc.
I'm used to reading the date either as yy-mm-dd or mm-dd-yy, dd-mm-yy looks odd to me. Great work!
Hey !!!
In fact that's already possible :). But, I didn't added it to the GUI yet !
Just edit: ~/.superkaramba/nextShows/nextShows.conf and change this part:
[display]
date_format = %%y-%%m-%%d
Remember you have to put "%" twice. Such a feature is planned to be included in the GUI in a future release.
Thanks for your comment.
watching tons of shows, this is just what i needed, then i dont have to check tvrage on that daily bases ;D
question tho, on the
days_before=-1
trying to comment it away made it lose pretty much all the shows (showing shows 2 weeks ahead), setting value to 0 didnt help either.
any suggestions on how to get rid of past shows? currently taking up all but one spot :)
sry for my noobyness and thx again :)
That is pretty weird. Setting this value to 0 should be all you must do to get rid of past shows...
Is there some kind of way you can send me your nextShows.conf file ?
couldnt find an edit, but for future releases, could it be possible to add an option so you can use id's from other tv-sites, tvrage etc.
know alot of people that are ignoring tv.com after they took over tvtome and completely ruined it ;)
I took a quick look at tvrage (I didn't knew that website before your comment). While I think it should be possible to use this website to gather show infos instead of tv.com, the nextShows parser will need to be fully rewritten in order to use this website instead (also if one wants to use both sites).
As said in the text above, I don't plan to add new features or change the way this widgets works for now. But I plan to adapt it to the upcoming KDE4 once the latter is available or at least enough stable to start working on a new release.
Feel free to rewrite the parser to use tvrage if you wish. If your code is stable enough, I could include it and release a new version here.
Ratings & Comments
19 Comments
This last version (2.0.3) works better on Debian ;-). Thanks, that's definitely a great application! It actually didn't work at once. In libs/NextShowsConfig.py, I had to: - comment out line 881 (QIcon() not defined). - add "QtGui" as prefix of qApp.processEvents (orelse: unknown command) Btw, Could you provide, in addition to the Gui, a simple command line version that would just perform a "write episode list" (just parsing the config file, using your formatEpisode and formatWhen tools and getting rid of the superkaramba libs). I want to get the info faster ;-) I can do it if you want but you'll be faster than me at taking the minimum required functions.
Dammit you're right ! Let's hope it is fixed now (looks like I was very tired or in a hurry when I released v2.0.3 :). About the CLI tool you're requesting for. I guess it should be easy to write such a tool. If that tool gets written chances are very low it will be included with the SKZ though (I don't think this belongs here) but I could put it somewhere in the SVN. BTW I'm not really sure about what you would like it to display (and how). And I don't know if I could find time to write this. Since we both are french I think we should get in touch (e-mail? Jabber? IRC?) and talk to each other in french (it will be easier at least for me :). And if you have Python skills, maybe we could write this together ?
I've restarted superkaramba and the pc a couple of times to no avail. There are certainly as you say some issues, that 2 days of KDE experience wont cut. I'll check by your plugin from time to time, you never know, you might just stumble upon some free time :D ygg
Hi New user of the gpl universe, just installed kubuntu 7.10, with Python 2.5.1-1 Python-qt3 3.13.3-2 Python-qt4 4.3-2 Python-qt4-dbus 4.3-2 Qt 4.3.2 The nextshows (2.0.2) widget installed ok, but its not shown anywhere (desktop or superkaramba) (my other widgets seems ok) I've havent had any luck in my attempts on getting your app running, however i think your widget sounds very promising. Lastly; Any ideas if and when you'll be attempting to fix this and the above mentioned problems? thanks, ygg
Quote:The nextshows (2.0.2) widget installed ok, but its not shown anywhere
Did you try to close and re-open Superkaramba? Sometimes, for an unknown reason, the widget doesn't appear and seem like it is crashed (I never figured out when and how this happens).
Quote:Any ideas if and when you'll be attempting to fix this and the above mentioned problems?
To be honest, I have no idea. I installed Kubuntu 7.10 under VirtualBox and I had the aforementioned issue. It looks like it is a Debian/Kubuntu related problem (it is working flawlessly with my current distro though).
I could probably code a workaround but I don't have that much time these days. I will try to fix this ASAP but I prefer to not promise anything.
Maybe I'm doing something wrong, but it's not displaying any of the TV shows I selected, and I know they're still actively being shown. 8*) Selected Law & Order, L&O SVU, Scrubs, and Harvey Birdman Attorney at Law. Saved the list, and it refreshed and isn't displaying anything in the list. Looking forward to using this widget. Thanks for any help!
I sent you a private message. Just send me your configuration file to the e-mail address I gave in the message. Thanks.
I have same problem. When I push button "Save". I have an error message: ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 8434c40. Receiver 'btnSave' (of type 'QPushButton') was created in thread 8229238", file kernel/qcoreapplication.cpp, line 269 Thanks for any help!
Please, what are your: Python, PyQt and Qt versions ?
I have QT 4.3.1-2 ,Python 2.4.4-6 , PyQT 4.3-7 and my distribution is Debian sid.
Same issue here, basically same configuration... Is it linked to the PyQT 4.3 problem?
Not sure... Could it be possible this is linked to how Debian built PyQt or Qt ? I'm using Qt 4.3.2, PyQt 4.3 and Python 2.5.1 and don't have any problem. Some changes were made in the SVN to make nextShows' GUI look correcly with Qt and PyQt >4.3 but I'm not sure this will fix this particular issue. BTW, I don't have that much time these days to work on this applet, there are some things in the SVN that aren't finished yet but, I'm using that code everyday and it works (at least on my system :).
I enjoy this widget, and have just updated to version 2. One thing you might want to add is the ability to format the date. In the config it could be something like: Date Format: _______________ using y, m, and d valid examples yy-mm-dd, mm-dd-yy, etc. I'm used to reading the date either as yy-mm-dd or mm-dd-yy, dd-mm-yy looks odd to me. Great work!
Hey !!! In fact that's already possible :). But, I didn't added it to the GUI yet ! Just edit: ~/.superkaramba/nextShows/nextShows.conf and change this part: [display] date_format = %%y-%%m-%%d Remember you have to put "%" twice. Such a feature is planned to be included in the GUI in a future release. Thanks for your comment.
watching tons of shows, this is just what i needed, then i dont have to check tvrage on that daily bases ;D question tho, on the days_before=-1 trying to comment it away made it lose pretty much all the shows (showing shows 2 weeks ahead), setting value to 0 didnt help either. any suggestions on how to get rid of past shows? currently taking up all but one spot :) sry for my noobyness and thx again :)
That is pretty weird. Setting this value to 0 should be all you must do to get rid of past shows... Is there some kind of way you can send me your nextShows.conf file ?
it looks like it solved itself, even with -1 setting. looks alright anyways, i'll be back if it start messing with me again ;D
couldnt find an edit, but for future releases, could it be possible to add an option so you can use id's from other tv-sites, tvrage etc. know alot of people that are ignoring tv.com after they took over tvtome and completely ruined it ;)
I took a quick look at tvrage (I didn't knew that website before your comment). While I think it should be possible to use this website to gather show infos instead of tv.com, the nextShows parser will need to be fully rewritten in order to use this website instead (also if one wants to use both sites). As said in the text above, I don't plan to add new features or change the way this widgets works for now. But I plan to adapt it to the upcoming KDE4 once the latter is available or at least enough stable to start working on a new release. Feel free to rewrite the parser to use tvrage if you wish. If your code is stable enough, I could include it and release a new version here.