Tellstick Pause Plugin (1 Viewer)

PussyWagon

Portal Pro
August 2, 2008
235
7
Re: Tellstick Pause Plugin - Forked

A big Thank You goes to MrMad for his development and assistance. :D
I have decided to take the excellent code written by MrMad and to try and add and expand it by myself.
Attached is my first attempt at adding stuff to his code.

- Version 0.0.1
1. Added an option to change the name of the plugin as it appears in MediaPortal menu. Now this doesn't work very well yet, you have a new option for that in the MediaPortal's plugin configuration menu, and this option is saved and loaded from Mediaportal's settings file, but I don't actually know how to read the settings file from the window plugin. Right now I changed the name to iControl (the reason for this is that Tellstick Pause doesn't fit in the menu of my StreamedMP plugin).
2. Instead of a list of items in the MediaPortal GUI, now we have images (see included screenshot). You have to put the images in the same folder as your current skin folder, the name of the image has to be identical to the name of your device in Telldus Center (ie. Standing Lamp) and the extension has to be jpg.

Installations instructions:
1. Copy TellstickPauseProcess.dll to your plugins\process folder.
2. Copy TellstickPauseWindow.dll to your plugins\windows folder.
3. Copy the xml file to your skin folder.
4. Copy jpg images to your skin folder with names identical to the device name in Telldus Center.

Sources are also attached, if someone wants to make corrections or help with this plugins' forked development.

To-Do list:
1. Control more than one device with the events with a delay of 0.5s between the devices.
2. Add options to the settings to load and change the receiver images.
3. Improve the GUI, support different resolutions.
4. When a device has dimming capabilities, replace list of % with some nice scroll bar.
5. Many many more...

WARNING:
1. This is extremely pre-alpha, untested version, use at your own risk!
2. The GUI was checked with a TV screen that has 800x600 resolution. Things will get distorted with different resolutions unless you play with the xml. I will fix that in later versions.

Nice to hear somebody is taking this GREAT plugin to be even better and adding some more features to make it even more powerful. :) Many thanks to you moryoav for doing this!! :D

Anyway, I have One opinion about your above new improvements. The new "image" feature.
These images should be in ".png" format and not .jpg . If you look in a skin media directory you can see there is ONLY .png used. Also, the .png makes it possible to have transparency I do not think this is possible through .jpg?
Another thing would be to have these images in the Skin/Media folder instead of the MediaPortal root folder. That makes no sense...

Well, this is just my opinion. You could either care, or put your middle finger in my face... :p Its your choice!

Yea and one more thing, perhaps it would be an idea to start a new thread "iControl" from now on? :)


Hope to see you manage to integrate the feature of having more than ONE device being controlled when Play/Stop/Pause! That would be awesome...

GOOD LUCK!

/PussyWagon
 

moryoav

Portal Pro
December 2, 2008
236
86
Home Country
Israel Israel
Re: Tellstick Pause Plugin - Forked

Nice to hear somebody is taking this GREAT plugin to be even better and adding some more features to make it even more powerful. :) Many thanks to you moryoav for doing this!! :D

Anyway, I have One opinion about your above new improvements. The new "image" feature.
These images should be in ".png" format and not .jpg . If you look in a skin media directory you can see there is ONLY .png used. Also, the .png makes it possible to have transparency I do not think this is possible through .jpg?
Another thing would be to have these images in the Skin/Media folder instead of the MediaPortal root folder. That makes no sense...

Well, this is just my opinion. You could either care, or put your middle finger in my face... :p Its your choice!

Yea and one more thing, perhaps it would be an idea to start a new thread "iControl" from now on? :)


Hope to see you manage to integrate the feature of having more than ONE device being controlled when Play/Stop/Pause! That would be awesome...

GOOD LUCK!

/PussyWagon

1. png instead of jpg - good idea, one of the next things I'll do is add an option in the configuration for the user to select whatever picture he wants, so this will not be an issue.
2. I will move all the pictures to the Skin/Media instead of Skin folder. also good point. Also will be controlled from the settings gui once that is done.
3. I have a problem with starting a new thread - I feel like I owe so much to MrMad that by opening a new thread I'm like "stealing" his work... Am I just being over sensitive? Perhaps MrMad could reply here and let us know where he stands...

Anyway, thanks PussyWagon for the comments and suggestions, greatly appreciated. I have little time, little knowledge and a lot of motivation, I hope it'll be enough... :)

:D
 

MrMad

Portal Pro
May 18, 2005
191
53
Göteborg
Home Country
Sweden Sweden
Feel free to do what you like with my code, and also starting a new thread. Just make sure you keep your source code open too.
A little "thank you" note somewhere is always nice of course ;)
 

neorules

Portal Member
August 27, 2008
32
0
Home Country
Sweden Sweden
I have an idea for a feature that would be good to have!

client / server so that you can have the tellstick on any computer you vil and
not necessarily the same as media portal
 

Users who are viewing this thread

Top Bottom