
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Simple Plasmoid displaying information about today's TV shows using MyEpisodes.com.
This is my first plasmoid and all pieces of advice and contributions are very much welcome.
Plasmoid lets you define your own search engine combining URL with {show} {title} {season} {episode} marks in settings menu. Engines are available in context menu of chosen episode.
Now plasmoid should not hang desktop while getting episodes. Added optional refresh button, automatic updates and last update information.
In next version I am planning to provide translations. I am still waiting for suggestions.
Installing
plasmapkg -i MyEpisodes.plasmoid
Uninstalling
plasmapkg -r myEpisodes
10 years ago
27.02.2010 - v0.15 - fixed wrong import bug
1.03.2010 - v0.2 - added search engines and tabs for (yesterday, tomorrow and today feeds), bugfixes
16.12.2010 - v0.3 - bugfixes, getting information does not hang desktop anymore, automatic updates, added optional refresh button and last update information label
10 years ago
27.02.2010 - v0.15 - fixed wrong import bug
1.03.2010 - v0.2 - added search engines and tabs for (yesterday, tomorrow and today feeds), bugfixes
16.12.2010 - v0.3 - bugfixes, getting information does not hang desktop anymore, automatic updates, added optional refresh button and last update information label
kosmasl
6 years ago
Report
peterhoeg
10 years ago
It would be great to be able to configure an auto-refresh interval or maybe have it update the current day every now and then.
If for once the computer is left running for days, it will continue showing "Today" which is a few days in the past.
Secondly, it would be great if it actually showed a last refresh date.
Report
greenman
10 years ago
great plasmoid, very useful. I was looking for something like that for a long time.
Today I discovered a bug. When myepisodes.com is down (like today) it will not let plasma initiate. By unconfiguring it plasma starts normally, but trying to configure it again, will freeze plasma again, probably because it tries to connect but it is not possible.
Report
greenman
10 years ago
opensuse 11.2
KDE 4.4.1
Report
gravy
10 years ago
Report
Paracelsus
10 years ago
I've noted this plasmoid also seems to crash plasma-desktop in Unbuntu Karmic, x86, 2.6.31-20-generic, KDE 4.3.2.
It installed and ran fine, however on subsequent reboot it prevent plasma-desktop from starting. Manually starting plasma does not work either. I had to actually remove the plasmoid to allow plasma-desktop to start.
Seems very similar to the issue I noted on Suse 11.2 posted previously.
Thank you,
Pete
Report
mcharmas
10 years ago
I will try to find this bug and create update in a few days. Thanks for your opinion.
It is great to develop something when you know that somebody finds it useful:]
Report
Paracelsus
10 years ago
I love this Widget, its a great idea. Unfortunately I am getting a seg fault running it with plasmoidviewer (see below)
Suse 11.2 / KDE 4.3.1
Linux Callandor 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 i686 i686 i386 GNU/Linux
I downloaded the latest and upgraded to it with plasmapkg, but the results are the same. When run outside plasmoidviewer it crashes the plasma desktop requiring a restart.
(I am also running it on a Kubuntu 9.10 system and not troubles there whatsoever.)
Note that at first the plasmoid shows up on desktop, the crash occurs after you configure it and hit apply, that's when it seg faults.
If I can provide any further information to help to debug just let me know, I'd love to have this work on my home workstation.
Cheers,
Pete
plasmoidviewer log (last message sequence repeats several hundred times):
<snip>
index 2
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 1
QGraphicsGridLayout::itemAt: invalid index 2
Segmentation fault
Report
Paracelsus
10 years ago
I love this Widget, its a great idea. Unfortunately I am getting a seg fault running it with plasmoidviewer (see below)
Suse 11.2 / KDE 4.3.1
Linux Callandor 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 i686 i686 i386 GNU/Linux
I downloaded the latest and upgraded to it with plasmapkg, but the results are the same. When run outside plasmoidviewer it crashes the plasma desktop requiring a restart.
(I am also running it on a Kubuntu 9.10 system and not troubles there whatsoever.)
Note that at first the plasmoid shows up on desktop, the crash occurs after you configure it and hit apply, that's when it seg faults.
If I can provide any further information to help to debug just let me know, I'd love to have this work on my home workstation.
Cheers,
Pete
plasmoidviewer log (last message sequence repeats several hundred times):
<snip>
index 2
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 1
QGraphicsGridLayout::itemAt: invalid index 2
Segmentation fault
Report
Paracelsus
10 years ago
I love this Widget, its a great idea. Unfortunately I am getting a seg fault running it with plasmoidviewer (see below)
Suse 11.2 / KDE 4.3.1
Linux Callandor 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 i686 i686 i386 GNU/Linux
I downloaded the latest and upgraded to it with plasmapkg, but the results are the same. When run outside plasmoidviewer it crashes the plasma desktop requiring a restart.
(I am also running it on a Kubuntu 9.10 system and not troubles there whatsoever.)
Note that at first the plasmoid shows up on desktop, the crash occurs after you configure it and hit apply, that's when it seg faults.
If I can provide any further information to help to debug just let me know, I'd love to have this work on my home workstation.
Cheers,
Pete
plasmoidviewer log (last message sequence repeats several hundred times):
<snip>
index 2
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 1
QGraphicsGridLayout::itemAt: invalid index 2
Segmentation fault
Report
Paracelsus
10 years ago
I love this Widget, its a great idea. Unfortunately I am getting a seg fault running it with plasmoidviewer (see below)
Suse 11.2 / KDE 4.3.1
Linux Callandor 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 i686 i686 i386 GNU/Linux
I downloaded the latest and upgraded to it with plasmapkg, but the results are the same. When run outside plasmoidviewer it crashes the plasma desktop requiring a restart.
(I am also running it on a Kubuntu 9.10 system and not troubles there whatsoever.)
Note that at first the plasmoid shows up on desktop, the crash occurs after you configure it and hit apply, that's when it seg faults.
If I can provide any further information to help to debug just let me know, I'd love to have this work on my home workstation.
Cheers,
Pete
plasmoidviewer log (last message sequence repeats several hundred times):
<snip>
index 2
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 1
QGraphicsGridLayout::itemAt: invalid index 2
Segmentation fault
Report
Paracelsus
10 years ago
I love this Widget, its a great idea. Unfortunately I am getting a seg fault running it with plasmoidviewer (see below)
Suse 11.2 / KDE 4.3.1
Linux Callandor 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 i686 i686 i386 GNU/Linux
I downloaded the latest and upgraded to it with plasmapkg, but the results are the same. When run outside plasmoidviewer it crashes the plasma desktop requiring a restart.
(I am also running it on a Kubuntu 9.10 system and not troubles there whatsoever.)
Note that at first the plasmoid shows up on desktop, the crash occurs after you configure it and hit apply, that's when it seg faults.
If I can provide any further information to help to debug just let me know, I'd love to have this work on my home workstation.
Cheers,
Pete
plasmoidviewer log (last message sequence repeats several hundred times):
<snip>
index 2
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 2
QGraphicsGridLayout::itemAt: invalid index 1
QGraphicsGridLayout::itemAt: invalid index 2
Segmentation fault
Report
D--
10 years ago
As a feature suggestion/request, I think it may be useful to add the air time of each episode as shown into your "episodes list" page on the website, maybe just after the air date or wherever you think is more appropriate.
cheers :)
Report
mcharmas
10 years ago
Report
D--
10 years ago
plasmoidviewer(4423)/plasma main: setting Location to "floating"
plasmoidviewer(4423)/plasma main: setting containment to "null"
plasmoidviewer(4423)/plasma main: setting auth policy
plasmoidviewer(4423)/plasma main: just load applet
plasmoidviewer(4423)/plasma FullView::addApplet: adding applet "myEpisodes" in "null"
plasmoidviewer(4423)/libplasma Plasma::CoronaPrivate::addContainment: loading of containment "null" failed.
plasmoidviewer(4423)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-admin/ksycoca4"
plasmoidviewer(4423)/libplasma Plasma::AppletPrivate::init: Check your constructor! You probably want to be passing in a Service::Ptr or a QVariantList with a valid storageid as arg[0].
plasmoidviewer(4423)/libplasma Plasma::Applet::load: we have a script using the "python" API
plasmoidviewer(4423)/python (plugin) KPythonPluginFactory::KPythonPluginFactory: KPythonPluginFactory::KPythonPluginFactory()
plasmoidviewer(4423)/python (plugin) KPythonPluginFactory::initialize: Initializing Python interpreter.
plasmoidviewer(4423)/python (plugin) KPythonPluginFactory::initialize: Succesfully initialized Python interpreter.
plasmoidviewer(4423)/python (plugin) KPythonPluginFactory::create: KPythonPluginFactory::create iface: Plasma::AppletScript
plasmoidviewer(4423)/python (plugin) KPythonPluginFactory::create: keyword to be used for finding the plugin code: "plasma_scriptengine_python/pyappletscript.py"
plasmoidviewer(4423)/python (plugin) KPythonPluginFactory::create: Path to plugin code is: "/usr/share/apps/plasma_scriptengine_python/pyappletscript.py"
plasmoidviewer(4423)/python (plugin) KPythonPluginFactory::create: Returning result qobject
plasmoidviewer(4423)/libplasma Plasma::Package::filePath: "/home/admin/.kde4/share/apps/plasma/plasmoids/myEpisodes/contents/config/default-configrc" does not exist
plasmoidviewer(4423)/libplasma Plasma::AppletPrivate::mainConfigGroup: copying default config: ""
plasmoidviewer(4423)/libplasma Plasma::Package::filePath: "/home/admin/.kde4/share/apps/plasma/plasmoids/myEpisodes/contents/config//default-configrc" does not exist
plasmoidviewer(4423)/libplasma Plasma::AppletPrivate::setupScriptSupport: setting up script support, package is in "/home/admin/.kde4/share/apps/plasma/plasmoids/myEpisodes/" which is a "Plasmoid" package , main script is "/home/admin/.kde4/share/apps/plasma/plasmoids/myEpisodes/contents/code/main.py"
plasmoidviewer(4423)/libplasma Plasma::Package::filePath: "/home/admin/.kde4/share/apps/plasma/plasmoids/myEpisodes/contents/locale" does not exist
plasmoidviewer(4423)/libplasma Plasma::Package::filePath: "/home/admin/.kde4/share/apps/plasma/plasmoids/myEpisodes/contents/config/main.xml" does not exist
plasmoidviewer(4423)/libplasma Plasma::Package::filePath: "/home/admin/.kde4/share/apps/plasma/plasmoids/myEpisodes/contents/ui/config.ui" does not exist
Traceback (most recent call last):
File "/usr/share/apps/plasma_scriptengine_python/pyappletscript.py", line 59, in init
self.module = __import__(self.pluginName+'.'+relpath)
File "/usr/share/apps/plasma_scriptengine_python/plasma_importer.py", line 107, in load_module
exec code in mod.__dict__
File "/home/admin/.kde4/share/apps/plasma/plasmoids/myEpisodes/contents/code/main.py", line 26, in <module>
from hgext.mq import refresh
ImportError: No module named hgext.mq
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
Report
D--
10 years ago
Report
aorvay
10 years ago
~$ plasmoidviewer 120555-MyEpisodes.plasmoid
plasmoidviewer(26338) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath: not found"
plasmoidviewer(26338) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath: not found"
Report
mcharmas
10 years ago
Report
lbl
10 years ago
plasmoidviewer(13045)/plasma main: setting Location to "floating"
plasmoidviewer(13045)/plasma main: setting containment to "null"
plasmoidviewer(13045)/plasma main: setting auth policy
plasmoidviewer(13045)/plasma main: just load applet
plasmoidviewer(13045)/plasma FullView::addApplet: adding applet "myEpisodes" in "null"
plasmoidviewer(13045)/libplasma Plasma::CoronaPrivate::addContainment: loading of containment "null" failed.
plasmoidviewer(13045)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-lordbluelight/ksycoca4"
plasmoidviewer(13045)/libplasma Plasma::AppletPrivate::init: Check your constructor! You probably want to be passing in a Service::Ptr or a QVariantList with a valid storageid as arg[0].
plasmoidviewer(13045)/libplasma Plasma::Applet::load: we have a script using the "python" API
plasmoidviewer(13045)/python (plugin) KPythonPluginFactory::KPythonPluginFactory: KPythonPluginFactory::KPythonPluginFactory()
plasmoidviewer(13045)/python (plugin) KPythonPluginFactory::initialize: Initializing Python interpreter.
plasmoidviewer(13045)/python (plugin) KPythonPluginFactory::initialize: Succesfully initialized Python interpreter.
plasmoidviewer(13045)/python (plugin) KPythonPluginFactory::create: KPythonPluginFactory::create iface: Plasma::AppletScript
plasmoidviewer(13045)/python (plugin) KPythonPluginFactory::create: keyword to be used for finding the plugin code: "plasma_scriptengine_python/pyappletscript.py"
plasmoidviewer(13045)/python (plugin) KPythonPluginFactory::create: Path to plugin code is: "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py"
plasmoidviewer(13045)/python (plugin) KPythonPluginFactory::create: Returning result qobject
plasmoidviewer(13045)/libplasma Plasma::AppletPrivate::setupScriptSupport: setting up script support, package is in "/home/lordbluelight/.kde/share/apps/plasma/plasmoids/myEpisodes/" which is a "Plasmoid" package , main script is "/home/lordbluelight/.kde/share/apps/plasma/plasmoids/myEpisodes/contents/code/main.py"
plasmoidviewer(13045)/libplasma Plasma::Package::filePath: "/home/lordbluelight/.kde/share/apps/plasma/plasmoids/myEpisodes/contents/locale" does not exist
plasmoidviewer(13045)/libplasma Plasma::Package::filePath: "/home/lordbluelight/.kde/share/apps/plasma/plasmoids/myEpisodes/contents/config/main.xml" does not exist
plasmoidviewer(13045)/libplasma Plasma::Package::filePath: "/home/lordbluelight/.kde/share/apps/plasma/plasmoids/myEpisodes/contents/ui/config.ui" does not exist
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 59, in init
self.module = __import__(self.pluginName+'.'+relpath)
File "/usr/share/kde4/apps/plasma_scriptengine_python/plasma_importer.py", line 107, in load_module
exec code in mod.__dict__
File "/home/lordbluelight/.kde/share/apps/plasma/plasmoids/myEpisodes/contents/code/main.py", line 26, in <module>
from hgext.mq import refresh
ImportError: No module named hgext.mq
plasmoidviewer(13045)/python (plugin) KPythonPluginFactory::~KPythonPluginFactory: KPythonPluginFactory::~KPythonPluginFactory()
Report
mcharmas
10 years ago
Report
Kwert
11 years ago
The real message is on spanish : " No se ha podido crear un motor de scripts python para el elemento grà fico MyEpisodes Client."
Mandriva 2010.0 64bit with KDE 4.4...
Report
mcharmas
11 years ago
Report
mcharmas
11 years ago
Report