Sign up here and you can log into the forum!

ThumbGen's little linux brother now more Mactastic

Support forum for the great ThumbGen software

ThumbGen's little linux brother now more Mactastic   

Postby jatimon » Fri May 28, 2010 6:18 am

New Release !
Version 0.6 Released

Tarball http://www.4shared.com/file/H-wBHwEJ/Copy_of_Moviesheet-v06tar.html

GITHUB git pull git://github.com/jatimon/ThumbScanner.git

changelog
v 0.6
- Implemented Glow
- Implemented AdjustGamma
- Implemented AdjustHue
- Implemented Gaussian Blur
- add TOKEN RUNTIME
- add TOKEN RELEASEDATE
- add TOKEN SUBTITLES
- fixed bug that choped stars if the provided image was actually 24x24
- added TOKENS %EXTERNALSUBTITLESTEXT% %SUBTITLESTEXT%
- include mediainfo output in DEBUG
- Error checking moviedb results
- added moviemeter.nl as a COLLECTOR at dachouffe's request.
- added initial support for reading TGMD files -t or --tmgd on the command line to perfer use of tgmd files
- fixed text alignment issue added middleright and middleleft and autosize check
- added a few more TEXT tokens
- added check for dts, aac, ac-3 and mp3 audioformat
- fixed bug in AdjustOpacity
- fixed bug in RoundCorners
- tgmd files get parsed before going to the Internet.
- fixed bug in parsing tgmd file.
- fixed a bug that eroneously ouputs crit errors for country codes (subtitles) when the string is empty
- added increased debugging output to help diagnose font issue.
- fixed Dachouffe's color bug (at least I think i did)

Example Moviesheet
Image

Version 0.5 Released

a few changes as noted here.
v 0.5
- removed provider selection ability. We use both, themoviedb for fanart and imdb for the rest
- MOVIEPARENTFOLDER has replace MOVIEDIR in the engine.conf
- SUBTITLES now working, still need to finish EXTERNALSUBTITLES
- search directories for only specific file suffixes, .mkv .avi .mov .mpg .mpeg .wmv .mp4 .qt .rm (.iso and .ifo eventually)
- removed the passing of the media_info xml object, for purely readability reasons.
- all moviesheet TOKENS are in the provider_hash object
- added some logic to figure out video resolution for RESOLUTION TOKEN
- there is a catchall added to the processing of Text Elements to capture any missing Actions and throw a CRIT message

still todo
- a couple of image transforms remain to be done
- create image effect Glow
- create image effect AdjustGamma
- figure out how to determine language of external subtitles. .srt files
- perhaps a script to add fonts to imagemagick
- fix for .iso files
- add options for Thumbgen like extra sheets
Thumbnail - $M\$N for the small Thumbnail (Cover)
Extra Thumbnail - folder for the big Thumbnail
Movie Information - Used by tvixie2playonhd to create gernes and to make rss files on the Playon!HD
Main Sheet - $M\$N$E_sheet - Main sheet for the Movie jukebox on the Playon!HD
Extra Sheet - Used in the browser screen of the Playon!HD
- roll it all up into an app.bin
- add more logic for specific audioformats
- search directories for only specific file suffixes, .iso .ifo


Tarball http://www.4shared.com/file/7lv67FV6/Moviesheettar.html

GITHUB git pull git://github.com/jatimon/ThumbScanner.git









As some of you who read the other forum (wdtvforum) are probably aware I have been writing a movie sheet generation tool similar to Thumbgen.

It is nearing its final stages. I thought I would share it with whomever is interested.

here is some sample output

Image

