venerdì 4 marzo 2011

LayoutTools 2011 on Maya Subscription Advantage Pack 2011

If you install this piece of software, you could notice that LayoutTools 2011 (formerly LevelTools) Documentation won't work. To fix the problem we have to open LT_generalProc.mel, search for global proc LT_help() and replace this string

"/maya/2011/LT_docs/LayoutTools.htm"

with

"/maya/2011.5/LT_docs/LayoutTools.htm"

Best regards.


lunedì 21 febbraio 2011

New tutorial to start as an JDownloader Developer

JDownloader.org published a new tutorial to start as an JDownloader Developer. Very cool. I'd like to add a very simple feature: an audio alarm when captcha popup appears.


Best regards.

mercoledì 9 febbraio 2011

JSubs - Download automatico di sottotitoli da Subsfactory

Oltre che da Itasa, JSubs supporta ora il download automatico anche da Subsfactory. Purtroppo Subsfactory cataloga i sottotitoli in modi sempre diversi e il programma può fallire  la ricerca. Comunque questa opzione è molto comoda perché può succedere che un sito sia più veloce di un altro nel rilascio dei sottotitoli o che alcune serie siano supportate da uno solo di essi. Nella finestra delle Impostazioni è possibile scegliere la modalità di scaricamento: se si utilizzano entrambi i siti, JSubs cercherà i sottotitoli prima su Itasa e poi su Subsfactory.


Il programma permette ora di salvare un filtro per ogni serie TV. Cosa significa concretamente? Un esempio pratico: le puntate della stagione corrente della serie V vengono rilasciate con titolo del tipo V.2009.S02E04...avi. Analizzando il titolo, JSubs crede che la serie si chiami V 2009, mentre su Itasa e Subsfactory è catalogata semplicemente come V. Impostando il filtro per questa serie, si dice al programma di cercare la serie V e non V 2009.




Visto che il programma supporta ora entrambi i siti, ho aggiornato tutto di conseguenza: per esempio, l'RSS viewer scarica i feed da entrambi i siti e permette di scaricare i sottotitoli anche dal browser. L'interfaccia è rimasta simile, così come il comportamento di JSubsCMDL.exe, la versione da riga di comando utilizzata per il menù contestuale o programmi come uTorrent, che pure supporta entrambi i siti.

Un paio di note: JSubs è un programma JAVA, gli exe contenuti contenuti nel pacchetto sono Java Executable Wrappers, ricavati dai file jar. Sono più confortevoli per chi usa Windows e più facilmente utilizzabili in alcune situazioni.
Subsfactory non necessita di un login per scaricare i sottitoli quindi è molto più veloce. 
Nel pacchetto è incluso il codice sorgente (non sgrezzato a dire il vero, ma il tempo è quello che è), l'altra volta m'ero dimenticato di metterlo. Il programma è sempre in versione beta e rilasciato sotto GPL
A meno di grossi errori o di radicali cambiamenti dei siti, rimarrà così per un po'. Il prossimo aggiornamento riguarderà le subroutine per scaricare i sottotitoli in modo corretto da subsfactory ma non ho idea di quando potrò farlo.


Se avete problemi scrivetemi a bolli dot stefano at gmail dot com

Chiudo questo argomento con tutti i link degli articoli sul programma:

Saluti

venerdì 4 febbraio 2011

CGPersia Toolbar v0.1.1

Version 0.1.1 was approved by Mozilla. This update will be delivered to users automatically and will be compatible with Firefox 4.0.*.


Changelog:
  • Fixed small bug with escaping certain characters in dynamic buttons' menuitems.
  • Removed 'Hottest threads'
  • Added button for the blog
  • Added the possibility to enable/disable each dynamic button  separately


