MyEpisodes Plasmoid

Plasma 4 Widgets

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

1
7.5
Description:

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
Last changelog:

8 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

4 years ago

Anyone got it working on plasma 5.2 (or plasma-next) ? It adds on the desktop but no credentials page. Only messasge i get is : Error loading applet... could not create python scriptengine... and since python scriptengine is part of kdebase-workspace it is not compatible with plasma5 packages. Any ideas?

Report

peterhoeg

8 years ago

Am running version 0.2 on KDE 4.4.4.

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

9 years ago

Hello,

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

9 years ago

Sorry, forgot to say:

opensuse 11.2
KDE 4.4.1

Report

gravy

9 years ago

Nice plasmoid! But would it be possible to use it without registration and more like ted (http://www.ted.nu/) but as a plasmoid? So you can just add your favorite shows and it will tell you when the next episode will air and the title.

Report

Paracelsus

9 years ago

Hi there,

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

C

mcharmas

9 years ago

Plasmoid crashes plasma only od KDE 4.3 (which is now used in Ubuntu/Suse) but it works under latest stable (4.4).
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

9 years ago

Hi there,

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

9 years ago

Hi there,

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

9 years ago

Hi there,

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

9 years ago

Hi there,

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

9 years ago

Hi there,

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--

9 years ago

hi, i'm using your plasmoid since some days and I like it, thank you for your work.

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

C

mcharmas

9 years ago

Thx for suggestion. Air time will be added in next version.

Report

D--

9 years ago

plasmoidviewer(4423)/plasma main: setting FormFactor to "planar"
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--

9 years ago

nevermind, the version installed via GHNF was 0.1, downloaded 0.2 and installing it manually solved the problem

Report

aorvay

9 years ago

my output

~$ plasmoidviewer 120555-MyEpisodes.plasmoid
plasmoidviewer(26338) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath: not found"
plasmoidviewer(26338) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath: not found"

Report

C

mcharmas

9 years ago

After installing run "plasmoidviewer myEpisodes" not "plasmoidviewer xxxx-MyEpisodes.plasmoid".

Report

lbl

9 years ago

plasmoidviewer(13045)/plasma main: setting FormFactor to "planar"
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

C

mcharmas

9 years ago

Thx. It is fixed now and should be working.

Report

Kwert

9 years ago

Ok it say some thing like : "python script engine cant creat a graphic element for MyEpisodes Client"

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

C

mcharmas

9 years ago

Do you have PyQT / PyKDE? Can you try running applet by "plasmoidviewer myEpisodes" and paste output? It would be easier to find this bug. I am using gentoo 64bit with KDE 4.4 and everything works for me...

Report

C

mcharmas

9 years ago

Do you have PyQT / PyKDE? Can you try running applet by "plasmoidviewer myEpisodes" and paste output? It would be easier to find this bug. I am using gentoo 64bit with KDE 4.4 and everything works for me...

Report

8 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

12345678910
10
product-maker zvonSully Aug 18 2014 8 great
product-maker LeifErikson May 29 2013 8 great
product-maker gamdoodyandgam Jun 03 2011 8 great
product-maker snowwie May 23 2011 8 great
product-maker thibaut28 May 20 2011 8 great
product-maker mavnaranjo May 07 2011 8 great
product-maker riyad Jan 03 2011 8 great
product-maker kem Dec 26 2010 8 great
product-maker cerez Dec 25 2010 8 great
product-maker deabru Dec 16 2010 8 great
product-maker Count:10 Rating: 6.90
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.3
updated Dec 16 2010
added Feb 21 2010
downloads today
0
page views today 1