Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.








This post has been edited 9 times, last edit by "louis" (Nov 27th 2012, 2:46am)
Cooler Skin, auch wenn mir das Blau nicht gefaellt aber in xbox Gruen koennte ich mir das schon vorstellen![]()





|
|
Source code |
1 2 |
-l path, --logopath=path
Path to the logos (Default: <vdrconfdir>/plugins/skinnopacity/channellogos/)
|
|
|
Source code |
1 2 |
-l path, --logopath=path
Path to the logos (Default: <vdrconfdir>/plugins/skinnopacity/logos/)
|
|
|
Source code |
1 |
Nov 17 17:54:02 vdr3 kernel: vdr[23902] general protection ip:b2237427 sp:bfe44e 00 error:0 in libvdr-skinnopacity.so.1.7.31[b2226000+35000] |
wäre es möglich, die Schriftfarbe bei ausgewählten Items, z.B. in gelb zuändern?
Hellblau auf dunkelblau ist da vlt. nicht die beste Lösung.
Selbigs gilt auch für den Kanalnamen, wenn "OK" gedrückt wird.
Die Senderlogos werden bei mir nicht angezeigt, müssen die noch angepasst/umbenannt werden?
|
|
Source code |
1 2 3 4 5 6 7 |
In this logo pack all files are named only with lower case letters. nOpacity uses the channel name CONVERTED TO LOWER CASE LETTERS to search for aT appropriate channel logo. With this, approximately 90% of the channel logos should work immediately after placing the channel logos in the correct place. So if you have to change the name of a channel logo (may be by inserting a space or a hyphen) so that it fits to the channel name, only use lower case letters, and not the name of the channel with upper and lower letters as displayed inside VDR. |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
--- imageloader.c.orig 2012-11-17 18:05:25.000000000 +0100
+++ imageloader.c 2012-11-17 18:04:15.000000000 +0100
@@ -15,10 +15,12 @@ bool cImageLoader::LoadLogo(const char *
std::string logoLower = logo;
toLowerCase(logoLower);
cString Filename = cString::sprintf("%s%s.%s", *config.logoPath, logoLower.c_str(), *config.logoExtension);
+ esyslog("nopacity: trying to load logo: %s", *Filename);
buffer.read(*Filename);
if (height != 0 || width != 0) {
buffer.sample( Geometry(width, height));
}
+ esyslog("nopacity: %s sucessfully loaded", *Filename);
return true;
}
catch (...) {
|
Wenn ich einen script aus commands.conf ausführe tritt folgendes auf:
![]()
Source code
1 Nov 17 17:54:02 vdr3 kernel: vdr[23902] general protection ip:b2237427 sp:bfe44e 00 error:0 in libvdr-skinnopacity.so.1.7.31[b2226000+35000]
This post has been edited 1 times, last edit by "louis" (Nov 17th 2012, 6:21pm)
Bitte lege die Icons, EPG-Bilder etc. noch in die entsprechenden Verzeichnisse ab.
Icons und Kanallogos: ResourceDirectory
EPG-Bilder: CacheDirectory oder auch ResourceDirectory


|
|
Source code |
1 2 3 4 5 6 7 8 9 |
FontFix = Courier:Bold FontFixSize = 36 FontFixSizeP = 0.030000 FontOsd = VDRSymbols Sans:Bold FontOsdSize = 37 FontOsdSizeP = 0.031000 FontSml = Sans Serif FontSmlSize = 34 FontSmlSizeP = 0.028000 |
Wenn es nicht geht, wende mal diesen Patch gegen die Datei imageloader.c an:
![]()
Source code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15--- imageloader.c.orig 2012-11-17 18:05:25.000000000 +0100 +++ imageloader.c 2012-11-17 18:04:15.000000000 +0100 @@ -15,10 +15,12 @@ bool cImageLoader::LoadLogo(const char * std::string logoLower = logo; toLowerCase(logoLower); cString Filename = cString::sprintf("%s%s.%s", *config.logoPath, logoLower.c_str(), *config.logoExtension); + esyslog("nopacity: trying to load logo: %s", *Filename); buffer.read(*Filename); if (height != 0 || width != 0) { buffer.sample( Geometry(width, height)); } + esyslog("nopacity: %s sucessfully loaded", *Filename); return true; } catch (...) {
Dann solltest du sehen was schiefläuft...
Wenn ich einen script aus commands.conf ausführe tritt folgendes auf:
![]()
Source code
1 Nov 17 17:54:02 vdr3 kernel: vdr[23902] general protection ip:b2237427 sp:bfe44e 00 error:0 in libvdr-skinnopacity.so.1.7.31[b2226000+35000]
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
In file included from nopacity.c:128:0,
from skinnopacity.c:11:
displaychannel.c: In member function ‘virtual void cNopacityDisplayChannel::Action()’:
displaychannel.c:523:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from nopacity.c:132:0,
from skinnopacity.c:11:
displaymenu.c: In member function ‘virtual void cNopacityDisplayMenu::Action()’:
displaymenu.c:431:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from nopacity.c:133:0,
from skinnopacity.c:11:
displayreplay.c: In member function ‘virtual void cNopacityDisplayReplay::Action()’:
displayreplay.c:306:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from nopacity.c:134:0,
from skinnopacity.c:11:
displayvolume.c: In member function ‘virtual void cNopacityDisplayVolume::Action()’:
displayvolume.c:92:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from nopacity.c:135:0,
from skinnopacity.c:11:
displaytracks.c: In member function ‘virtual void cNopacityDisplayTracks::Action()’:
displaytracks.c:181:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from nopacity.c:136:0,
from skinnopacity.c:11:
displaymessage.c: In member function ‘virtual void cNopacityDisplayMessage::Action()’:
displaymessage.c:67:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from nopacity.c:136:0,
from skinnopacity.c:11:
displaymessage.c: In member function ‘virtual void cNopacityDisplayMessage::SetMessage(eMessageType, const char*)’:
displaymessage.c:42:81: warning: ‘col’ may be used uninitialized in this function [-Wmaybe-uninitialized]
In file included from nopacity.c:128:0,
from skinnopacity.c:11:
displaychannel.c: In member function ‘tColor cNopacityDisplayChannel::DrawProgressbarBackground(int, int, int, int)’:
displaychannel.c:457:87: warning: ‘clr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
In file included from nopacity.c:131:0,
from skinnopacity.c:11:
displaymenuview.c: In member function ‘void cNopacityDisplayMenuView::DrawMessage(eMessageType, const char*)’:
displaymenuview.c:504:91: warning: ‘col’ may be used uninitialized in this function [-Wmaybe-uninitialized]
In file included from nopacity.c:132:0,
from skinnopacity.c:11:
displaymenu.c: In member function ‘virtual void cNopacityDisplayMenu::SetItem(const char*, int, bool, bool)’:
displaymenu.c:292:110: warning: ‘menuIconHeight’ may be used uninitialized in this function [-Wmaybe-uninitialized]
displaymenu.c:292:110: warning: ‘menuIconWidth’ may be used uninitialized in this function [-Wmaybe-uninitialized]
|
Genügt es nicht, die Verzeichnisse im PLugin einfach entsprechend zu setzen?

Ein paar Warnings, die man evtl. für die nächste Version fixen könnte: ...
|
|
Source code |
1 2 3 4 5 6 7 8 |
vdr01 skinnopacity-0.0.1 # make clean all g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -march=native -D__STDC_CONSTANT_MACROS -fPIC -ggdb -O0 -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_ALTERNATECHANNEL -DUSE_CHANNELBIND -DUSE_CUTTERLIMIT -DUSE_DDEPGENTRY -DUSE_DVLVIDPREFER -DUSE_GRAPHTFT -DUSE_HARDLINKCUTTER -DUSE_JUMPINGSECONDS -DUSE_JUMPPLAY -DUSE_LIRCSETTINGS -DUSE_LIEMIKUUTIO -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NALUDUMP -DUSE_PINPLUGIN -DUSE_PLUGINMISSING -DUSE_ROTOR -DUSE_TIMERINFO -DUSE_TTXTSUBS -DUSE_VOLCTRL -DUSE_WAREAGLEICON -DUSE_YAEPG -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"skinnopacity"' -I/usr/local/src/VDR/include -I/usr/include/ImageMagick skinnopacity.c g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -march=native -D__STDC_CONSTANT_MACROS -fPIC -ggdb -O0 -g -ggdb -O0 -shared skinnopacity.o -lMagick++ -o libvdr-skinnopacity.so xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-skinnopacity --package-version=0.0.1 --msgid-bugs-address='<see README>' -o po/skinnopacity.pot setup.c menudetailview.c displayvolume.c helpers.c config.c displayreplay.c displaymenu.c menuitem.c displaychannel.c nopacity.c displaymenuview.c skinnopacity.c imageloader.c displaymessage.c displaytracks.c msgmerge -U --no-wrap --no-location --backup=none -q po/de_DE.po po/skinnopacity.pot msgfmt -c -o po/de_DE.mo po/de_DE.po cp po/de_DE.mo /usr/local/src/VDR/locale/de_DE/LC_MESSAGES/vdr-skinnopacity.mo vdr01 skinnopacity-0.0.1 # |

This post has been edited 1 times, last edit by "seahawk1986" (Nov 18th 2012, 10:46am)