Note: I added a button for Latest CGpeers Torrents but server seems to me to be not so responsive (sometimes the list doesn't appear loading the homepage) and, in any case, I have a doubt about this feature, so I removed it for now.

More to come:
CGBookmarks
New search engine

Best regards

mercoledì 2 febbraio 2011

bttv and fglrx

After installed the Linux display driver for an ATI Radeon HD 3450 on Ubuntu Lucid Lynx, bttv stopped to work properly. As said in a previous post, unloading and reloading bttv is a temporary fix that works. It makes me think that something wrong happens when modules are loaded. So I decided to blacklist bttv and load it at the end of each multiuser runlevel through rc.local. Using rc.local requires us to place the right command before the exit status.  I used this command:

/sbin/modprobe bttv card=1 tuner=0 radio=0 pll=0  gbuffers=4 gpiomask=0x23000f audiomux=0x230002,0x230002,0x230000,0x230000

at the top of the file. After that, bttv works fine but it's not a permanent solution.
As a matter of fact, an older kern.log lists this error (boot time):

(bttv0) irq 17: nobody cared (try booting with the "irqpoll" option)
...
(bttv_irq+0x0/0x4a0 [bttv])
 Disabling IRQ #17

Loading bttv at the end of each multiuser runlevel doesn't fix the problem forever but just hides it from me.

 stefano@ARAGORN:~$ dmesg | grep bttv
[      27.447360] bttv: driver version 0.9.18 loaded
...
[     27.448437] IRQ 17/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs

I suspect that a different pci slot for my tv card would solve the problem. We'll see...

Best regards

venerdì 28 gennaio 2011

ATI Radeon HD 3450 & Ubuntu Lucid Lynx 10.04

Driver radeon: I'm experiencing a lot of problems with this cheap card

VGA compatible controller: ATI Technologies Inc RV620 LE AGP [Radeon HD 3450]

using the driver radeon on Ubuntu 10.04: inability to use Compiz, slow flash videos, ridicolous performances in general. 
The main cause: KMS.
"Kernel mode-setting (KMS) shifts responsibility for selecting and setting up the graphics mode from X.org to the kernel. When X.org is started, it then detects and uses the mode without any further mode changes. This promises to make booting faster, more graphical, and less flickery."

Solution (for me):
  1. Open /etc/default/grub in a text editor
  2. Replace

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

    with

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.modeset=1"

  3. Update grub2: sudo update-grub
  4. Reboot
Note 1: Pay attention to grub2: in my humble opinion it's the worst software I have ever seen on Ubuntu.

Note 2: Not tested yet but the following fix should work fine:

echo options radeon modeset=1 > /etc/modprobe.d/radeon-kms.conf

If so,  don't modify /etc/default/grub.

Driver fglrx:  this fantastic installation guide explains all we need to know about the driver fglrx. I recommend to install the driver manually.

Note: if we installed the driver and, after the reboot, Xserver returns an error like this:

(EE) Can't load FireGL DRM library (libfglrxdrm.so)
(EE) fglrx: Failed to load module "fglrxdrm" 
(module does not exist, 0)
(EE) fglrx(0): Failed to load DRM library
(EE) fglrx(0): Preint failed
(EE) Screen(s) found, but none have a usable configuration.

probably update-alternatives has not created symbolic links to the files in the fglrx directory because the very related gl_conf entry has been set to manual. we have to remove the driver, and change the gl_conf into automatic mode before a new installation with this command:

sudo update-alternatives --auto gl_conf

another lecture of interest about this argument here.

AFAIK, the unique issue for me with this driver regards the bttv driver: if I run tvtime, bttv returns a bunch of these messages:

bttv0: timeout: drop=29 irq=46/104431, risc=3261a4d4,
bits: VSYNC HSYNC OFLOW RISCI

Unloading and reloading bttv is a temporary fix that works for now.

Best regards.

giovedì 27 gennaio 2011

Google Toolbar - EZRSS rss feed for EZTV

I wrote a simple push button for EZRSS that you can add to the Google Toolbar. When clicked on, the button can search for the text the user has typed into the toolbar search box and show the rss feed with a dropdown menu. You can use it to have your bittorrent client download your favourite shows from eztv as they get released.

Best regards.

martedì 25 gennaio 2011

Cool way to install Maya Bonus Tools for Maya 2011 Subscription Advantage Pack

Treige has suggested a cool way to install Maya Bonus Tools for Maya 2011 Subscription Advantage Pack.
By the way,  if we have installed bonus tools manually, adding paths to the env variables MAYA_PLUG_IN_PATH and MAYA_SCRIPT_PATH, we could notice that the help item doesn't work. In this case we have to open

C:\Program Files\Autodesk\MayaBonusTools2011\scripts\bonusToolsMenu

and replace the line:

-c "bonusToolsHelp \"docs/bonusTools.html\""

with

-c "bonusToolsHelp \"/docs/bonusTools.html\""

This is the sign that a manual install doesn't work fine.

Best regards.

sabato 22 gennaio 2011

Setting up Animal Logic MayaMan to work with Maya 2011 on Windows

MayaMan is a plug-in which allows Maya users to render scenes with Renderman compliant renderers. The latest release for Windows x64 (3.0.08) was developed with Visual C++ 2010, so it's important to check if our pc has the Microsoft Visual C++ 2010 Redistributable Package installed.
The Microsoft Visual C++ 2010 Redistributable Package installs runtime components of Visual C++ Libraries required to run applications on a computer that does not have Visual C++ 2010 installed.
The package can be downloaded here.
If we don't have an installer, we have to install the plug-in manually:

  1. Extract the file wherever you want (ie: C:\Program Files\Animal Logic\)
  2. Specify some environment variables that affect MayaMan's behaviour. Read here how to do that:

    variable nameMAYAMANROOT
    variable valuepath\to\mayaman3.0.08_64

    variable name: MAYA_PLUG_IN_PATH
    variable path:   %MAYAMANROOT%\plugins\2011

    variable name: MAYA_SCRIPT_PATH
    variable path:   %MAYAMANROOT%\mel

    variable name: XBMLANGPATH
    variable path:   %MAYAMANROOT%\mel
  3.  
  4. Run Maya and load the plug-in.

Best regards.

Automatizzare download dei sottotitoli da µTorrent

A partire dalla versione 2.2, µTorrent permette di settare nelle opzioni generali un comando automatico da eseguire alla fine di ogni download. Come si vede nell'immagine a sinistra, dopo anni di richieste, questa possibilità è offerta in modo globale per ogni download. Nella scheda Avanzate - Esegui programma c'è un campo di testo con la possibilità di impostare un comando da eseguire quando termina il download .

E' possibile utilizzare questa opzione per automatizzare il download dei sottotitoli di serial tv da un sito tipo italiansubs.net. In particolare la utilizzo con un programma che ho scritto, JSubs, che serve  proprio per il download di sottotitoli. Se non ho JSubs che gira in background con il suo timer e non ho voglia di utilizzare il tasto destro del mouse per scaricare i sottotitoli, posso ricorrere a questa possibilità.

Su Windows, basta inserire questa riga nel campo di testo:

C:\Programmi\JSubs\JSubsCMDL.exe --started-from-file "%D\%F"

modificando ovviamento il percorso alla cartella (C:\Programmi\JSubs\)in cui è stato scompattato JSubs. JSubsCMDL.exe è la versione da riga di comando della GUI ed è usato essenzialmente per il menù contestuale, è spiegato un po' meglio qui. JSubsCMDL.exe è in grado di controllare se il file è un video e se è un serial tv, quindi è l'ideale per questo compito.
Se i sottotitoli non vengono trovati, il programma chiede con message box cosa fare. E' anche possibile far eseguire le operazioni in modo del tutto "silenzioso", utilizzando questa stringa:

C:\Programmi\JSubs\JSubsCMDL.exe --silent --started-from-file "%D\%F"

Se i comandi non dovessero funzionare (a me funziona tutto), si può creare nella cartella di JSubs un file uTorrent.bat
@echo off
if "%*" == "" goto error
echo "%*"
cd "C:\Programmi\JSubs"
java -jar JSubsCMDL.jar --started-from-file "%*"
:error
echo Indicare il percorso al video
echo uso: uTorrent percorso/video
:end
echo.
echo Operazione eseguita con successo.
modificando, come prima, il percorso della cartella di JSubs. La riga da utilizzare in questo caso sarà:

C:\Programmi\JSubs\uTorrent "%D\%F"

Lo svantaggio di questo metodo è che il file bat eseguito da µTorrent apre un prompt dei comandi durante il download dei sottotitoli. Per far girare tutto in modo invisibile bisognerebbe utilizzare uno dei metodi descritti qui, su stackoverflow. In particolare lo script invis.vbs funziona molto bene:

wscript C:\Programmi\JSubs\invis.vbs C:\Programmi\JSubs\uTorrent.bat %D\%F

Su Ubuntu l'operazione è più noiosa e complessa: con wine va installato JRE di Sun per Windows (a sinistra). Il JRE si installerà nella cartella di wine e java sarà disponibile per tutti i programmi che ne avranno bisogno. Il comando da usare con µTorrent  in questo caso è:



H:\Programmi\JSubs\JSubsCMDL.exe --started-from-file %D\%F

Va detto che, su Ubuntu 10.04, la versione 2.2 di µTorrent non funziona, va scaricata l'ultima beta disponibile.

Saluti