(I think that the image is cropped, at least in the preview it is coming up cropped, here is a link http://www.timonnet.com/moviesheet/300.jpg )

I have most of the image effects covered, a couple still outstanding. I have tested with a few different templates from the template mega pack.

I can't figure out exactly how the resolution of the image is derived from the mediainfo output, so if anyone knows that, I would totally appreciate some direction.

Fonts are still a challenge. I think I will grab some of the missing ttf files from a windows box and make them available to imagemagick, perhaps that will fix the issues I am seeing.

I am hosting my source code on github

to grab it, you can do a git pull git://github.com/jatimon/ThumbScanner.git

If anyone wants I can roll up a tarball and put it up somewhere.

there are a few requirements for this to run. Perl modules basically.

Image::Magick;
XML::TokeParser;
Data::Dumper;
File::Basename;
File::Finder;
Math::Trig;
XML::Bare;
LWP::UserAgent;
HTML::Entities;

ImageMagick of course and mediainfo.

the media info website has links to download rpms for various linux distros. This is the easiest route. I tried building mediainfo on an old redhat 7 box and it was painful.

please feel free to grab my source code and test.

Feedback is very much appreciated.

off of the top of my head, I would also expect this to run on intel Macs. you would only need to ensure that perl is installed and the above perl modules as well as imagemagick and mediainfo. One would run it from the terminal shell.

thanks

--
JT
Last edited by jatimon on Thu Sep 09, 2010 3:23 pm, edited 5 times in total.
Thanks

--
JT
User avatar
jatimon
Developer
 
Posts: 89
Joined: Mon Apr 26, 2010 10:03 am

Re: ThumbGen's little linux brother   

Postby thumbgen » Fri May 28, 2010 8:18 am

Tip top! :mrgreen: Glad to see u here too, little bro :ugeek:
Get ThumbGen!
If you like ThumbGen then buy me a coffee Image
User avatar
thumbgen
Developer
 
Posts: 1094
Joined: Mon Apr 05, 2010 10:04 pm

Re: ThumbGen's little linux brother   

Postby dachouffe » Fri May 28, 2010 12:10 pm

Great work,

I'm trying to get it working, but imagmagic is giving me troubles.


Keep on going..
dachouffe
DLX'er
 
Posts: 64
Joined: Fri May 28, 2010 12:07 pm
Location: The Netherlands

Re: ThumbGen's little linux brother   

Postby dachouffe » Fri May 28, 2010 12:33 pm

Hi,

No luck with perl ImageMagic, can't test further. Hope to get some feedback.
dachouffe
DLX'er
 
Posts: 64
Joined: Fri May 28, 2010 12:07 pm
Location: The Netherlands

Re: ThumbGen's little linux brother   

Postby jatimon » Fri May 28, 2010 1:25 pm

What's the problem with imagemagick that you are seeing?

also which linux distro?

I built on Ubuntu, and just did apt-get install imagemagick
Thanks

--
JT
User avatar
jatimon
Developer
 
Posts: 89
Joined: Mon Apr 26, 2010 10:03 am

Re: ThumbGen's little linux brother   

Postby dachouffe » Fri May 28, 2010 1:56 pm

He,

Thanks for the quick reply.

No problem with the ImageMagic package, but with the CPAN of Image::Magick. Can't get it to build.
I'm running Ubuntu 10.04 x64. Or are those packages in te repository of Ubuntu??

Cu
dachouffe
DLX'er
 
Posts: 64
Joined: Fri May 28, 2010 12:07 pm
Location: The Netherlands

Re: ThumbGen's little linux brother   

Postby jatimon » Sat May 29, 2010 7:19 am

have you tried using the CPAN perl shell?

perl -MCPAN -e shell

then

install Image::Magick

thats how I installed all of the perl modules.
Thanks

--
JT
User avatar
jatimon
Developer
 
Posts: 89
Joined: Mon Apr 26, 2010 10:03 am

Re: ThumbGen's little linux brother   

Postby dachouffe » Sat May 29, 2010 9:42 am

jatimon wrote:have you tried using the CPAN perl shell?

perl -MCPAN -e shell

then

install Image::Magick

thats how I installed all of the perl modules.


Tried that, same problem. Can't find what's going worng. Look on google, but nothing to find.

This is the error i get.

Magick.xs:230: warning: missing initializer
Magick.xs:230: warning: (near initialization for ‘Methods[8].arguments’)

Thanks
dachouffe
DLX'er
 
Posts: 64
Joined: Fri May 28, 2010 12:07 pm
Location: The Netherlands

Re: ThumbGen's little linux brother   

Postby jatimon » Sat May 29, 2010 6:26 pm

there is an imagemagick package you could try.

apt-get install perlmagick.
Thanks

--
JT
User avatar
jatimon
Developer
 
Posts: 89
Joined: Mon Apr 26, 2010 10:03 am

Re: ThumbGen's little linux brother   

Postby dachouffe » Sun May 30, 2010 9:32 am

jatimon wrote:there is an imagemagick package you could try.

apt-get install perlmagick.


Problem with Imagemagic is properly solved, had to reinstall my system :cry:

When processing a movie, i get the following error:

no element found at line 1, column 0, byte -1 at /usr/local/share/perl/5.10.1/XML/TokeParser.pm line 350
I looked if XML::TokeParser was installed, and that was ok.

Maybe i missed something :?: :?:

:edit

Sorry, used the wrong command line.
dachouffe
DLX'er
 
Posts: 64
Joined: Fri May 28, 2010 12:07 pm
Location: The Netherlands

Next

Return to ThumbGen

Who is online

Users browsing this forum: No registered users and 1 guest

cron