live: screnshot grande

Tutto quello che ha a che fare con i plugins.

Moderatori: ragno, tapino, alez, zulu, davidea

Rispondi
johnnyrun
Messaggi: 98
Iscritto il: 25 mar 2008, 09:03

live: screnshot grande

Messaggio da johnnyrun »

Ieri volevo uno screenshot di live più grande (quello che c'è nel remote).
Smanetta qui, smanetta là ci son riuscito.
Se qualcuno vuole la patch, basta fare un fischio.
Le immagini generate, sono cmq leggere, tipo 47KB.
Immagine
Ciao
Avatar utente
alez
Messaggi: 3074
Iscritto il: 09 mag 2007, 17:11

Re: live: screnshot grande

Messaggio da alez »

Postala pure qui usando i tag code oppure in vdr risorse ;)
Ciao alez
johnnyrun
Messaggi: 98
Iscritto il: 25 mar 2008, 09:03

Re: live: screnshot grande

Messaggio da johnnyrun »

allora.. la patch è qui:

Codice: Seleziona tutto

diff -urN live-0.2.0.orig/css/styles.css live-0.2.0/css/styles.css
--- live-0.2.0.orig/css/styles.css      2008-04-21 00:35:22.000000000 +0200
+++ live-0.2.0/css/styles.css   2009-09-17 01:24:13.000000000 +0200
@@ -957,16 +957,16 @@
 div.screenshot {
        background-image: url(img/tv.jpg);
        background-repeat: no-repeat;
-       height: 240px;
-       width: 320px;
+       height: 480px;
+       width: 640px;
        float: left;
-       padding: 20px 20px 98px 21px;
+       padding: 40px 40px 98px 43px;
        margin-right: 20px;
 }

 div.screenshot img {
-       width: 320px;
-       height: 240px;
+       width: 640px;
+       height: 480px;
 }

 /*
diff -urN live-0.2.0.orig/grab.cpp live-0.2.0/grab.cpp
--- live-0.2.0.orig/grab.cpp    2007-05-29 17:50:21.000000000 +0200
+++ live-0.2.0/grab.cpp 2009-09-17 01:00:35.000000000 +0200
@@ -13,7 +13,7 @@
 class GrabImageTask: public StickyTask
 {
 public:
-       explicit GrabImageTask( int quality = 80, int width = 320, int height = 240 )
+       explicit GrabImageTask( int quality = 80, int width = 640, int height = 480 )
                : m_firstTime( 0 )
                , m_lastTime( 0 )
                , m_quality( quality )
C'è anche il file tv.jpg in allegato (il riquadro della tv in dimensioni doppie) da piazzare in /video/plugins/live/img

saluti
Allegati
tv.jpg
tv.jpg (122.55 KiB) Visto 706 volte
Avatar utente
alez
Messaggi: 3074
Iscritto il: 09 mag 2007, 17:11

Re: live: screnshot grande

Messaggio da alez »

Grazie :D
Ciao alez
Rispondi