WDTV Forum - WDTV Media Player

WDTV LIVE Groups => WDTV LIVE Homebrew / Custom Firmware => Topic started by: bunyip on December 12, 2010, 01:31:19 AM

Title: SheetMaker for Linux
Post by: bunyip on December 12, 2010, 01:31:19 AM
The SheetMaker for Linux Project has been discontinued.
Title: Re: SheetMaker for Linux
Post by: bunyip on December 15, 2010, 04:16:59 PM
Release 1.17 is now available:

Changes:

Title: Re: SheetMaker for Linux
Post by: bunyip on December 18, 2010, 09:47:00 PM
Release 1.18 is now available: (Critical Bug Fix)

I'm having a closer look at the rendering code now and fixing any bugs or omissions.
While testing I also found a critical control bug in the 'Automatic' mode, which is fixed in this release.

Changes:
GUI Code:
Rendering Code:

Title: Re: SheetMaker for Linux
Post by: thumper42 on December 20, 2010, 02:56:57 AM
Hey Bunyip,

Thanks!! I have everything installed but i am in the middle of building a new system, so i haven't had a chance to really try it out! Will get back with you when i do and let you know how it goes....

Had a problem compiling one of the perl modules (perlmagick), only way i could get around it was to install it from the debian repository.

Take Care, Thumper42.
Title: Re: SheetMaker for Linux
Post by: bunyip on December 20, 2010, 12:37:14 PM
Hi thumper42,

Thanks for trying this out, it's maturing nicely but I do need users to highlight any problems I may have missed.
Yes I had the same problem with perlmagick and I think jatimon did too. I'll have to alter the documentation to recommend installation using the distributor's package and not the CPAN module.

I'm still developing it further and will be adding new features shortly, such as a section to generate folder sheets using folder templates and ability to handle TV shows and episode sheets.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on December 22, 2010, 11:18:59 AM
Great program, lost all hope on thumbscanner.
But now i saw your program, and tested it for a bit. I'm really exited.
Keep up the good work. ill look if i can find some time to do some testing ;)
Title: Re: SheetMaker for Linux
Post by: bunyip on December 22, 2010, 01:47:38 PM
Thanks DaChouffe, it's good to get more feedback.
Title: Re: SheetMaker for Linux
Post by: skreeves on December 23, 2010, 05:16:12 PM
Wow, cool program!  I'd like to see an option to grab the movie name from the name of the parent directory, since I organize mine in separate directories.  Also I use Dribbler's Template Mega Pack (specifically the NeatSheet_RedCurtain template) and the program can't find the right studio or certification graphics.  Thanks!
Title: Re: SheetMaker for Linux
Post by: bunyip on December 23, 2010, 08:00:21 PM
Thanks skreeves, nice to know my efforts are appreciated.

Yeah, one of the problems we have with using these freely available templates is that they have been created on Windows systems. Windows as you may know is case-insensitive so it will always find a file regardless of the mix of upper and lowercase chars, and many of the templates are not true to case. Linux on the otherhand is case sensitive so it must have an exact match. Also the data read from the web sites like IMDB will not necessarily be a case match either.

I'm experimenting with various methods of case-insensitive file matching but so far have met with mixed results, but I will find a solution.

In the meantime I'm afraid you may have to manually rename some of the library files in your template set or rename the reference to the file in the template itself so that they match.

This is a high-priority fix so it won't be long.

As for using the directory name as the movie name - yeah that's on the to-do list, so since you've asked I'll escalate it.

By the way, to get the RedCurtain set to look right under Linux you may have to fiddle with the font sizes a bit, especially 'Title'.
Title: Re: SheetMaker for Linux
Post by: bunyip on December 26, 2010, 01:53:16 AM
Release 1.19 now available:

I wanted to release this version now because it is a faster and more efficient version, and those trying out this program should find this one a bit better.

Changes:
GUI Code:
Rendering Code:

A question for those who put their movie files in individual directories and want to use the directory name to identify the movie.
 - Do you name your file the same as the directory name or, if not, is there only one video file in each directory.
(When creating a moviesheet the program needs to get attributes from the file, so it must have a way of identifying which movie file to use.) 
Title: Re: SheetMaker for Linux
Post by: DaChouffe on December 26, 2010, 03:45:07 AM
Speed is improved big time, nice improvement. ;D

Would it be possible for you to add this to youre todo?

The possibility to create multiple sheets with variable naming schemes??
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

I'm using for each movie a different directory, the directories are named like the movie.

Thanks,

Keep on the good work.
Title: Re: SheetMaker for Linux
Post by: bunyip on December 26, 2010, 02:51:13 PM
Thanks DaChouffe,

These options seem simple enough - consider them now on the list.
(I notice that Thumbgen has these options, so I'll do something similar to it.).

Title: Re: SheetMaker for Linux
Post by: DaChouffe on December 29, 2010, 02:01:15 PM

This template is made by youre program
(http://img683.imageshack.us/img683/263/sheetmaker.png)

This template is made by ThumbGen
(http://img202.imageshack.us/img202/4932/thumbgen.png)

I saw in the layout some different s, for instance the time notification is a bit scrambled and wrote down differently, and the Directed by is scrambled. If i look at the names in your template editor, the names are written down correctly. With no strange characters.

Second, would it be possible to make an option for creating 16bit R5G6B5 bmp's. The POHD will render this format better in the moviewall.

And i saw some errors created by SheetScanner, i know that the "Can't find *.png" is caused by case sensitivity of linux. But i don't know what causes the other errors. Don't even know if that's important. ;D

Code: [Select]
Use of uninitialized value in printf at ./SheetMaker.pl line 3022.
Use of uninitialized value $indent in length at ./SheetMaker.pl line 2085.
Use of uninitialized value $indent in length at ./SheetMaker.pl line 2085.
Use of uninitialized value $indent in length at ./SheetMaker.pl line 2085.
CRIT: I could not find /home/dachouffe/Downloads/Sheetmaker/Templates/test/Template_Mega_Pack_1.7/Common/studios/Illumination Entertainment.png
Use of uninitialized value $indent in length at ./SheetMaker.pl line 2085.
Use of uninitialized value $indent in length at ./SheetMaker.pl line 2085.
Exiting subroutine via next at ./SheetMaker.pl line 1710.
Use of uninitialized value in printf at ./SheetMaker.pl line 3022

If you are creating the options for multi filename in sheetscanner, maybe it's wise to turn on/off the sheets you wan't to create. Like Thumbscanner does.
(http://img522.imageshack.us/img522/741/generalhy.png)
(http://img689.imageshack.us/img689/2345/input.png)
(http://img708.imageshack.us/img708/4743/moviesheet.png)

I hope you can do something with my input  :P

Keep on the work..
 
Title: Re: SheetMaker for Linux
Post by: bunyip on December 29, 2010, 07:30:48 PM
Hi DaChouffe,

Thanks for taking the time to give feedback, yes this is what I need from testers.

1. The template you are using here is in fact an 'xslt' template, unfortunately 'xslt' support is not yet implemented, but it's on the todo list.
XLST templates include embedded code that does some fancy formatting. My program however can only use the 'xml' copy of the template at this time, but the XML doesn't include the intelligence, so several elements like the movie time is not able to be rendered properly.
If you want to continue using this template in the meantime, you would need to modify the XML version of the template to explicitly define the formatting.

2. The mysterious '&#xD;&#xA;' string is an instruction in the XML template shown in the '<Directors Seperator' value. It's the encoded Windows CR/LF characters. I will need make a change in my program to convert these to the Linux equivalent. I'll make sure that this is included in the next release.

3. The code warnings you are getting in the log are not serious, they are just where the code is testing for values that are no longer defined or needed. I'll clean these up as I develop the code further.

4. The continuing 'unable to find files' error sadly is my fault - I neglected to remove some redundant code in release 1.19, this has been corrected in the next release, 1.20, which should be available in a day or two. (Although in your example I think you'll find that the file really doesn't exist).

5. I think the option to write images as 16bit BMP (and other forms) should be able to be implemented (I need to do a bit of testing first).

6. Options - yes I am including the ability to turn on/off any item, as well as applying different templates to each. I feel that there are too many screens and options in Thumbgen, I'm trying to keep this  simpler and easier to use, by grouping several options in one.


Title: Re: SheetMaker for Linux
Post by: DaChouffe on December 30, 2010, 11:18:16 PM
@bunyip

Looks promising. I'm looking forward to you're new version.
The only thing i have with my version of Sheetmaker, is the alignment of the program fonts. They look a bit messy on my system. ???
What is influencing this? Compiz, the desktop theme or font settings in Gnome ???

Title: Re: SheetMaker for Linux
Post by: bunyip on December 31, 2010, 06:40:36 PM
That's odd - it should just render using your theme and system fonts.
Can you provide a screendump?
Title: Re: SheetMaker for Linux
Post by: alpo05 on January 01, 2011, 08:04:00 AM
Your program works great. Would you be able to add the option of creating a playlist from the tgmd and also for assigning our own catagories, i.e. NEW?
I noticed that if you try creating a playlist in Thumbgen from the tgmd files created by sheetmaker, that it's not able use the genres from it. It assigns everything to _unassigned.
There is some sort of incompatibility with the tgmd created. It wouldn't really be a problem if we could create the playlist in your program. Keep up the great great work.

P.S. And I'd like to also like to thank you for keeping your program non bloated. I hate the fact that all these other programs use .net "yuck" and just waste tons of unnecessary resources.
I know alot of us have multi core machines with alot of memory, but I still see it as a waste. We need to go back to simplicity.
Title: Re: SheetMaker for Linux
Post by: bunyip on January 01, 2011, 02:01:30 PM
Hi alpo05,
Thanks for the support.

Yes I have been considering adding support for playlists, they are a great way to organise your collection. I use them to create genre lists. WPL files are well supported by the WDTV, I have added it on the to-do list.

I'll look into why Thumbgen has a problem with the TGMD files - I want these files to be fully  compliant so that you can use them seamlessly in Thumbgen as well, thanks for pointing this out.
(It may be another Linux vs Windows issue).
Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 01, 2011, 03:24:31 PM
That's odd - it should just render using your theme and system fonts.
Can you provide a screendump?


Problem solved, it was the theme i selected. It caused the gui to distort the fonts..  ;D
Title: Re: SheetMaker for Linux
Post by: bunyip on January 08, 2011, 04:15:57 PM
Well after a lot of code changes and additions, much debugging, moderate testing, a lot of swearing, and a bit of New Year partying, the next release (1.20) is available for testing. (see the beginning of this thread).

The changes include:

Gui Code:
         - use Directory Names as movie names.
         - option not generate a thumbnail.
         - generate an extra thumbnail.
         - option not generate the main sheet.
         - use special templates when generating thumbnails.
         - use separate templates for each sheet and thumb type.
         - generate an extra sheet (Folder sheet)
         - generate a parent directory sheet.
         - generate NFO files (in one of 3 formats)
         - apply your own naming scheme to all generated thumbs and sheets.
         - option to prevent over-writing existing files - individually selectable.
      
Rendering Code:

Next Release:
I'll be attempting to include the following in the next release.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 09, 2011, 01:48:49 PM

Great progress man  :D

There is one thing i miss in this version. The sheet editor tab, had in the previous version the possibility to select a template. Now i can't select anything. It would be great to have multiple tabs to select a template and generate the template to show how the templates look.
And to select different fanart per template..

Maybe it would be possible to select a movie that have been done, and then show the main template beneath the screen. Just the way it is now, only with the possibility to select a movie and show the template of that movie. (multiple tabs??)

I didn't find any annoying bugs. Keep on the great work. I realy love the program, especially the speed and the clean layout..  ;D ;D

Nice evening..

 
Title: Re: SheetMaker for Linux
Post by: bunyip on January 09, 2011, 04:27:41 PM
Hi DaChouffe,

Thanks again for the quick feedback.

Yes I had to make it so that run-time options are controlled in one place - the 'Options' tab. This is to keep the program clean and simple, otherwise there would be clickable options all over the screens and would just make it too confusing for the user.

However I know what you mean about the loss of the template drop-down on the edit tab, I found myself also wanting to click on it rather than switching to the options tab each time, just to change a sheet.
Since I have included a 'quick' option in edit to generate 'Main Sheet Only' it seems reasonable to also include a 'quick' template selection in this case as well, so that the 'Options' settings can be temporarily bypassed, I'll do this for the next release.

The idea of having a 'Test Only' option in edit mode so that you can see how a sheet will look without committing anything, is a good one, I'll add it to the to-do list.

Quote
Maybe it would be possible to select a movie that have been done, and then show the main template beneath the screen. Just the way it is now, only with the possibility to select a movie and show the template of that movie. (multiple tabs??)

I'm not sure what you are saying here, but if it's that you want to just view an existing sheet without doing anything with it, then this option is already available. In the 'Movie Selector' tab you just click on the movie file and press the [Show File Info] button. This will display a small version of the existing sheet which you can click on to view a full screen version of it.

Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 10, 2011, 08:48:22 AM
Hi DaChouffe,

Thanks again for the quick feedback.

Yes I had to make it so that run-time options are controlled in one place - the 'Options' tab. This is to keep the program clean and simple, otherwise there would be clickable options all over the screens and would just make it too confusing for the user.

However I know what you mean about the loss of the template drop-down on the edit tab, I found myself also wanting to click on it rather than switching to the options tab each time, just to change a sheet.
Since I have included a 'quick' option in edit to generate 'Main Sheet Only' it seems reasonable to also include a 'quick' template selection in this case as well, so that the 'Options' settings can be temporarily bypassed, I'll do this for the next release.

That is true, but the sheet editor tab is the place to put a option like that. It would be nice, if you already created the templates but you wan't to adjust some things. Like the fanart of the thumbnail or movie information, it would be nice to quick select a different template. Just to see how it look's. But, that is my opinion ;D ;D
I don't know if i found a bug, but under the sheet editor tab i see a windows with "Sheet preview". But without a preview..  ??? ???

Quote
I'm not sure what you are saying here, but if it's that you want to just view an existing sheet without doing anything with it, then this option is already available. In the 'Movie Selector' tab you just click on the movie file and press the [Show File Info] button. This will display a small version of the existing sheet which you can click on to view a full screen version of it.

I looked at that option, but it is not working. If the sheets are generated, i see the sheet pass by. But if i select a movie with a sheet it will show me the last done. If i select the "Show file info button" i get the information from the movie, but no preview..  ???
Title: Re: SheetMaker for Linux
Post by: bunyip on January 10, 2011, 03:29:34 PM
Thanks DaChouffe,
Quote
I don't know if i found a bug, but under the sheet editor tab i see a windows with "Sheet preview". But without a preview..

I looked at that option, but it is not working. If the sheets are generated, i see the sheet pass by. But if i select a movie with a sheet it will show me the last done. If i select the "Show file info button" i get the information from the movie, but no preview..

Yes you have found a bug (more of an oversight really) - I neglected to alter some of the 'preview' code to use the user's naming scheme, so it is still looking for the default naming (i.e 'moviefilename_sheet.jpg') for the main sheet. I'm assuming you are not using the default naming scheme then.

I will fix this quickly (because it's a major annoyance) and post a bug-fix release ASAP.

 
Title: Re: SheetMaker for Linux
Post by: bunyip on January 11, 2011, 02:10:32 AM
The bug-fix release (1.20.1) is available.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 11, 2011, 11:18:56 AM
The bug-fix release (1.20.1) is available.
  • Fixed detection and preview of existing sheet. Now correctly using the user-specified sheet name and not the default sheet name.

Problem solved, great.. :)

I just saw what i did wrong.  When i'm in the movie directory tab, i pressed the info button when standing on the movie folder. This doesn't work  ::)
I have to select the movie, not the directory..
I don't know if it would be possible to make the directory selectable. Maybe even the possibility just to click on the folder or go up and down with the cursor and then show the template ???


Further, would it be possible to create a tab in the movie sheet editor or something like that, to create/select audio, screen subtitle options  ??? ???
Maybe even the possibility to download subtitles  ???

I can't thing of any thing else for now..

Nice evening ??

Title: Re: SheetMaker for Linux
Post by: snappy46 on January 11, 2011, 01:37:37 PM
Absolutly awesome work; I tried it last night and love it.  Thumbgen was one of the few program that I had to start up my virtual win xp machine for.  I can run tvixie using wine without any problem so now I can do it all in linux.  Thanks a lot for that; I will report any bugs I may find.

Cheers !!!!
Title: Re: SheetMaker for Linux
Post by: bunyip on January 11, 2011, 02:56:52 PM
DaChouffe

Quote
I have to select the movie, not the directory..
I don't know if it would be possible to make the directory selectable.

That's a reasonable request - I'll look into it.

Quote
Maybe even the possibility just to click on the folder or go up and down with the cursor and then show the template.
Nice idea but I can see flaws with this, if the user is just trying to build a processing list then they won't want delays while previews are rendered and popped up whenever they select a movie file, or directory. I'll put this on the 'considerations' list and investigate further.

Quote
Further, would it be possible to create a tab in the movie sheet editor or something like that, to create/select audio, screen subtitle options. Maybe even the possibility to download subtitles.

This is worth adding to the to-do list. I'll put it on the advance options development list for later consideration.

For the moment I'm going to concentrate on getting TV Shows/Episodes working and the management of play lists.

Keep the ideas coming.

snappy46

Hi snappy, thanks for the welcome feedback - nice to know it worked first time, it's always a worry that variations in user's Linux setups may break something in the code.

Yes it was the problem of trying to run Thumbgen through VirtualBox on Linux that encouraged me to start writing this GUI code around the already available rendering code by Jatimon. The combination of VirtualBox, XP, Thumbgen, and NET Framework, created a lumbering monster that took 100% cpu and between 2 to 6 minutes per movie to create a single moviesheet. The only answer was to create something functionally similar running under native Linux.
Title: Re: SheetMaker for Linux
Post by: Rev Drew on January 11, 2011, 06:18:53 PM
bunyip, if you don't have a paypal account, I suggest you get one and post a link to donate to it.
I don't use linux as my main OS but I do use it and am trying to get away from windows.. (slowly going) I even have the wife using Ubuntu now.

I have donated to b-rad and thumbgen, this is one more I would be willing to throw a few bucks towards.


Thanks very much for another option.
Title: Re: SheetMaker for Linux
Post by: bunyip on January 11, 2011, 07:06:02 PM
Hi Rev Drew,

Thanks for the encouragement, it's always nice to know that efforts are appreciated and considered to have some value.
Donations are not required, but thanks for the offer. The only expense is time and I enjoy producing something that others find useful. I'm also an advocate for free & open software for the masses.
Title: Re: SheetMaker for Linux
Post by: Rev Drew on January 12, 2011, 03:51:26 PM
Hi Rev Drew,

Thanks for the encouragement, it's always nice to know that efforts are appreciated and considered to have some value.
Donations are not required, but thanks for the offer. The only expense is time and I enjoy producing something that others find useful. I'm also an advocate for free & open software for the masses.


I understand and commend you for those values.
however there are people that think good hard work like this should be rewarded, you likely don't live anywhere near me so I can't have you over for a beer..
I'd just like to throw you a few bucks so you can have a couple of beer (or beverage of your choice) on me to show my appreciation for your efforts
a token of my gratitude and perhaps some further inspiration to keep you going :)
Title: Re: SheetMaker for Linux
Post by: alpo05 on January 12, 2011, 04:25:51 PM
This program keeps getting better and better. With this and QtWiiGui, I no longer have the need to restart my computer for windows or to use virtualbox.
I see now your going to add TV Show sheet creation, nice. Now to find my Star Trek boxset, encode them, and get them ready for this new feature.
The WDTV *nix community is indebted to you for this great addition. Keep up the good work.
Title: Re: SheetMaker for Linux
Post by: bunyip on January 12, 2011, 11:56:50 PM
Ooh, nice feedback guys ....  more! more! ...

Don't worry, I'm inspired.  ;D
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 13, 2011, 08:17:48 AM
I might have found a bug with sheetmaker

I found that when I try to create a rss jukebox feed using Tivie2PlayOn application I get an error "access violation reading adresss 00000000" or something like that; I guess I should have wrote down the error ...duh!!!  Anyhow when I use thumbgen to create the moviesheet / .tgmd file everything worked fine.  Recreated the moviesheet / .tgmd with sheetmaker and now tixvie2Playon causes the same error again.  The only thing I can think of is that there is some issue with the .tgmd file ???? I haven't had much time last night to investigate; I will provide more info when I have some available.  Just curious if anyone else had similar issues.

Keep up the good work; I know that these thing are very time consuming.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 13, 2011, 11:31:25 AM
I might have found a bug with sheetmaker

I found that when I try to create a rss jukebox feed using Tivie2PlayOn application I get an error "access violation reading adresss 00000000" or something like that; I guess I should have wrote down the error ...duh!!!  Anyhow when I use thumbgen to create the moviesheet / .tgmd file everything worked fine.  Recreated the moviesheet / .tgmd with sheetmaker and now tixvie2Playon causes the same error again.  The only thing I can think of is that there is some issue with the .tgmd file ???? I haven't had much time last night to investigate; I will provide more info when I have some available.  Just curious if anyone else had similar issues.
Keep up the good work; I know that these thing are very time consuming.

Hi snappy64,

Had the same problem, i changed the type of nfo to xmbc and removed the jukebox dir and index file.
To be sure, i also removed all info files and tgmd files in my movie maps.  8)
I think it's working now, the error did not show any more  ;D

But i thing something is going wrong with the creation of the nfo files, maybe it's a idea to integrate tvixie2playonhd into sheetmaker ;)

Hope it helped.

Cu
Title: Re: SheetMaker for Linux
Post by: bunyip on January 13, 2011, 02:32:22 PM
Hi Guys,

This sounds a bit messy. I certainly did not have TViXie2Playon!HD in mind when writing this code, I don't use it so am not familiar with what it does. Documentation on the requirements and formats for these 'add-on' systems are usually very poor so often it is necessary to do a lot of reverse-engineering to try and integrate with them.

I'll certainly have a look at TViXie2Playon!HD and see what's necessary to 'play nice' with it.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 13, 2011, 09:13:13 PM
I might have found a bug with sheetmaker

I found that when I try to create a rss jukebox feed using Tivie2PlayOn application I get an error "access violation reading adresss 00000000" or something like that; I guess I should have wrote down the error ...duh!!!  Anyhow when I use thumbgen to create the moviesheet / .tgmd file everything worked fine.  Recreated the moviesheet / .tgmd with sheetmaker and now tixvie2Playon causes the same error again.  The only thing I can think of is that there is some issue with the .tgmd file ???? I haven't had much time last night to investigate; I will provide more info when I have some available.  Just curious if anyone else had similar issues.
Keep up the good work; I know that these thing are very time consuming.

Hi snappy64,

Had the same problem, i changed the type of nfo to xmbc and removed the jukebox dir and index file.
To be sure, i also removed all info files and tgmd files in my movie maps.  8)
I think it's working now, the error did not show any more  ;D

But i thing something is going wrong with the creation of the nfo files, maybe it's a idea to integrate tvixie2playonhd into sheetmaker ;)

Hope it helped.

Cu


Thanks a lot DaChouffe for your inputs.  After trying different things I finally find out that my problem was cause by having in the profile setup of Tvixie2PlayonHD "use thumbgen .tgmd file to generate meta Data" check on.  Once I checked it off everything worked fine.  The trick is make sure that tvixie2PlayonHD does not try to generate a metadata movie.nfo file based on the .tgmd file or else it crashes.

@bunyip;  Don't sweat it; it's not much of a problem since SheetMaker already makes a movie.nfo file if selected in the options hence there are no requirement for tvixie2playonHD to create another one since it already exist.  Conclusion Sheetmaker works fine when tixvie2playonhd is setup properly.  I think that there might be a difference between the .tgmd file created by Sheetmaker and the one created by thumbgen since tvixie2playonHD has no issues when using the .tgmd created by thumbgen to create a .nfo file.

Looking forward to any improvement you might dream up in the next little while but I must say I am quite happy with Sheetmaker as it is right now.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 14, 2011, 01:39:25 PM
I might have found a bug with sheetmaker

I found that when I try to create a rss jukebox feed using Tivie2PlayOn application I get an error "access violation reading adresss 00000000" or something like that; I guess I should have wrote down the error ...duh!!!  Anyhow when I use thumbgen to create the moviesheet / .tgmd file everything worked fine.  Recreated the moviesheet / .tgmd with sheetmaker and now tixvie2Playon causes the same error again.  The only thing I can think of is that there is some issue with the .tgmd file ???? I haven't had much time last night to investigate; I will provide more info when I have some available.  Just curious if anyone else had similar issues.
Keep up the good work; I know that these thing are very time consuming.

Hi snappy64,

Had the same problem, i changed the type of nfo to xmbc and removed the jukebox dir and index file.
To be sure, i also removed all info files and tgmd files in my movie maps.  8)
I think it's working now, the error did not show any more  ;D

But i thing something is going wrong with the creation of the nfo files, maybe it's a idea to integrate tvixie2playonhd into sheetmaker ;)

Hope it helped.

Cu


Thanks a lot DaChouffe for your inputs.  After trying different things I finally find out that my problem was cause by having in the profile setup of Tvixie2PlayonHD "use thumbgen .tgmd file to generate meta Data" check on.  Once I checked it off everything worked fine.  The trick is make sure that tvixie2PlayonHD does not try to generate a metadata movie.nfo file based on the .tgmd file or else it crashes.

@bunyip;  Don't sweat it; it's not much of a problem since SheetMaker already makes a movie.nfo file if selected in the options hence there are no requirement for tvixie2playonHD to create another one since it already exist.  Conclusion Sheetmaker works fine when tixvie2playonhd is setup properly.  I think that there might be a difference between the .tgmd file created by Sheetmaker and the one created by thumbgen since tvixie2playonHD has no issues when using the .tgmd created by thumbgen to create a .nfo file.

Looking forward to any improvement you might dream up in the next little while but I must say I am quite happy with Sheetmaker as it is right now.

Youre right snappy64,

I did another test, and yes. The problem lies in the tgmd files. Now i works fine with the default nfo file..

Thanks
Title: Re: SheetMaker for Linux
Post by: bunyip on January 14, 2011, 02:59:35 PM
A possible cause ...

TViXie2Playon!HD is a Windows program and the TGMD file is constructed under Linux so the files contain tabs and Linux linefeed characters, whereas a Windows TGMD contains spaces and Windows CR/LF chars. But since they are XML files these differences are usually transparent and don't matter, but that would depend on how a specific program handles XML. I may have to 'windowify' (is that even a word) the files so that Windows programs don't get upset.

I'll continue to investigate this problem as a side issue, as its important to be able to mix 'n match your utility programs without inconsistencies.

(I still have to get TViXie2Playon!HD working though, it keeps crashing before I can even give it any data, but what can you expect - its Windows!  ::)).

Title: Re: SheetMaker for Linux
Post by: snappy46 on January 14, 2011, 04:13:22 PM
A possible cause ...

TViXie2Playon!HD is a Windows program and the TGMD file is constructed under Linux so the files contain tabs and Linux linefeed characters, whereas a Windows TGMD contains spaces and Windows CR/LF chars. But since they are XML files these differences are usually transparent and don't matter, but that would depend on how a specific program handles XML. I may have to 'windowify' (is that even a word) the files so that Windows programs don't get upset.

I'll continue to investigate this problem as a side issue, as its important to be able to mix 'n match your utility programs without inconsistencies.

(I still have to get TViXie2Playon!HD working though, it keeps crashing before I can even give it any data, but what can you expect - its Windows!  ::)).



Thanks a lot;  I like your theory I had similar problems when dealing with xml files for my media player.  I wander if you could not just use the linux shell command unix2dos after the .tmgd file has been created to resolve this issue ????  I will make some experimentation when I have a chance and let you know.

Also one thing I notice when using sheetmaker is that the thumbnail created (folder) is 500 x 750 pixels while thumbgen is 200 x 300 pixels. This make the file about twice the size has the one created by thumbgen.  On a moviewall of 3x8 (24 folder view) the difference in file size makes a huge difference in the amount of time it takes for the moviewall to show up although their look better.  I realise that a change to a lower resolution would involve a change in thumbscanner and I am not sure you can make changes to it.  It would be nice to have an option for different thumbnail size; I prefer smaller hence faster rendering.

On the other hand the movie sheet created by sheetmaker seem smaller than the one made by thumbgen; that's a good thing.

I am also looking into DaChouffe request regarding the conversion to bmp file and see if that can be accomplish using imagemagik.  I will let you know if I find anything.

Cheers !!!
Title: Re: SheetMaker for Linux
Post by: bunyip on January 14, 2011, 05:03:46 PM
Snappy,

Hey, you're really taking a strong interest in this - that's great.

- Yes I had considered using unix2dos, but I prefer not to call another external utility when I can do it from within. Its just a matter of writing the windows format at the time of writing the files within perl.

- The resizing of the thumbnail is something I've been meaning to address. At the moment no sizing is done on the thumbnail its just copied from the original using it's original size so there is no standard size. I'll default the thumbnail size to 200x300 (maintaining original aspect ratio) in the next release and then provide a user specified size in later releases.

- As for changing the original 'Thumbscanner' rendering code - not an issue. I've already had to adjust much of the code so its beginning to become a distant relative of the original and 'jatimon' seems not to have the time to support it anymore anyway.

- I did a bit of research on formats following DaChouffe's request, Imagemagick does support many image formats including of course BMP, its just a matter of specifying the format at the time of writing it to disk (at the moment its just jpg), in fact the internal working image is PNG which gets written as JPG at the end.

Thanks for the support.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 14, 2011, 08:41:06 PM
- The resizing of the thumbnail is something I've been meaning to address. At the moment no sizing is done on the thumbnail its just copied from the original using it's original size so there is no standard size. I'll default the thumbnail size to 200x300 (maintaining original aspect ratio) in the next release and then provide a user specified size in later releases.

While waiting for your next release I just had the following line (see bold line below) to the generate thumbnail procedure.  I really hope you don't mind.

$thumbnail=grab_thumbnail(\%provider_hash, $optionsgui{THUMB_COMBO}->get_active_text);
$thumbnail->Resize( geometry => '200x300' );
$status = $thumbnail->Write($fn.".jpg");
...
...
...


Cheers !!!
Title: Re: SheetMaker for Linux
Post by: bunyip on January 14, 2011, 11:35:16 PM
Snappy,

Yep, that's the change that has been made, good work.
(Although I have used a slightly different mode "$thumbnail->Resize(width=>200, height=>300) ;")
Edit: I should have looked a bit closer at where you made your change, it should go at the end of the sub routine "grab_thumbnail" just before the line "return $thumbnail". That way all thumbnails generated will be resized, not just the main thumbnail.

Remember its open-source, users can make any changes they wish to suit their own needs.

I also just realised that the Linux 'zip' utility I'm already using to compress data into the TGMD file has an option to convert text files to Windows format while compressing, so I'll make that change for the next release also.
Please continue your testing and let me know if you can confirm this as being the TViXie2Playon!HD problem.

Thanks.
Title: Re: SheetMaker for Linux
Post by: bunyip on January 15, 2011, 02:33:55 PM
DaChouffe and Snappy,

Can one of you check something for me regarding TViXie2Playon!HD.
The NFO file that is written to the TGMD bundle at present is always in the default format. When the user sets the option to write a separate NFO and chooses the TVX or XBMC format then an extra NFO file is written in this format, but the NFO file in the TGMD bundle remains as default.

The question..  is TViXie2Playon!HD also expecting the NFO file within the TGMD bundle to be in TVX format ??

Thanks.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 15, 2011, 04:27:32 PM
DaChouffe and Snappy,

Can one of you check something for me regarding TViXie2Playon!HD.
The NFO file that is written to the TGMD bundle at present is always in the default format. When the user sets the option to write a separate NFO and chooses the TVX or XBMC format then an extra NFO file is written in this format, but the NFO file in the TGMD bundle remains as default.

The question..  is TViXie2Playon!HD also expecting the NFO file within the TGMD bundle to be in TVX format ??

Thanks.


Ok here's some info that I hope will help:

First off when I create the file required I use NFO default whatever the default is; not TVX ...(Is that suppose to be for Tixvie ??) or XBMC.

In Tixive2playonHD there is an option that can be checked off called:  "Use thumbgen.tmgd file to generate Meta Data"

First case scenario I have that option not checked and tvixie2palyonHd creates the rss feeds without any issues.  That means that tixvie2playonhd as no issues with the default NFO.

Second scenario now I check on the "Use thumbgen.tmgd file to generate Meta Data" .  Now I get the error about access violation at address ........

Once I received that error even if I check off the "Use thumbgen.tmgd file to generate Meta Data" I will always get that error until I create a new movie.nfo file using SheetMaker.  Therefore once that option has been selected and that tixvie creates a new movie.nfo file using the data in the .tmgd file then the nfo file is no good anymore.

Now this is what I did to get the "Use thumbgen.tmgd file to generate Meta Data" option to work.

1) recreated a new movie.nfo file using SheetMaker (nfo option still set to default)
2) open the .tmgd archive and deleted the NFO file from it.
3) added the movie.nfo file to the archive and renamed it NFO.
4) Ran tixvie with the "Use thumbgen.tmgd file to generate Meta Data" check on and it worked fine

Conclusion, somehow there is some problem with the NFO that is available in the original .tmgd archive.  I do not think that it is related to unix/dos format anymore since the movie.nfo that I copied over to the .tmgd archive and rename to NFO was definitely in unix format (no /M, linefeed,return embedded).

Well I hope this help you.  Please do not hesitate if you have anymore request.  Like I mentioned before it's not a big thing since I can just leave that option "Use thumbgen.tmgd file to generate Meta Data" check off.

Cheer !!!!

PS: I have a few suggestion for SheetMaker but I will wait to see your next version before I bug you with my requests.  I created one of my movie directory (about 60 movies) last night all moviesheet option (3) + Thumbnail + NFO + tgmd and beside a few hick up everything seemed to work good.  I am sold on that nice program you put together ...... Long live Linux (Ubuntu in my case)   ;D
Title: Re: SheetMaker for Linux
Post by: bunyip on January 15, 2011, 04:50:17 PM
Thanks Snappy - that gives me something to work with, I definitely want to resolve any non-compatibility issues.

Now, while I am working on the TV/Episodes additions, I have decided to publish an interim release (no. 1.21) that you guys might find useful now, rather then wait for the next big release.
(See start of this thread for download link).

Changes are:
Gui Code:
Rendering Code:
Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 16, 2011, 02:20:33 AM
DaChouffe and Snappy,

Can one of you check something for me regarding TViXie2Playon!HD.
The NFO file that is written to the TGMD bundle at present is always in the default format. When the user sets the option to write a separate NFO and chooses the TVX or XBMC format then an extra NFO file is written in this format, but the NFO file in the TGMD bundle remains as default.

The question..  is TViXie2Playon!HD also expecting the NFO file within the TGMD bundle to be in TVX format ??

Thanks.


Did some testing with TViXie2Playon!HD. I can see that the nfo file created by Sheetmaker in my folder and the nfo file inserted in the tgmd file are not the same.
So when i regenerate the nfo file with the sheet editor tab, the violation error does not get solved. I realy have to grab the total movie.

The other options are realy great. Did some testing and played around with it and i realy like it. If the time is right, i will bug you with templates that are not working correct.. ;D ;D

<Movie.nfo>

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ThumbGen="1">
  <hasrighttoleftdirection>false</hasrighttoleftdirection>
  <title>Buried</title>
  <originaltitle></originaltitle>
  <year>2010</year>
  <plot>Paul Conroy (Ryan Reynolds) is een aannemer uit de Verenigde Staten die werkzaam is in Irak. Na een aanslag van een groep terroristen wordt Paul wakker in een kist, onder de grond. Hij is levend begraven. Met enkel een aansteker en een mobiele telefoon moet Paul aan deze claustrofobische val proberen te ontsnappen...</plot>
  <tagline>170,000 SQ miles of desert. 90 minutes of Oxygen. No way out.</tagline>
  <rating>7.4</rating>
  <episodes />
  <episodesnames />
  <writers />
  <gueststars />
  <id>tt1462758</id>
  <releasedate>2010-11-25</releasedate>
  <mpaa>Rated R for language and some violent content.</mpaa>
  <actor>
    <name>Ryan Reynolds</name>
    <name>Robert Paterson</name>
    <name>José Luis García Pérez</name>
  </actor>
  <genre>
    <name>Mystery</name>
    <name>Thriller</name>
  </genre>
  <director>
    <name>Rodrigo Cortés</name>
  </director>
  <runtime>95</runtime>
  <certification>R</certification>
  <studio>
    <name>Antena 3 Films</name>
  </studio>
  <country>
    <name>ESP</name>
  </country>
  <mediainfo>
    <Resolution>
      <Flag>Resolution_720p</Flag>
    </Resolution>
    <resolution>720P</resolution>
    <Format>
      <Flag></Flag>
    </Format>
    <format>mkv</format>
    <Video>
      <Flag>Video_v_mpeg4/iso/avc</Flag>
    </Video>
    <video>v_mpeg4/iso/avc</video>
    <Audio>
      <Flag>Audio_DD51</Flag>
    </Audio>
    <audio>DD51</audio>
    <Subtitles>
      <Flag>Unknown</Flag>
    </Subtitles>
    <SubtitlesText>Unknown</SubtitlesText>
    <framerate>23.976 </framerate>
    <aspectratio>2.35:1</aspectratio>
    <videoresolution>1920x816</videoresolution>
    <videocodec>V_MPEG4/ISO/AVC</videocodec>
    <videobitrate>8 115 Kbps</videobitrate>
    <audiocodec>DD51</audiocodec>
    <audiochannels>6 </audiochannels>
    <audiobitrate>640 Kbps</audiobitrate>
    <durationseconds>5700</durationseconds>
    <durationminutes>95</durationminutes>
    <duration>1h 35mn</duration>
    <filesizebytes></filesizebytes>
    <filesize></filesize>
    <container>matroska</container>
    <language></language>
    <languagecode></languagecode>
    <languages></languages>
    <languagecodes></languagecodes>
    <externalsubtitles />
    </mediainfo>
</movie>


<Movie.ext.tmgd nfo>

Code: [Select]
<?xml version="1.0"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ThumbGen="1">
  <hasrighttoleftdirection>false</hasrighttoleftdirection>
  <title>Buried</title>
  <originaltitle></originaltitle>
  <year>2010</year>
  <plot>Paul Conroy (Ryan Reynolds) is een aannemer uit de Verenigde Staten die werkzaam is in Irak. Na een aanslag van een groep terroristen wordt Paul wakker in een kist, onder de grond. Hij is levend begraven. Met enkel een aansteker en een mobiele telefoon moet Paul aan deze claustrofobische val proberen te ontsnappen...</plot>
  <tagline>170,000 SQ miles of desert. 90 minutes of Oxygen. No way out.</tagline>
  <rating>7.4</rating>
  <episodes />
  <episodesnames />
  <writers />
  <gueststars />
  <id>tt1462758</id>
  <releasedate>2010-11-25</releasedate>
  <mpaa>Rated R for language and some violent content.</mpaa>
  <actor>
    <name>Ryan Reynolds</name>
    <name>Robert Paterson</name>
    <name>Jos Luis Garca Prez</name>
  </actor>
  <genre>
    <name>Mystery</name>
    <name>Thriller</name>
  </genre>
  <director>
    <name>Rodrigo Corts</name>
  </director>
  <runtime>95</runtime>
  <certification>R</certification>
  <studio>
    <name>Antena 3 Films</name>
  </studio>
  <country>
    <name>ESP</name>
  </country>
  <mediainfo>
    <Resolution>
      <Flag>Resolution_720p</Flag>
    </Resolution>
    <resolution>720P</resolution>
    <Format>
      <Flag></Flag>
    </Format>
    <format>mkv</format>
    <Video>
      <Flag>Video_v_mpeg4/iso/avc</Flag>
    </Video>
    <video>v_mpeg4/iso/avc</video>
    <Audio>
      <Flag>Audio_DD51</Flag>
    </Audio>
    <audio>DD51</audio>
    <Subtitles>
      <Flag>Unknown</Flag>
    </Subtitles>
    <SubtitlesText>Unknown</SubtitlesText>
    <framerate>23.976 </framerate>
    <aspectratio>2.35:1</aspectratio>
    <videoresolution>1920x816</videoresolution>
    <videocodec>V_MPEG4/ISO/AVC</videocodec>
    <videobitrate>8 115 Kbps</videobitrate>
    <audiocodec>DD51</audiocodec>
    <audiochannels>6 </audiochannels>
    <audiobitrate>640 Kbps</audiobitrate>
    <durationseconds>5700</durationseconds>
    <durationminutes>95</durationminutes>
    <duration>1h 35mn</duration>
    <filesizebytes></filesizebytes>
    <filesize></filesize>
    <container>matroska</container>
    <language></language>
    <languagecode></languagecode>
    <languages></languages>
    <languagecodes></languagecodes>
    <externalsubtitles />
    </mediainfo>
</movie>
<File>
<track type="General">

<Complete_name>/usenet/Movies/Buried (2010)/Buried (2010).mkv</Complete_name>
<Format>Matroska</Format>
<File_size>6.98 GiB</File_size>
<Duration>1h 35mn</Duration>
<Overall_bit_rate>10.5 Mbps</Overall_bit_rate>
<Encoded_date>UTC 2010-12-29 13:42:57</Encoded_date>
<Writing_application>mkvmerge v4.3.0 ('Escape from the Island') built on Sep  5 2010 10:30:51</Writing_application>
<Writing_library>libebml v1.0.0 + libmatroska v1.0.0</Writing_library>
</track>

<track type="Video">

<ID>1</ID>
<Format>AVC</Format>
<Format_Info>Advanced Video Codec</Format_Info>
<Format_profile>High@L4.1</Format_profile>
<Format_settings__CABAC>Yes</Format_settings__CABAC>
<Format_settings__ReFrames>5 frames</Format_settings__ReFrames>
<Muxing_mode>Container profile=Unknown@4.1</Muxing_mode>
<Codec_ID>V_MPEG4/ISO/AVC</Codec_ID>
<Duration>1h 35mn</Duration>
<Bit_rate>8 115 Kbps</Bit_rate>
<Nominal_bit_rate>8 322 Kbps</Nominal_bit_rate>
<Width>1 920 pixels</Width>
<Height>816 pixels</Height>
<Display_aspect_ratio>2.35:1</Display_aspect_ratio>
<Frame_rate>23.976 fps</Frame_rate>
<Resolution>8 bits</Resolution>
<Colorimetry>4:2:0</Colorimetry>
<Scan_type>Progressive</Scan_type>
<Bits__Pixel_Frame_>0.216</Bits__Pixel_Frame_>
<Stream_size>5.41 GiB (77%)</Stream_size>
<Writing_library>x264 core 112 r1834 a51816a</Writing_library>
<Encoding_settings>cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=8322 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=none</Encoding_settings>
</track>

<track type="Audio" streamid="1">

<ID>2</ID>
<Format>AC-3</Format>
<Format_Info>Audio Coding 3</Format_Info>
<Codec_ID>A_AC3</Codec_ID>
<Duration>1h 35mn</Duration>
<Bit_rate_mode>Constant</Bit_rate_mode>
<Bit_rate>640 Kbps</Bit_rate>
<Channel_s_>6 channels</Channel_s_>
<Channel_positions>Front: L C R, Side: L R, LFE</Channel_positions>
<Sampling_rate>48.0 KHz</Sampling_rate>
<Stream_size>437 MiB (6%)</Stream_size>
<Title>AC3</Title>
</track>

<track type="Audio" streamid="2">

<ID>3</ID>
<Format>DTS</Format>
<Format_Info>Digital Theater Systems</Format_Info>
<Codec_ID>A_DTS</Codec_ID>
<Duration>1h 35mn</Duration>
<Bit_rate_mode>Constant</Bit_rate_mode>
<Bit_rate>1 510 Kbps</Bit_rate>
<Channel_s_>6 channels</Channel_s_>
<Channel_positions>Front: L C R, Side: L R, LFE</Channel_positions>
<Sampling_rate>48.0 KHz</Sampling_rate>
<Resolution>24 bits</Resolution>
<Stream_size>1.01 GiB (14%)</Stream_size>
<Title>DTS</Title>
</track>

<track type="Text">

<ID>4</ID>
<Format>UTF-8</Format>
<Codec_ID>S_TEXT/UTF8</Codec_ID>
<Codec_ID_Info>UTF-8 Plain Text</Codec_ID_Info>
<Title>Nederlands</Title>
<Language>Dutch</Language>
</track>

</File>
</movie>

Keep on the good work
Title: Re: SheetMaker for Linux
Post by: bunyip on January 16, 2011, 03:46:04 AM
Thanks DaChouffe,

I missed those differences, I left off a step when generating the external version of the NFO file, I'll fix that. I'll also fix the header differences.

As to the problem, I'm getting a bit confused, if I have interpreted the tests correctly, you and Snappy46 are contradicting each other. I'll need to investigate further.

Quote
If the time is right, i will bug you with templates that are not working correct..
Yes, please raise any template issues. I have had to make template adjustments myself to get them to work correctly under Linux.

@Snappy46
Quote
PS: I have a few suggestion for SheetMaker but I will wait to see your next version before I bug you with my requests.
No don't wait, best to raise them now while in early development. (But they may just get put on the to-do list or in the 'oh-that's-silly' pile).
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 16, 2011, 06:31:37 AM
As to the problem, I'm getting a bit confused, if I have interpreted the tests correctly, you and Snappy46 are contradicting each other. I'll need to investigate further.


Nope we are saying the same thing, NFO inside .tgmd is different than the one created on the movie folder movie.nfo.  When I replace the NFO in the .tgmd with movie.nfo + rename there are no more issues with tixvie2playOnHD program.

Too add to your to do list:

A remove all done button would be nice especially when doing bash process of a many movies.  Let's say you have 60 movies and run the process automatically then when done you could click on that button and all the done movie gets removed from the list.  All the remains are the no match / errors ( the one that did not get process for one reason or another).  Now you can set some options (prompt for movie name etc..) the finish the process.

I haven't look at your latest version yet I will download it now.

Thanks man; this is great.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 16, 2011, 07:07:54 AM
Bug report:

The "edit fromTGMD" option on the movie selector is never enable.  I am assuming that this button should be enable when a TGMD file is available on a movie that is on the file to be process window or just after creating new moviesheet with TGMD file but it is not the case.  Maybe I just do not understand when this should be enable.

More other things for my wish list:

-  Make it so when you are using the sheet editor and you load the TGMD file that all the moviesheets are available not just the main sheet.  Right now only the main sheet is available for editing until we press the test only button; all sheets should be loaded with the TGMD so they can be viewed and edited if required.   Also all the test file reside in the main sheetmaker directory which can make things look a little messy it would be better if they reside in their own test directory in sheetmaker directory tree like TGMD.  I know that this is work in progress and thank you for the early release.

Man I really hate this part; I know how easy it is to criticised someone's work.  I am trying to be as constructive as I can but it still does not feel good.  At the end of the day your are the developer so you do what you think is best.

Cheers !!!
Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 16, 2011, 11:06:37 AM
Bug report:

The "edit fromTGMD" option on the movie selector is never enable.  I am assuming that this button should be enable when a TGMD file is available on a movie that is on the file to be process window or just after creating new moviesheet with TGMD file but it is not the case.  Maybe I just do not understand when this should be enable.

The "edit from TGMD" button is activated if you select a movie (Not the folder) and press the "Show file info" button. I've asked bunyip if it would be possible to make the folder selectable instead of the movie file. That would be more logical to me.

Quote
-  Make it so when you are using the sheet editor and you load the TGMD file that all the moviesheets are available not just the main sheet.  Right now only the main sheet is available for editing until we press the test only button; all sheets should be loaded with the TGMD so they can be viewed and edited if required.   Also all the test file reside in the main sheetmaker directory which can make things look a little messy it would be better if they reside in their own test directory in sheetmaker directory tree like TGMD.  I know that this is work in progress and thank you for the early release.


That's a plus one :D

If you don 't want a messy sheetmaker directory, it 's possible with the settings menu to give the "log", and "Temp working directory" a different location.  ;)
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 16, 2011, 12:47:47 PM

The "edit from TGMD" button is activated if you select a movie (Not the folder) and press the "Show file info" button. I've asked bunyip if it would be possible to make the folder selectable instead of the movie file. That would be more logical to me.

If you don 't want a messy sheetmaker directory, it 's possible with the settings menu to give the "log", and "Temp working directory" a different location.  ;)


Thanks for the tips DaChouffe; maybe before I make silly comments I should read the documentation thoroughly.  :-[
Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 16, 2011, 01:46:16 PM

The "edit from TGMD" button is activated if you select a movie (Not the folder) and press the "Show file info" button. I've asked bunyip if it would be possible to make the folder selectable instead of the movie file. That would be more logical to me.

If you don 't want a messy sheetmaker directory, it 's possible with the settings menu to give the "log", and "Temp working directory" a different location.  ;)


Thanks for the tips DaChouffe; maybe before I make silly comments I should read the documentation thoroughly.  :-[

No sweat, we're to help.  :D
Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 16, 2011, 01:50:36 PM
@bunyip,

Is the button "View large size" not to much?? Because you can enlarge the picture by clicking on it. ???
Did you think about the extra edit options in the movie editor sheet, to edit the mediainfo.. ???

I 'm going to watch hung, tomorrow back to work  :(

Cu
Title: Re: SheetMaker for Linux
Post by: bunyip on January 16, 2011, 02:18:11 PM
Hi Guys, thanks again for the excellent feedback.

1. NFO Problem.
Yes agreed that the separate NFO & TGMD versions are different - I'm fixing that.
It looks like the problem with the TGMD version is a stray "</movie>" terminator in the middle of the file.

2. (snappy46)
Quote
A remove all done button would be nice especially when doing bash process of a many movies.
An excellent idea - consider it added to the list. (Should have thought of that myself).

3. (snappy46)
[Edit From TGMD] button activation.
Yes - at present its active only when using the [Show File Info] option. I agree its rather inconsistent and confusing, I'll look at enabling it whenever a preview image is shown (and a TGMD exists) regardless of what stage its at.

4. (snappy46)
Quote
Make it so when you are using the sheet editor and you load the TGMD file that all the moviesheets are available not just the main sheet.
Another good idea, I can just detect all the existing related covers and sheets and enable the relevant buttons - that's an easy addition.

5. (snappy46)
Quote
Also all the test file reside in the main sheetmaker directory.
Yes as DaChouffe has pointed out, they are written to the 'Temp Working Directory' as specified in your 'Settings', its better to point this away from your main work area. Everything in the 'Temp Working Dir' are throw-away files and are re-created and removed repeatedly during processing.

6. (DaChouffe)
Quote
Is the button "View large size" not to much?? Because you can enlarge the picture by clicking on it.
I totally agree, originally it wasn't there, I added it in the first public Release version because there was no indication anywhere that you could view a larger image. But its now in the documentation so I will remove it in the future releases.

7.  (DaChouffe)
Quote
Did you think about the extra edit options in the movie editor sheet, to edit the mediainfo..
Well, the 'mediainfo' data is extracted from the movie file itself, there might be some value in editing this data. I'll put it on the 'To be Considered' list.
 

Quote
Man I really hate this part; I know how easy it is to criticised someone's work.  I am trying to be as constructive as I can but it still does not feel good.  At the end of the day your are the developer so you do what you think is best.
That's OK. User feedback is essential for effective software development. I'll just filter out the non-constructive requests and suggestions.

Keep the ideas coming.

(Edited for spelling.)
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 17, 2011, 05:15:19 AM
Bug Report:

It would appear that the reported quality/resolution of the moviesheet (I am using the latest thumbgen default template) being made are always 1 less than the file quality/resolution.  In other words if the movie is 1080P, 720P logo is showing on the sheet; if movie is 720p, 480p logo is showing on the moviesheet, etc .....  By the way this seems to be the case for all my movies sheet created with Sheetmaker.

I am not sure if that is related to mediainfo not reporting the proper standard or Sheetmaker not reading the results from mediainfo properly.  The same template works fine with thumbgen.  I'll see if I can find out more info for you when I have a chance, I just noticed it on my TV Screen while going thru the movie jukebox.  The boss of the house (wife) wants me to watch TV with her tonight.  :D

Thanks
Title: Re: SheetMaker for Linux
Post by: bunyip on January 17, 2011, 01:07:02 PM
Hi Snappy,

Its not a bug as such, its a matter of interpretation, I actually struggled with this issue for a while and finally took the basic option.

I'm taking the literal no of scan lines of the movie file as reported by mediainfo and determine what range it falls into. So if the movie is 720x400 (16:9) it literally falls in the rough range  of 399 to 560 so it is reported as being 480P.
Thumbgen may give some credit to it's 'no. of pixels per line' as well and apply a magic formula that says since its width resolution is considered high we'll give the height extras credits and bump it up to 720P, which in my books is misleading, I always want to know the no. of scan lines.

I'd be interested in anyone's thoughts on this.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 17, 2011, 09:56:47 PM
Hi Snappy,

Its not a bug as such, its a matter of interpretation, I actually struggled with this issue for a while and finally took the basic option.

I'm taking the literal no of scan lines of the movie file as reported by mediainfo and determine what range it falls into. So if the movie is 720x400 (16:9) it literally falls in the rough range  of 399 to 560 so it is reported as being 480P.
Thumbgen may give some credit to it's 'no. of pixels per line' as well and apply a magic formula that says since its width resolution is considered high we'll give the height extras credits and bump it up to 720P, which in my books is misleading, I always want to know the no. of scan lines.

I'd be interested in anyone's thoughts on this.


Thanks I now understand the results I am getting.  I must admit that I am a bit in disagreement with the theory however. Because of all the various cinematic format the height can be misleading considering that the black lines on top and the bottom of the screen (letterbox) are not included in the scan lines count.  With that in mind there isn't too many bluray disk that are even 1080P especially for any movie that use the theatrical version of the movie.  Here's something crazy why not use the width as the determining factor for the height resolution ???????  So if width is 1920 it's a 1080P standard, 1280 width = 720P and 640 width = 480P.  Those just represent standard anyway not actual scan lines ...... Those standard have obviously been defined from the days gone by where scan lines actually meant something, IMHO it would have made a lot more sense to use the width as the standard which remains constant within a specific standard.  Of course defining the width on an analogue television is a little hard.  :-\

Anyhow you wanted to know our opinion / thoughts on that so there it is.  Either way it is not a big deal I just thought it was a bug and wanted to report it.  The thing I am must interested in my moviesheet is the summary of the movie and other detail like rating etc.... not what the resolution standard logo might be.

Cheers !!!  Looking forward to your next release I am sure it will be great.
Title: Re: SheetMaker for Linux
Post by: bunyip on January 17, 2011, 11:52:24 PM
Here's something crazy why not use the width as the determining factor for the height resolution ???????  So if width is 1920 it's a 1080P standard, 1280 width = 720P and 640 width = 480P.
Actually, Jatimon took this approach in the original version of Thumbscanner, and maybe I was a bit quick to dismiss it because the results were unpredictable and misleading.

On further consideration maybe yes, this is the most appropriate method to make actual resolutions simulate the 'standard' set.

The flaw in Thumbscanner was that all files were expected to match exactly the standard widths. This resulted in no match for many files meaning no graphic being display on the moviesheet.

I'll re-visit this approach with the use of ranges of widths and see if we get a more acceptable result.

Quote
Either way it is not a big deal I just thought it was a bug and wanted to report it.  The thing I am must interested in my moviesheet is the summary of the movie and other detail like rating etc.... not what the resolution standard logo might be.

Yes, templates should always just display the real width/height and leave it at that.

Thanks.
Title: Re: SheetMaker for Linux
Post by: Phoenix126 on January 26, 2011, 01:27:14 AM
I'm hoping someone can help me here. I would like to use SheetMaker to improve the user experience on my AC Ryan PlayOn Mini.
My media server is running Ubuntu 10.10 and I installed SheetMaker.

Problem is; when I execute the SheetMaker.pl script I get the following error message:-

Failed to open file 'stock_apply_14.png': No such file or directory at /home/"username"/SheetMaker/SheetMaker.pl line 56.

During manual installation of some of the required packages I got a couple of error messages but they flashed past on the screen so fast that I missed them.

Any ideas?

Edit : Incidentally the file 'stock_apply_14.png' is present in the folder.
Title: Re: SheetMaker for Linux
Post by: bunyip on January 26, 2011, 02:20:23 AM
Hi Pheonix126,
Welcome to the 'SML' clan.

If you got that far then it should mean that the modules were installed correctly, but just to be certain can you run the 'ModuleTest.pl' script again and make sure its not reporting any errors.

Basically the program looks in the same directory from where you ran the 'Sheetmaker.pl' script for those image files, so as long as you just executed the script from within the '/home/"username"/SheetMaker' directory it should find it. (BTW I'm assuming "username" just represents your actual user name).
The other possibility is that may not have 'read' permission on that file, can you check that?.

 
Title: Re: SheetMaker for Linux
Post by: Phoenix126 on January 26, 2011, 02:39:04 AM
Thanks for the quick reply.
Here's the output from ModulTest.pl

*** All required modules are installed on this system:
Gtk2
Gtk2::SimpleList
Gtk2::SimpleMenu
Gtk2::Pango
Image::ExifTool
Fcntl
File::stat
File::Basename
File::Finder
Image::Magick
feature 'switch'
Text::Unidecode
utf8
Storable
Cwd
XML::TokeParser
XML::Bare
XML::RPC
Data::Dumper
Math::Trig
LWP::UserAgent
HTML::Entities
IMDB::Film


*** Testing for program 'mediainfo' ..
'mediainfo' - OK

Yes "username" refers to my user name. I do have read permissions on the file (read-only) - is that correct? There is a padlock icon on that files as well.
Title: Re: SheetMaker for Linux
Post by: bunyip on January 26, 2011, 03:03:24 AM

Yes "username" refers to my user name. I do have read permissions on the file (read-only) - is that correct? There is a padlock icon on that files as well.

No that's not right, there shouldn't be a lock on the image files, it sounds like a permission issue. Make sure that you are the owner of all the files and in addition check the ownership  and permissions of the 'SheetMaker' directory itself.
Title: Re: SheetMaker for Linux
Post by: Phoenix126 on January 26, 2011, 03:52:10 AM
OK, well for experimental purposes I recursivley chmodded the entire folder to 777 permissions. Obviously the padlock has now gone but the error message remains when I try to run the script.

Actually - if I'm reading the error message correctly - it looks as if the script is looking for the png file in SheetMaker.pl itself.
Title: Re: SheetMaker for Linux
Post by: Phoenix126 on January 26, 2011, 04:26:40 AM
One more thing; I've been executing the script using the following command:-

~/SheetMaker/SheetMaker.pl  (I renamed the folder for the sake of ease of typing.)

If I cd into the SheetMaker folder then try:-

SheetMaker.pl

I get "SheetMaker.pl command not found"
Title: Re: SheetMaker for Linux
Post by: Phoenix126 on January 26, 2011, 05:48:16 AM
OK we're getting there. I can run the script now (double-clicking does it - D'Uh!)

I now get the following message when it runs:-
No Templates Found. Use Edit-->Settings to correct path.

Where can I find templates?
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 26, 2011, 07:24:57 AM
Quote from: Phoenix126
If I cd into the SheetMaker folder then try:-

SheetMaker.pl

I get "SheetMaker.pl command not found"

If you cd into ~/Sheetmaker/SheetMaker.pl the command to run it should be ./Sheetmaker.pl so that linux look in that directory for that file since ~/SheetMaker is probably not in your PATH environnement variable.

Quote from: Phoenix126
Where can I find templates?

Look at the stickies on top of the WDTV LIVE Homebrew /custom firmware a lot of template to choose from.  You need to select edit in the main window and do your settings before using.  I suggest you read the HTML Doc included with SheetMaker; all the info is there to setup.

Cheers !!!
Title: Re: SheetMaker for Linux
Post by: Phoenix126 on January 26, 2011, 08:53:01 AM
Looks like it's working now. Thanks

All I need to know now is how to access the sheets from my AC Ryan PlayOn! Mini
Title: Re: SheetMaker for Linux
Post by: bunyip on January 26, 2011, 02:04:08 PM
Hi Guys,

I'm on the opposite side of the planet to you so my sleep time corresponds with your awake time so I disappeared for a while to snooze.

Thanks Snappy for giving Pheonix a further help with this.

Looks like it's working now. Thanks

All I need to know now is how to access the sheets from my AC Ryan PlayOn! Mini

I can't help you with the 'PlayOn' (I don't own one) but there are many here who can, I'm sure they'll surface in a short while. (There is also a separate forum for the PlayOn where you might find some answers =>  http://www.acryan.com/forums/index.php ).
 
Title: Re: SheetMaker for Linux
Post by: bunyip on January 26, 2011, 02:18:36 PM
Just a progress update...

Development of the next release (the TV/Episodes version) is progressing well but more work to be done yet.

I'm working at making it fit in with the TV templates that are being written for use with Thumbgen, but there seems an increase in the use of XLST in the latest templates so results can be a bit unpredictable, but small template adjustments can usually get around these problems for now.

Keep checking back here or on the website (http://users.on.net/~garstev99/wdtv/) - it shouldn't be too long for the next release.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 27, 2011, 05:20:32 AM
I'm on the opposite side of the planet to you so my sleep time corresponds with your awake time so I disappeared for a while to snooze.

Thanks Snappy for giving Pheonix a further help with this.


No one ever said that you had to do all the work yourself  ;D.

Where is the opposite side of the planet ????   I am in Eastern Canada at my age I do not go to sleep anymore I am afraid I won't wake up ...... Just kidding I am not quite there yet.  8)

By the way I have been looking for a Thumbnail template (template.xml for cover) but haven't had much luck yet.  Looks like I may have to build one myself I would like something a little more appealing than the plain cover found on the database.

Looking forward to your next release.

PS: The SML Clan as you call it seem to be pretty small ...... People if you using/tried Sheetmaker please take the time to say thanks to bunyip and provide some feedback.  I am sure there are a lot of linux user's out there.
Title: Re: SheetMaker for Linux
Post by: Phoenix126 on January 27, 2011, 05:36:32 AM
There is also a separate forum for the PlayOn where you might find some answers =>  http://www.acryan.com/forums/index.php

I'm a member of that forum already and have posted my request for help there. But I could only find a single post relating to SheetMaker (which, incidentally, is how I found this forum). So it doesn't look as if many people are using it. Mostly running Windows I assume.

Here's hoping.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 27, 2011, 07:30:26 AM
There is also a separate forum for the PlayOn where you might find some answers =>  http://www.acryan.com/forums/index.php

I'm a member of that forum already and have posted my request for help there. But I could only find a single post relating to SheetMaker (which, incidentally, is how I found this forum). So it doesn't look as if many people are using it. Mostly running Windows I assume.

Here's hoping.

It does not matter if your moviesheet are created by thumbgen or Sheetmaker the procedure is the same.  You need to read up on the How to guide of tvixie2PlayOn or YAMJ on the AC Ryan forum.  Creating the moviesheets/cover is only the first part of the process.

Cheers !!!
Title: Re: SheetMaker for Linux
Post by: Phoenix126 on January 27, 2011, 07:49:45 AM
Oh bugger. I thought I was going to get away with not using YAMJ.
Title: Re: SheetMaker for Linux
Post by: Phoenix126 on January 27, 2011, 10:08:13 AM
Well it seems to work OK without YAMJ. You just need to press the "slow" button to bring up the first sheet then you can scroll through them using the "up" "down" buttons.
Two things though: is it possible to view multiple thumbnails at once and scroll/select from them?
And some of my sheets appear with the wrong aspect ratio; squashed up vertically. Any reason for that? Most are fine.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 27, 2011, 10:54:18 AM
Two things though: is it possible to view multiple thumbnails at once and scroll/select from them?

No that's why you need YAMJ or Tvixie2PlayOn software to create an RSS movie jukebox.  I personnally prefer Tvixie2playon since YAMJ is very slow.  It takes a bit a time to setup Tixvie2PlayOn properly but once done it works great.  I can display 24 thumnail at a time using my player and select the movie I want which brings up the moviesheet with all the info on it (main Moviesheet).  Press play again and the movie start. It also offers 4 different views (thumbnail view, photofocus (just one row of thumbnail), Moviesheet + scrolling row of thumbnail in the bottom, or movie wall (Scrolling movie title on the left side with background moviesheet as you scroll thru the various title.  It works great.

And some of my sheets appear with the wrong aspect ratio; squashed up vertically. Any reason for that? Most are fine.

Not sure why you are getting wrong aspect ratio unless the backgoround from the movie.db (database) is too small and get strech.  I suggest you load up that moviesheet into SheetMaker sheet editor and see if you can select a different background picture and generate it again with the new background.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 27, 2011, 11:11:43 AM
Hey bunyip,

Would it be possible to detect external subtitles ??? Maybe with language ???

Is this something what could be added, or has this to do with xlms.:

I was unable to find image element information .. Aud1
CRIT:   I was unable to find image element information .. Aud2
CRIT:   I was unable to find image element information .. Aud3
CRIT:   I was unable to find image element information .. Aud4
CRIT:   I was unable to find image element information .. Aud5

If with LSM a template is recreated, is the information extracted from the tgmd ??? If this is so, would it be possible to make an option to disable this ??? So you can create from scratch..

Keep on the great work, really love this program  ;D ;D

Cu
Title: Re: SheetMaker for Linux
Post by: bunyip on January 27, 2011, 02:22:22 PM
Where is the opposite side of the planet ????
Opposite and 'Downunder'.

Hey bunyip,

Would it be possible to detect external subtitles ??? Maybe with language ???

Is this something what could be added, or has this to do with xlms.:

I was unable to find image element information .. Aud1
CRIT:   I was unable to find image element information .. Aud2
CRIT:   I was unable to find image element information .. Aud3
CRIT:   I was unable to find image element information .. Aud4
CRIT:   I was unable to find image element information .. Aud5

If with LSM a template is recreated, is the information extracted from the tgmd ??? If this is so, would it be possible to make an option to disable this ??? So you can create from scratch..

Keep on the great work, really love this program  ;D ;D

Cu
Yes I know more work is needed on languages, subtitles and extra audio - they are on the enhancement list.

In this early stage SML is defaulting to using the TGMD if it exists (so for now you need to manually delete or rename the TGMD file if you don't want it used), but I will include an option to ignore the TGMD file and the option to over-write it in the next release.

By the way I have been looking for a Thumbnail template (template.xml for cover) but haven't had much luck yet.  Looks like I may have to build one myself I would like something a little more appealing than the plain cover found on the database.
The 'Template Mega Pack 1.7' includes some thumbnail templates.

And some of my sheets appear with the wrong aspect ratio; squashed up vertically. Any reason for that? Most are fine.
Yes I noticed some of the templates are not setup correctly, they use narrow thumbnail (cover) images where they should be using wide 'fanart' images. You can easily edit your templates and experiment with the parts that have the values %BACKGROUND%, %FANART1%, %FANART2%, %FANART3% and %COVER%. Just try switching these values about.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 28, 2011, 06:50:36 AM
[The 'Template Mega Pack 1.7' includes some thumbnail templates.

Thank you this is exactly what I was looking for.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 28, 2011, 08:47:12 AM
I'm working at making it fit in with the TV templates that are being written for use with Thumbgen, but there seems an increase in the use of XLST in the latest templates so results can be a bit unpredictable, but small template adjustments can usually get around these problems for now.

I am not really familiar with XSLT or the process used by thumbgen to create the moviesheet but what does those XSLT templates actually do?  Transform the template.xml based upon the movie info and using that modified template.xml to create the movie sheet?????   Does thumbgen use some kind of XSLT interpreter to run those XLST template ????  Could this not be implemented into SheetMaker for linux???  I am talking about feasibility to implement here not the amount of work this might entailled.

Just curious here that's all; not impliying that it should be included on Sheetmaker; plenty of moviesheet just using plain template.xml without the XSLT to make me happy for a long long time !!! :D

EDIT: A little bit of reading has enlighten me some.  It would appear that libxslt can be use to implement that capability; it even has a perl binding available on CPAN: http://search.cpan.org/dist/XML-LibXSLT/ (http://search.cpan.org/dist/XML-LibXSLT/).  Would the implementation be as simple (Probably bad choose of words) as: Detecting if a template.xslt file is available;  if so send template.xslt + template.xml to ----> libxslt for processing.  Take output of libxslt (New modified template.xml) and process moviesheet using that template.  Is that too simplistic ..... Am I missing something here.

Thanks
Title: Re: SheetMaker for Linux
Post by: jatimon on January 28, 2011, 12:09:23 PM
This is absolutely awesome!!

I am very glad to see that my meager command line tool has evolved into something as pretty as this tool is. 

My personal life and work life became so ridiculously busy that I had been unable to continue developing my script.

bunyip, thank you for taking it to the next level!

I would like to offer you up some helps if needed, now that we are in a new year I expect to have more available time and would like to see this coding effort continue. 

--
JT
Title: Re: SheetMaker for Linux
Post by: DaChouffe on January 28, 2011, 01:37:28 PM
This is absolutely awesome!!

I am very glad to see that my meager command line tool has evolved into something as pretty as this tool is. 

My personal life and work life became so ridiculously busy that I had been unable to continue developing my script.

bunyip, thank you for taking it to the next level!

I would like to offer you up some helps if needed, now that we are in a new year I expect to have more available time and would like to see this coding effort continue. 

--
JT

Hey jatimon, welcome back.  :D
Title: Re: SheetMaker for Linux
Post by: bunyip on January 28, 2011, 02:23:16 PM
Hi Snappy,

XSLT support is already on the to-do list and will be incorporated into Sheetmaker once all the other base functionality is complete. XSLT puts a bit more programmatic intelligence over the top of XML allowing flat XML to be more dynamic, but we must have all the base stuff working first.

This is absolutely awesome!!

I am very glad to see that my meager command line tool has evolved into something as pretty as this tool is. 

My personal life and work life became so ridiculously busy that I had been unable to continue developing my script.

bunyip, thank you for taking it to the next level!

I would like to offer you up some helps if needed, now that we are in a new year I expect to have more available time and would like to see this coding effort continue. 
--
JT

Well, hello Jatimon, I was beginning to think you had left us.
Thanks for the support - its most welcome.
My compliments to you for taking the effort initially to create a great rendering base that could be built on. Sheetmaker would not exist if you hadn't made this available, it was the encouragement I needed to start building a linux GUI tool that us 'Linuxians' badly needed.

Your offer of help is appreciated, I hope to take this utility all the way to be a general purpose tool supporting everything the guys over at the Thumbgen camp can throw at us ( and they seem to be throwing new stuff frequently), there will probably be more adjustments to the rendering code needed in order to support all templates, more on that later.

I'm building the TV/Episodes and Playlist functionalities into Sheetmaker now (your rendering code still fits into this very well)  and this may highlight more necessary adjustments.

Glad you're back on board.
Cheers.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 29, 2011, 02:10:09 PM
Hi Snappy,

XSLT support is already on the to-do list and will be incorporated into Sheetmaker once all the other base functionality is complete. XSLT puts a bit more programmatic intelligence over the top of XML allowing flat XML to be more dynamic, but we must have all the base stuff working first.

Thanks for the info;  regarding XSLT;  I was just curious about the feasibility.

Here's a small problem that I found when I was using thumbnail template.  This folder.jpg was done using thumbgen and the SMLfolder.jpg was done using SML.  On the thumbnail done by SML the right and bottom edge did not get fill in and also the start rating should be a max of 5 stars (2 points per start for a maximum point of 10); but it seem to want to construct the thumbnail using 1 start per rating point.  I hope I am making sense here.  These thumbnail were done using "Alucard_CoverBox Movie Thumbs WhiteBack Resolution[RES]" that is part of the "Template Mega Pack 1.7".  I tried to play around the template to fix the issue but I was not sucessful.  Just thought I would bring it up to your attention.


Cheers !!! 
Title: Re: SheetMaker for Linux
Post by: bunyip on January 30, 2011, 02:12:07 PM
Thanks Snappy,

I understand. The original rendering code was designed primarily for sheets only, I'll need to make some minor adjustments so that it does a few things differently when rendering thumbnails, at the moment it doesn't know there is a difference between sheets and thumbnails. (Frankly neither did I until you pointed it out).
 
Cheers.
Title: Re: SheetMaker for Linux
Post by: snappy46 on January 30, 2011, 05:23:51 PM
Thanks Snappy,

I understand. The original rendering code was designed primarily for sheets only, I'll need to make some minor adjustments so that it does a few things differently when rendering thumbnails, at the moment it doesn't know there is a difference between sheets and thumbnails. (Frankly neither did I until you pointed it out).
 
Cheers.

To be honest I do not think there is a difference how the thumbnail and moviesheet are process.  In the thumbgen version that I was using you can not set a template for thumbnail you have to use one of the three moviesheet (main extra or parent) to use for the thumbnail template.  I also try that with Sheetmaker; selected the thumbnail template for one of the moviesheet but the results were the same.
Title: Re: SheetMaker for Linux
Post by: jatimon on January 30, 2011, 06:22:56 PM
Thanks Snappy,

I understand. The original rendering code was designed primarily for sheets only, I'll need to make some minor adjustments so that it does a few things differently when rendering thumbnails, at the moment it doesn't know there is a difference between sheets and thumbnails. (Frankly neither did I until you pointed it out).
 
Cheers.

To be honest I do not think there is a difference how the thumbnail and moviesheet are process.  In the thumbgen version that I was using you can not set a template for thumbnail you have to use one of the three moviesheet (main extra or parent) to use for the thumbnail template.  I also try that with Sheetmaker; selected the thumbnail template for one of the moviesheet but the results were the same.


just a guess, since I haven't really looked at what mods you have made to my codebase, but the star graphic was two different sizes, I wrote a check on the image size before laying it down on the moviesheet so that it would correctly calculate the number of stars to display for the movie rating.  I suspect this is a related issue.
Title: Re: SheetMaker for Linux
Post by: bunyip on January 30, 2011, 07:20:30 PM
just a guess, since I haven't really looked at what mods you have made to my codebase, but the star graphic was two different sizes, I wrote a check on the image size before laying it down on the moviesheet so that it would correctly calculate the number of stars to display for the movie rating.  I suspect this is a related issue.

Hi jatimon,
The 'ratingstars' portion of the 'AddImageElement' subroutine is unchanged from your original, (no need to change something that wasn't broken).
I think snappy hit on the issue when he mentioned one star = 2 rating points, whereas if I'm reading it correctly, your code always uses 1 star = 1 rating point, so we are trying to squeeze 10 stars into a very small area. Your code does 'crop' the stars if they are > 24px wide but these are only 14px wide.
Thumbgen may automatically switch to 2:1 (i.e 5 stars) if there isn't room to fit 10 stars, rather than reduce the stars that would then be difficult to see.
If you agree with this, then a simple general adjustment is all that's needed and it won't matter to the code that its dealing with a thumbnail and not a sheet.

I haven't looked at the other subtle differences yet.
Title: Re: SheetMaker for Linux
Post by: snappy46 on February 09, 2011, 09:52:00 AM
Read your post on your site about the current status.  I am glad to see that things seem to be moving along.  Do not hesitate to contact me (PM) if you need help with anything Dev/Testing.  Can't way for the next release ..... but I guess I will have to  ;D.

It would also be nice to have some kind of install program that detect our configuration file so that it does not have to be recreated unless it needs to due to changes in the program so that we do not have to do the configuration everytime a new update is install.

By the way I am still getting some issue with reading .tgmd files at times using the sheet editor or when I try to create a sheet where the .tgmd file exist (created by sheetmaker).  This could only be me however I had some issues with my USB drive in the past little while but I never had that issue using thumbgen.

Cheers !!!  .... Looking forward to your next release.
Title: Re: SheetMaker for Linux
Post by: bunyip on February 09, 2011, 06:44:45 PM
Hi Snappy,

Interesting time of the year here. I live on a farm in the Australian bush (gave up city life a few years ago) and over December we were hit with floods, January/February we are dealing with heat waves and bush fires, never a dull moment, so there is a lot of outdoors work needed to combat these extremes. Coding had to take a back seat for a while but conditions have now stabilised to something you might call 'normal' so I can resume work on 'SML' again.

Yes I have been looking at the way the SML handles new config file entries and existing files. At present SML will accept an existing config file if the user throws away the default one and copies in their saved config file. But it would be a better approach if I got the code to dynamically create a default file but only if one doesn't already exist.

We'll address your TGMD file issues if they still exist after the next release.

Cheers.
Title: Re: SheetMaker for Linux
Post by: snappy46 on February 10, 2011, 09:20:51 AM
Interesting time of the year here. I live on a farm in the Australian bush (gave up city life a few years ago) and over December we were hit with floods, January/February we are dealing with heat waves and bush fires, never a dull moment, so there is a lot of outdoors work needed to combat these extremes.

Yeah you guy's certainly had your fair share of natural disaster lately; someone must have piss off mother nature.  Thankfully nothing like that here only snow, snowsquall and Freaking cold (-20 C today).

Cheers !!!
Title: Re: SheetMaker for Linux
Post by: jatimon on February 10, 2011, 09:32:28 AM
Interesting time of the year here. I live on a farm in the Australian bush (gave up city life a few years ago) and over December we were hit with floods, January/February we are dealing with heat waves and bush fires, never a dull moment, so there is a lot of outdoors work needed to combat these extremes.

Yeah you guy's certainly had your fair share of natural disaster lately; someone must have piss off mother nature.  Thankfully nothing like that here only snow, snowsquall and Freaking cold (-20 C today).

Cheers !!!

-20C  you must be in ontario canada.  thats where I am and it is crap cold.
Title: Re: SheetMaker for Linux
Post by: snappy46 on February 10, 2011, 12:23:40 PM
-20C  you must be in ontario canada.  thats where I am and it is crap cold.

Yeah; Barrie area to be more precise; I can't wait for the summer.  8)
Title: Re: SheetMaker for Linux
Post by: pingvinos on February 11, 2011, 10:58:42 AM
Hey guys.

First, thanks for making this.

I'm having a bit of a problem, I don't know if I've done something wrong, but sheetmaking isn't really happening for me.  :(

I start the program in a terminal using ./SheetMaker.pl
Then I set the template dir. as prompted.

Now I add a movie to the process list, using the folder name, click Start, then this happens:

Code: [Select]
Some Movie name: Retrieving data from 'imdb.com'.
Some Movie name: Retrieving Images from 'themoviedb.org'.
Some Movie name: Searching 'theMovieDB.org'
Some Movie name: Process Started

and then it hangs...

Here's the output from the terminal:

Code: [Select]
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/IMDB/Film.pm line 1135.
*** unhandled exception in callback:
***   [CRITICAL] Cannot retrieve url [http://www.imdb.com/title/tt/releaseinfo] at ./SheetMaker.pl line 2827
***  ignoring at ./SheetMaker.pl line 48.

Anybody know what the problem is?

Any help is appreciated.
Title: Re: SheetMaker for Linux
Post by: snappy46 on February 11, 2011, 12:19:48 PM
Hey guys.

First, thanks for making this.

I'm having a bit of a problem, I don't know if I've done something wrong, but sheetmaking isn't really happening for me.  :(

I start the program in a terminal using ./SheetMaker.pl
Then I set the template dir. as prompted.

Now I add a movie to the process list, using the folder name, click Start, then this happens:

Code: [Select]
Some Movie name: Retrieving data from 'imdb.com'.
Some Movie name: Retrieving Images from 'themoviedb.org'.
Some Movie name: Searching 'theMovieDB.org'
Some Movie name: Process Started

and then it hangs...

Here's the output from the terminal:

Code: [Select]
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/IMDB/Film.pm line 1135.
*** unhandled exception in callback:
***   [CRITICAL] Cannot retrieve url [http://www.imdb.com/title/tt/releaseinfo] at ./SheetMaker.pl line 2827
***  ignoring at ./SheetMaker.pl line 48.

Anybody know what the problem is?

Any help is appreciated.

That same error sneaks up on me once in a while also but very seldom.  I usually just close the software and restart and everything is ok again.  I never really concerned myself too much with it since it does not happen often but if it happens again I will look more closely next time this happen.  I usually launch sheetmaker by just double clicking on it however so no terminal is open.  Have you tried different movie files or just one ????   Which linux distribution are you using ????   Have you run the perl program (Forgot the name right now) on that same directory that make sure that all your dependencies have been satisfied ????
Title: Re: SheetMaker for Linux
Post by: bunyip on February 11, 2011, 04:20:28 PM
Hi pingvinos,

Unfortunately I have not been able to duplicate this error. Line 1135 of the imdb module is not consistent with the error so possibly you are running an earlier version of the 'imdb.film' module.

The people at IMDB.com still refuse to provide an API for general use so modules like 'imdb.film' have to screen-scrape the website to get at the data, and to make it worse they keep moving data around so earlier versions of the module fail because the data can't be found.

If you get this error on every film you try then I suggest that the module is either out-of-date or it is possibly corrupt. If it occurs only on one movie then it could be a problem with the imdb data for that movie, and it would be useful to know what film is causing the problem so we can look at the data.

As snappy suggests, firstly check that all modules are installed. The script included with Sheetmaker that checks modules only checks that they exist, it cannot check the integrity of the module. I would re-install the modules just to be certain.

************************
Hi snappy,

Yes, please provide any information you can gather if this problem occurs again, thanks. I'll also look at a way for Sheetmaker to recover nicely from external module crashes.

Cheers.

Title: Re: SheetMaker for Linux
Post by: pingvinos on February 12, 2011, 05:20:38 AM
Ahh, problem solved.

It was my own fault, as during installation of dependencies I tried to use synaptic (ubuntu btw) as much as possible, as I was unsure of the source by installing via ex.
Code: [Select]
sudo perl -MCPAN -e 'install IMDB::Film'
I then removed the perl imdb thing from synaptic and used the above command, success!

Initially I also had a problem with the imagemagick install command, it failed during the make process.
The module tester complained, even though it was installed via synaptic. This was solved by reinstalling the package.

I hope this all makes sense enough to maybe help others, and thanks for pointing me in the right direction.

Cheers!  :)
Title: Re: SheetMaker for Linux
Post by: bunyip on February 12, 2011, 02:44:34 PM
Hi pingvinos,

That's good news, thanks for the feedback.

Yes for those running Ubuntu or Debian ...
Usually the recommendation would be to install stuff from the Synaptics library, but these can be a few versions behind. In the case of Perl modules the recommendation will always be to install the latest versions directly from the source at CPAN.

However in the case of the Imagemagick package, I (and others) have found that it is best to install this from the Synaptic library, because that way all dependencies are satisfied. Trying to install this from the source places you in a seemingly endless loop of dependency failures.

Title: Re: SheetMaker for Linux
Post by: DaChouffe on February 24, 2011, 06:04:04 AM
Hey Bunyip,

If have noticed something strange, or odd behaviour with sheetmaker.

I have recently downloaded the movie 127 Hour. When i let sheetmaker search on the name "127 hours (2010).mkv" it will only find one movie. Total wrong. It seems sheetmaker is only searching on hour not on 127. If i let it search on 127 it will find the movie..

When sheetmaker has find the movie, and i want TViXie2Playon to build my jukebox it will crash on that movie. I can't figure out why.

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>

<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ThumbGen="1">

  <hasrighttoleftdirection>false</hasrighttoleftdirection>

  <title>127 Hours</title>

  <originaltitle></originaltitle>

  <year>2010</year>

  <plot>'127 Hours' vertelt het waargebeurde verhaal van bergbeklimmer Aron Ralston (James Franco). Tijdens een tocht in de bergen komt zijn arm onder een grote rots terecht waardoor hij klem komt te zitten in een diepe kloof. Aron heeft niemand verteld dat hij de bergen in is gegaan, waardoor er weinig hoop lijkt op een eventuele redding. Voor zijn ongeval ontmoette Aron nog wel twee bergwandelaars (Kate Mara & Amber Tamblyn). Zijn zij de laatste mensen die Aron ontmoette?</plot>

  <tagline>There is no force more powerful than the will to live.</tagline>

  <rating>8.1</rating>

  <episodes />

  <episodesnames />

  <writers />

  <gueststars />

  <id>tt1542344</id>

  <releasedate>2011-02-24</releasedate>

  <mpaa>Rated R for language and some disturbing violent content/bloody images.</mpaa>

  <actor>

    <name>James Franco</name>

    <name>Amber Tamblyn</name>

    <name>Kate Mara</name>

  </actor>

  <genre>

    <name>Drama</name>

    <name>Avontuur</name>

  </genre>

  <director>

    <name>Danny Boyle</name>

  </director>

  <runtime>93</runtime>

  <certification>R</certification>

  <studio>

    <name>Cloud Eight Films</name>

  </studio>

  <country>

    <name>USA</name>

  </country>

  <mediainfo>

    <Resolution>

      <Flag>Resolution_1080p</Flag>

    </Resolution>

    <resolution>1080P</resolution>

    <Format>

      <Flag></Flag>

    </Format>

    <format>mkv</format>

    <Video>

      <Flag>Video_v_mpeg4/iso/avc</Flag>

    </Video>

    <video>v_mpeg4/iso/avc</video>

    <Audio>

      <Flag>Audio_DTS51</Flag>

    </Audio>

    <audio>DTS51</audio>

    <Subtitles>

      <Flag>Unknown</Flag>

    </Subtitles>

    <SubtitlesText>Unknown</SubtitlesText>

    <framerate>23.976 </framerate>

    <aspectratio>16:9</aspectratio>

    <videoresolution>1920x1040</videoresolution>

    <videocodec>V_MPEG4/ISO/AVC</videocodec>

    <videobitrate>10.6 Mbps</videobitrate>

    <audiocodec>DTS51</audiocodec>

    <audiochannels>6 </audiochannels>

    <audiobitrate>1 510 Kbps</audiobitrate>

    <durationseconds>5580</durationseconds>

    <durationminutes>93</durationminutes>

    <duration>1h 33mn</duration>

    <filesizebytes></filesizebytes>

    <filesize></filesize>

    <container>matroska</container>

    <language></language>

    <languagecode></languagecode>

    <languages></languages>

    <languagecodes></languagecodes>

    <externalsubtitles />

    </mediainfo>

</movie>

This is the second movie with this problem, even removing everything and rebuild wont make any difference. Maybe you can make any sense out of it. ??? ???

When can we expect a new version  :D :D :D :D

Cu.. 
Title: Re: SheetMaker for Linux
Post by: bunyip on February 24, 2011, 05:58:05 PM
Hi DaChouffe,

Firstly, the next release is just hours away, I'm updating the documentation now and when its ready I will release the beta version containing the TV/Episode processing, plus some other enhancements and fixes.

Onto your search problem, yes it's a bug. Each movie name passes through a 'cleaning' process that attempts to strip out all the non movie-title stuff that often is included in file names. This process was a bit too zealous and stripped off the numbers. I've disabled the number-stripping code in the next release which should solve this problem.

The next release also includes a more 'standardised' NFO file creation, so with luck your other problem should also be fixed.

Cheers,
Bunyip.
Title: Re: SheetMaker for Linux
Post by: bunyip on February 25, 2011, 03:39:34 PM
A beta version of the next stage of Sheetmaker (i.e. TV/Episode processing) is now available for anyone who would like to try it.

Get it here => http://users.on.net/~garstev99/wdtv (http://users.on.net/~garstev99/wdtv)
Title: Re: SheetMaker for Linux
Post by: snappy46 on February 27, 2011, 05:56:15 PM
A beta version of the next stage of Sheetmaker (i.e. TV/Episode processing) is now available for anyone who would like to try it.

Get it here => http://users.on.net/~garstev99/wdtv (http://users.on.net/~garstev99/wdtv)


Thanks bunyip; I will give it a try when I have a chance and report my findings.
Title: Re: SheetMaker for Linux
Post by: snappy46 on February 27, 2011, 08:38:09 PM
Hi bunyip

There seem to be a problem with sheetmaker options settings.  I can enter a template for the main, extra and parent sheets but when I try to store settings the template disappear from those sheets hence I am not able to store those settings and have to set them back every time I reload the program.  The thumbnail template does however work fine.

I am still exploring but I haven't try the TV episode yet.  So far other than the problem I reported everything seems to work good.

Great job bunyip ...... keep it up!
Title: Re: SheetMaker for Linux
Post by: DaChouffe on February 28, 2011, 01:09:19 AM
@snappy46

Hey Snappy46,

Did you test the new SDK4 firmware from Playon with TVixie and Sheetmaker. I cant make it work at my side :(

Title: Re: SheetMaker for Linux
Post by: bunyip on February 28, 2011, 05:26:32 AM
Hi Snappy,

While I didn't get that problem when developing, I have been able to duplicate it - my fault.
I added code to dynamically create a default config file if one doesn't exist, but the order of entries is a bit off. You shouldn't get the problem if you keep your old config file.

I'll issue a bug-fix release ASAP, but you can do a temporary quick fix yourself by editing the config file and move the line 'TEMPLATEDIR=..' to line no. 2.

In short, the program is loading template lists and values in the wrong order.
Title: Re: SheetMaker for Linux
Post by: snappy46 on February 28, 2011, 06:52:03 AM
@snappy46

Hey Snappy46,

Did you test the new SDK4 firmware from Playon with TVixie and Sheetmaker. I cant make it work at my side :(



I didn't even know that they release a new firmware based on SDK4.  Since tvixie only create an RSS feed I am guessing that the new firmware must handle rss feed somewhat differently.  I will flash the new firmware when I have a chance and report my findings.  By the way I am almost done with a movie jukebox that willl make using tvixie obsolite and you will be able to update the movies using telnet or some other means that I am working on (TV Screen / infosite).  Unfortunately it process the movies entry similar to what tixvie does so it might be broken as well.

Anyhow those issues would be better reported on the ACRyan forum.

Cheers !!!
Title: Re: SheetMaker for Linux
Post by: DaChouffe on February 28, 2011, 08:17:19 AM
@snappy46

Hey Snappy46,

Did you test the new SDK4 firmware from Playon with TVixie and Sheetmaker. I cant make it work at my side :(



I didn't even know that they release a new firmware based on SDK4.  Since tvixie only create an RSS feed I am guessing that the new firmware must handle rss feed somewhat differently.  I will flash the new firmware when I have a chance and report my findings.  By the way I am almost done with a movie jukebox that willl make using tvixie obsolite and you will be able to update the movies using telnet or some other means that I am working on (TV Screen / infosite).  Unfortunately it process the movies entry similar to what tixvie does so it might be broken as well.

Anyhow those issues would be better reported on the ACRyan forum.

Cheers !!!

That's great news, didn't know you where working on something like that. But if you're ready, i realy would rely like to test it..
I know for sure they changed something with the rss in sdk4, yamj is looking much better, but it's no comparison with Sheetmaker.. ;D

I know that this is not the forum for pohd, but i knew that i could find you here..  ::)

Cu
Title: Re: SheetMaker for Linux
Post by: bunyip on February 28, 2011, 05:25:54 PM
There seem to be a problem with sheetmaker options settings.  I can enter a template for the main, extra and parent sheets but when I try to store settings the template disappear from those sheets hence I am not able to store those settings and have to set them back every time I reload the program.  The thumbnail template does however work fine.

A bug-fix release (1.22b.1) has been added to the download site, which should fix this glitch.
(This is why I need you independent testers).

Thanks,
Bunyip.
Title: Re: SheetMaker for Linux
Post by: snappy46 on March 01, 2011, 08:06:18 PM

A bug-fix release (1.22b.1) has been added to the download site, which should fix this glitch.
(This is why I need you independent testers).

Thanks,
Bunyip.

Tried new version; everything works great.  Will report any problems "if any" that I find.

Thanks again Bunyip
Title: Re: SheetMaker for Linux
Post by: DaChouffe on March 08, 2011, 12:13:35 PM
Was playing with the new version, everything looks fine. Didn't test the tv serie part, because i don't use it. Maybe later.. It looks like everythng is working. Couldn't find any irritating bugs. The only thing what catches my eye, are the two extra tgmd files. Is there a special reason for those files??
The search algorithms are working much better. Scanned 17 movies without a problem. Only the 127 hours gives me a headache, it's found correclty but TViXie stil crashes on this movie. Can't find out why.. :'(

Keep on the good work Bunyip ,

Snappy46, i realy look forward for your implantation if TViXie2POHD.

Thanks
Title: Re: SheetMaker for Linux
Post by: DaChouffe on March 17, 2011, 03:11:39 AM
@bunyip

Hi Bunyip,

I think i found i bug, or something.

If the text "Template.xml" is written without a capital  "T", sheetmaker won't find the template.

Cu
Title: Re: SheetMaker for Linux
Post by: bunyip on March 18, 2011, 12:27:37 AM
I think i found i bug, or something.

If the text "Template.xml" is written without a capital  "T", sheetmaker won't find the template.


Well a user might call it a 'bug', and a lazy programmer might call it a 'system requirement', but all I can say is 'Damn, someone found it, that means I'll have to fix it now!'.

Thanks, DaChouffe.

(FYI, I'm about to install a bug/wishes reporting facility on the Sheetmaker website.)
Title: Re: SheetMaker for Linux
Post by: snappy46 on March 18, 2011, 05:10:21 AM
Well a user might call it a 'bug', and a lazy programmer might call it a 'system requirement', but all I can say is 'Damn, someone found it, that means I'll have to fix it now!'.

 :)  So true;  LOL !!!
Title: Re: SheetMaker for Linux
Post by: snappy46 on March 18, 2011, 05:35:12 AM
Hi bunyip,

Since your wish list does not seem to be out yet I will post my request here:

I would like to see an option to create thumbnail / moviesheets to a rgb565 (bmp).  This could be a checkbox in the setting screen giving you the option to select any of the thumbnail/moviesheet creation as rgb565.  I could try to do it myself using your fine code but I am just too lazy and I haven't found a way to do this using imagik; I don't think you can just using the convert command.  I have found a linux source program they use for the android to565.c for conversion but it did not worked good for me after I compiled it.  The file size becomes exactly what is should be for the picture size but gimp is unable to read it and says that it is not formatted properly.  I know that gimp can read rgb565 (bmp) without any issues so the new file created after conversion is definitely of the proper format.

Here's the link to to565.c: http://android.git.kernel.org/?p=platform/build.git;a=blob;f=tools/rgb2565/to565.c (http://android.git.kernel.org/?p=platform/build.git;a=blob;f=tools/rgb2565/to565.c).  Maybe looking at the code you might be able to implement a perl version that will do the same or just call up that compile code from the perl scripts.

Yeah I know more work for you ...... sorry!

Keep up the good work;  I can not believe that me and DaChouffe and are the only one commenting in here; surely there are more linux user out there using your fine program.

Cheers !!!!
Title: Re: SheetMaker for Linux
Post by: DaChouffe on March 18, 2011, 06:32:23 AM
I think i found i bug, or something.

If the text "Template.xml" is written without a capital  "T", sheetmaker won't find the template.


Well a user might call it a 'bug', and a lazy programmer might call it a 'system requirement', but all I can say is 'Damn, someone found it, that means I'll have to fix it now!'.

Thanks, DaChouffe.

(FYI, I'm about to install a bug/wishes reporting facility on the Sheetmaker website.)


Great,

Was not really something. But i was doubting myself  ;)

I will take a look at the bug wished/reporting facility on your website.

Cu

 
Title: Re: SheetMaker for Linux
Post by: DaChouffe on March 18, 2011, 06:37:59 AM
Hi bunyip,

Since your wish list does not seem to be out yet I will post my request here:

I would like to see an option to create thumbnail / moviesheets to a rgb565 (bmp).  This could be a checkbox in the setting screen giving you the option to select any of the thumbnail/moviesheet creation as rgb565.  I

Hey, don't copy my request.. ;D I've already asked that.. ;)

I think the program by bunyip is a exclusive. A great exclusive program on a great exclusive operating system..

 ::) ::) ::)
Title: Re: SheetMaker for Linux
Post by: snappy46 on March 18, 2011, 10:13:55 AM

Hey, don't copy my request.. ;D I've already asked that.. ;)

I think the program by bunyip is a exclusive. A great exclusive program on a great exclusive operating system..

 ::) ::) ::)

Sorry mate I forgot that you already requested that.  My request is more complete anyhow !!!!  ;D ;D ;D :o

Cheers man.

PS:  Not quite finish on the movie jukebox script but very close now; I haven't add the time to work on too much of anything in the past couple weeks.  It will be on the ACryan forum once it is ready.
Title: Re: SheetMaker for Linux
Post by: bunyip on March 18, 2011, 03:08:50 PM
Hi bunyip,

Since your wish list does not seem to be out yet I will post my request here:

I would like to see an option to create thumbnail / moviesheets to a rgb565 (bmp).  This could be a checkbox in the setting screen giving you the option to select any of the thumbnail/moviesheet creation as rgb565.  I

Hey, don't copy my request.. ;D I've already asked that.. ;)

I think the program by bunyip is a exclusive. A great exclusive program on a great exclusive operating system..

 ::) ::) ::)

Quite right - this is already on the wish list from a previous request by DaChouffe, but now the number of users requesting this has doubled overnight so I'd better escalate this to 'ASAP'.


Keep up the good work;  I can not believe that me and DaChouffe and are the only one commenting in here; surely there are more linux user out there using your fine program.

Cheers !!!!

My records show that so far about 300 copies of the program have been downloaded, so there must be lots more people trying it out, that's what prompted me to add a bug/wish system to the website. However the silence can be good - it may mean that everyone is happy with the program as it is (but I doubt it).


(The bug reporting system will become active today).
Title: Re: SheetMaker for Linux
Post by: DaChouffe on March 19, 2011, 01:49:07 AM

Hey, don't copy my request.. ;D I've already asked that.. ;)

I think the program by bunyip is a exclusive. A great exclusive program on a great exclusive operating system..

 ::) ::) ::)

Sorry mate I forgot that you already requested that.  My request is more complete anyhow !!!!  ;D ;D ;D :o

Cheers man.

PS:  Not quite finish on the movie jukebox script but very close now; I haven't add the time to work on too much of anything in the past couple weeks.  It will be on the ACryan forum once it is ready.

It would be great if it's ready, T2POHD stopt working on linux. So i have to use my wifes laptop.

Nice weekend..
Title: Re: SheetMaker for Linux
Post by: DaChouffe on March 19, 2011, 01:53:25 AM
Hi bunyip,

Since your wish list does not seem to be out yet I will post my request here:

I would like to see an option to create thumbnail / moviesheets to a rgb565 (bmp).  This could be a checkbox in the setting screen giving you the option to select any of the thumbnail/moviesheet creation as rgb565.  I

Hey, don't copy my request.. ;D I've already asked that.. ;)

I think the program by bunyip is a exclusive. A great exclusive program on a great exclusive operating system..

 ::) ::) ::)

Quite right - this is already on the wish list from a previous request by DaChouffe, but now the number of users requesting this has doubled overnight so I'd better escalate this to 'ASAP'.


Keep up the good work;  I can not believe that me and DaChouffe and are the only one commenting in here; surely there are more linux user out there using your fine program.

Cheers !!!!

My records show that so far about 300 copies of the program have been downloaded, so there must be lots more people trying it out, that's what prompted me to add a bug/wish system to the website. However the silence can be good - it may mean that everyone is happy with the program as it is (but I doubt it).


(The bug reporting system will become active today).


The program works like a charm, the only thing what i find strange. Is the quality of the fonts on the templates. The quality of the fonts are a bit less than by ThumbGen.

Nice weekend
Title: Re: SheetMaker for Linux
Post by: bunyip on March 19, 2011, 02:14:36 AM

The program works like a charm, the only thing what i find strange. Is the quality of the fonts on the templates. The quality of the fonts are a bit less than by ThumbGen.

Nice weekend

Yes, fonts can be a bit of a pain. I've found that Imagemagick doesn't render Windows fonts quite the same as Windows itself does. In many cases for my own collection, I've had to fiddle with the font values in some templates to get the font results similar to Thumbgen. In fact other template settings have had to be adjusted to get similar results to the windows program.

When time permits I'd like to make available a 'Linux-adjusted' set of the more popular templates that will produce sheets comparable to the Windows product when created using Linux/Sheetmaker.
 
Title: Re: SheetMaker for Linux
Post by: DaChouffe on March 19, 2011, 02:21:12 AM

The program works like a charm, the only thing what i find strange. Is the quality of the fonts on the templates. The quality of the fonts are a bit less than by ThumbGen.

Nice weekend

Yes, fonts can be a bit of a pain. I've found that Imagemagick doesn't render Windows fonts quite the same as Windows itself does. In many cases for my own collection, I've had to fiddle with the font values in some templates to get the font results similar to Thumbgen. In fact other template settings have had to be adjusted to get similar results to the windows program.

When time permits I'd like to make available a 'Linux-adjusted' set of the more popular templates that will produce sheets comparable to the Windows product when created using Linux/Sheetmaker.
 

I knew it must be something with imagemagick, i will take a look at the templates by myself. Maybe i will understand how it works.. :)

PS. It would be great to have some Linux/Sheetmaker optimized templates.

Nice weekend.
Title: Re: SheetMaker for Linux
Post by: skreeves on March 20, 2011, 03:59:19 PM
Another (reasonably) happy user here. Some Linux/Sheetmaker-optimized templates would be awesome!
Title: Re: SheetMaker for Linux
Post by: e45cream on March 20, 2011, 04:16:29 PM

Thanks for the program. I was tired of having to go into windows via virtualbox just to use Thumbgen. Sheetmaker does the job so much faster.

The only problem I have is with the fact that recently IMDB decided to show the local translation (in my case, Spanish) of the film title, even though all the rest of the details (plot, genres, etc) are in English. I presume they use the IP to decide on the local language. This happens both on the IMDB site and with Sheetmaker.  If I log into the IMDB website, I can change this behaviour in the settings to show the English titles, but Sheetmaker still gets the Spanish titles.

Is there any way that Sheetmaker can use my cookies/IMDB login info so that it returns the English titles? I think Sheetmaker receives the 'correct' title when it does its initial search, because if there are multiple results to choose from, it shows them in English. Could there be an option to use this initial title and ignore the title that is received with the rest of the info? Or is there a way of indicating a proxy to fool IMDB into thinking I'm in an English-Speaking country?

I know this is an IMDB problem, not a Sheetmaker problem, but it would be great it this could be sorted out.

Cheers.
Title: Re: SheetMaker for Linux
Post by: bunyip on March 21, 2011, 01:22:14 AM
Hi skreeves,
I'm (reasonably) pleased to hear that you're (reasonably) happy with the program.  :D

Hi e45cream,
Ouch! yet another IMDB 'feature'.  ::)

Sheetmaker's movie search is in fact done on the theMovieDB.org site, which if successful returns the corresponding IMDB movie number and the fanart. This number is then used to try and retrieve the rest of the data for the movie from the IMDB site.

[rant]
It's done this way because imdb still hasn't provided a public API (and I doubt they ever will because they charge $15,000 per year to use their data) and they forbid screen-scraping so access to their data is fairly crippled. (Don't ask how we get to the data). And they seem pretty keen on regularly breaking the site and making changes to confuse us all. So you see we have few options in controlling what they return.
[end rant]

'theMovieDB' on the other hand provides a nice API and doesn't restrict it's data, so the search results you see are not coming from IMDB. I'm thinking of changing future versions to only use IMDB to fill in data items that are missing from theMovieDB.

The IMDB 'title' data is however currently used when rendering the movie sheet, so I could change it to always use the English title returned by theMovieDB.com (except when 'moviemeter.nl' is selected by the user).

I'll add this to the next release.

(If you want to do a quick fix yourself, I can specify the simple code change here if you want to amend your copy of 'Sheetmaker.pl').

Title: Re: SheetMaker for Linux
Post by: e45cream on March 21, 2011, 10:07:39 AM
Bunyip,

Yes, please tell me the code change. Thanks a lot for your help and the program. Much appreciated! 

Title: Re: SheetMaker for Linux
Post by: bunyip on March 21, 2011, 03:12:06 PM
e45cream,

No problem, to make the change just use a text editor on file 'Sheetmaker.pl'.
(Note: by default 'Sheetmaker.pl' is read-only to prevent accidental changes, so you may need to make it read-write first - i.e. chmod 777 Sheetmaker.pl).

Locate the subroutine 'sub GetMediaDetails_tmdb {' (should be line 3652 in version 1.22b.1), then insert the line shown bold in the position shown, save it and that's it, just run the program as usual.

Code Change:
___________________________________
sub GetMediaDetails_tmdb {   .
   ..
   ..
   my $xml_ob = new XML::Bare(text => $xml_data );
   my $movie_xml=$xml_ob->parse();
   $provider_hash->{TITLE} = $movie_xml->{OpenSearchDescription}->{movies}->{movie}->{name}->{value};
   my @backdrops;
   ..
   ..
}
___________________________________

Title: Re: SheetMaker for Linux
Post by: e45cream on March 22, 2011, 11:54:04 AM
Thanks. Works perfectly

Here's another one for the wishlist:

Now that I'm getting the right title, is there any chance of you adding an option of renaming the media file (and of course the generated image files ) with this info? So "MyReLeAsE.some.film.720p.mkv" would be renamed as "Some Film.mkv"? Perhaps also the year. Some films come with extra words in the filename that means that they are in the wrong order alphabetically when browsing for them with the WDTV Live.

Perhaps this could be done from naming convention section, with extra variables for some of the media info (title, year?, resolution?), and with an option to add the naming convention for the media file itself.

Cheers
Title: Re: SheetMaker for Linux
Post by: bunyip on March 22, 2011, 03:13:59 PM
E45cream,

That's a very good idea, and shouldn't be difficult to implement (as an option of course).
That would help to maintain a consistent naming scheme throughout a person's collection.

Thanks, I've added it as a wish on the Sheetmaker website under your name.

Cheers.
Title: Re: SheetMaker for Linux
Post by: skreeves on March 25, 2011, 03:14:53 PM
I tried using v1.22b1, but my files are not selectable. They show up in the file chooser, but are grayed out and can't be chosen. The files reside on a NTFS volume on an external USB drive. These same files are selectable in version 1.21 and previous.
Title: Re: SheetMaker for Linux
Post by: bunyip on March 25, 2011, 06:00:54 PM
I tried using v1.22b1, but my files are not selectable. They show up in the file chooser, but are grayed out and can't be chosen. The files reside on a NTFS volume on an external USB drive. These same files are selectable in version 1.21 and previous.


Hi skreeves,

Make sure that in the 'options' section the 'Use Folder Names as Movie Names' options is not set. If this option is turned on then only directory names are selectable when creating your processing list.

Cheers.
Title: Re: SheetMaker for Linux
Post by: skreeves on March 25, 2011, 06:31:53 PM
Make sure that in the 'options' section the 'Use Folder Names as Movie Names' options is not set. If this option is turned on then only directory names are selectable when creating your processing list.

Ahh, ok. That's reasonable.  :)
Title: Re: SheetMaker for Linux
Post by: rzesteves on April 04, 2011, 12:50:38 PM

Bunyip,

First of all, thanks for your time in developing SML. It works really well and quick except for some minor problems with fonts rendering (easily solved editing the templates).

But after automatic updates in my Ubuntu 10.10, SML exits with this error message: "OOPS, Can Not Create MOVIE Sheet File". The SheetMaker.log file says:

INFO:   The.Black.Eyed.Peas.The.E.N.D.World.Tour: Process Started
INFO:   The.Black.Eyed.Peas.The.E.N.D.World.Tour: Searching 'theMovieDB.org'
INFO:   The.Black.Eyed.Peas.The.E.N.D.World.Tour: Retrieving Images from 'themoviedb.org'.
INFO:   The.Black.Eyed.Peas.The.E.N.D.World.Tour: Retrieving data from 'imdb.com'.
INFO:   The.Black.Eyed.Peas.The.E.N.D.World.Tour: Extracting Media File Attributes.
INFO:   The.Black.Eyed.Peas.The.E.N.D.World.Tour: Generating New Sheet
CRIT:   I was unable to find image element information .. Cover
INFO:   The.Black.Eyed.Peas.The.E.N.D.World: Writing MOVIE Sheet /home/ronaldo/Vdeos/The.Black.Eyed.Peas.The.E.N.D.World.Tour/The.Black.Eyed.Peas.The.E.N.D.World.Tour.avi_sheet.jpg.
INFO:   The.Black.Eyed.Peas.The.E.N.D.World.Tour: Writing Extra Thumbnail /home/ronaldo/Vdeos/The.Black.Eyed.Peas.The.E.N.D.World.Tour/folder.jpg.

I've tried the ModuleTest.pl script and it says that and modules and mediainfo are installed OK. The permissions on the folder are also OK.

Sheetmaker was working fine before the update.

I think this error is related to the imdb API described by e45cream some posts ago.

Any suggestions?
Title: Re: SheetMaker for Linux
Post by: bunyip on April 04, 2011, 04:22:02 PM
Hi rzesteves,

Thanks for trying Sheetmaker - glad you like it.

I've done some tests on a 10.10 PC that has also had all the auto updates applied, using the same movie and name as you show here, but the only time I can get the same error is when I change the permissions. Usually the only time a write error occurs is when the permissions disallow it or the disk is full.

Have you tried other movies and different directories or drives, do you still get the same error?

(Double check the permission at the directory level).
Title: Re: SheetMaker for Linux
Post by: rzesteves on April 04, 2011, 05:07:04 PM
Bunyip,

I've changed the permissions on the folder (drwxrwxr-x) where the movie is. Also tried another movie and another template. The log says:

INFO:   Kick Ass 2010: Process Started
INFO:   Kick Ass 2010: Searching 'theMovieDB.org'
INFO:   Kick Ass 2010: Retrieving Images from 'themoviedb.org'.
INFO:   Kick Ass 2010: Retrieving data from 'imdb.com'.
INFO:   Kick Ass 2010: Extracting Media File Attributes.
INFO:   Kick Ass 2010: Generating New Sheet
CRIT:   don't know what to do with Image Element DistortCorners
CRIT:   I was unable to find image element information .. ImageFormat
CRIT:   I was unable to find image element information .. Resolution
CRIT:   I was unable to find image element information .. VideoFormat
CRIT:   I was unable to find image element information .. SoundFormat
CRIT:   don't know what to do with Text Element DistortCorners
CRIT:   I was unable to find image element information .. ImageCertification
INFO:   Kick Ass 2010: Writing MOVIE Sheet /home/ronaldo/Vdeos/Kick-Ass/Kick Ass 2010.avi_sheet.jpg.
INFO:   Kick Ass 2010: Creating Main Thumbnail
INFO:   Kick Ass 2010: Writing Main Thumbnail /home/ronaldo/Vdeos/Kick-Ass/Kick Ass 2010.jpg.
INFO:   Kick Ass 2010: Writing Extra Thumbnail /home/ronaldo/Vdeos/Kick-Ass/folder.jpg.

The template used was ThumbGen STD Movies 1 PT.

Can the error be associated with the template language?

BTW, nothing was written to the movie folder.
 
Title: Re: SheetMaker for Linux
Post by: rzesteves on April 04, 2011, 05:54:56 PM
Bunyip,

I finally found the problem.

The folder I was using has an accented character (in the folder called "Vdeos", the is accented).

When I changed the movie folder inside another folder called "Filmes", without accented characters, the movie sheet and the tgmd files were created correctly. I retried several times and with various templates without errors.

Thanks for your suggestions and orientation and, above all, for developing SheetMaker for Linux.

Title: Re: SheetMaker for Linux
Post by: bunyip on April 04, 2011, 06:49:47 PM
Thanks rzesteves,
Oh yeah, now that you point that out I can see the 'i' in Videos is non-ascii, missed that.
I didn't realise that'd be an issue, I'll have to review.
I recall though that there had been issues with the early rendering code regarding UTF-8 character coding.

Cheers,
Bunyip.
 
Title: Re: SheetMaker for Linux
Post by: rzesteves on April 07, 2011, 09:33:09 AM
Hi Bunyip,

After solving the problem with folder naming, I have come to a new question. Is it possible to manually create sheets and tgmd files for movies that SML didn't find?

I have the message:

"INFO: Movie_Name : No Match Found" (Where Movie_Name is the name of the movie that I'm trying to process)

"CRIT: unable to find movie data for Movie_Name.avi"

After that, no sheets or tgmd files are created.

I would like to manually generate the information for those movies (brazilian movies that are not in the MovieDB.org database).

TIA,
rzesteves
Title: Re: SheetMaker for Linux
Post by: bunyip on April 07, 2011, 08:03:12 PM
Hi rzesteves,

You know, I thought about providing this ability, but then wondered if anyone would really need it, so it went on the "let's reconsider this later" pile.

Now that someone has asked, I'll put it back on the todo pile.

However there is a crude trick that you can use with the current version to do this, and that's to use a dummy 'tgmd' file.

Here's how..
1. Download the 'dummy' tgmd and store it somewhere as the master dummy. I have provided a dummy file here => http://users.on.net/~garstev99/wdtv/download.html (http://users.on.net/~garstev99/wdtv/download.html)
2. Copy this file to the directory containing the movie you want to process and rename it to match the movie filename e.g. if the movie file is 'Star Wars.avi', rename the dummy file as 'Star Wars.avi.tgmd'.
3. In SheetMaker go to the 'Sheet Editor' tab and load up the renamed tgmd file. You should get an edit screen that you can now start entering your data.
4. Use the 'Add' buttons to load any covers and fanarts you may have and enter the textual data you have.
5. Before generating the sheet, make sure that the 'Apply All Options' box is ticked on the 'Edit' page and that the 'Overwrite' box is ticked for the 'Moviesheet Metadata' on the 'Options' page.
6. Generate the sheet using the button on the 'Edit' page and that's it.

In a future release I'll include a single button to start the edit without the need for a dummy tgmd file.

Cheers.
Title: Re: SheetMaker for Linux
Post by: rzesteves on April 08, 2011, 05:34:23 AM
Good Morning Bunyip,

Thank you again for promptly answering my question and for the dummy tgmd file.

I was thinking in a similar approach, creating a tgmd file from zero or by copying from some other movie. The dummy will help and make the task easier.

Have a nice day,

rzesteves
Title: Re: SheetMaker for Linux
Post by: airone26 on April 10, 2011, 11:35:14 PM
Hi everybody,

first I would like to thank for the great job about SheetMaker,
used it pretty easily, second I hope weather is colder in Australia
and hotter in Canada (I'm in France and weather is great btw :p).

I'm a pretty happy new user of SheetMaker for Linux.

But ... I would like to know if it's possible to use an alternate
source to generate sheets instead of internet, such as a SQL
db (I got an Access DB, yeah i know it's Windows but could not
find a similar tool in Linux creating reports, OpenOffice DB tool
was too buggy).

I thought maybe I could generate .nfo files on my own, using a
SQL connection but i can't figure how I can (if it's possible) tell
SheetMaker to use these .nfo files and some jpg files I already
have too to generate the sheets instead of www informations
(Or maybe it is possible to generate myself a TGMD file ? I could
not find any informations on this format ?).

If I'm not clear enough, feel free to ask furthermore because english
's not my first language.

thanks in advance & thanks anyway for all the work already done.
Erwan.
Title: Re: SheetMaker for Linux
Post by: bunyip on April 11, 2011, 04:31:05 AM
Hi airone26,

Glad to hear from another happy user.
Yep, it's starting to get cooler here in OZ, won't be long before I'll have to start cutting firewood again.

Well, what you want to do is probably what many others would like to do aswell, I expect many people already have their collections organised in databases, I'll have to think about the possibility of some import tools (but that will be in the future).

Yes, Sheetmaker can bypass the Internet if there is a TGMD file for the movie file being processed, so you're correct in thinking you only need to create a TGMD file with an NFO file generated from your database.

You just need to create a very basic NFO file, Sheetmaker will re-generate it during processing and add all the media attribute bits.

So if you can get your database to generate an NFO file with just the following bits, filled in as much as possible, you're almost there.

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ThumbGen="1">
  <title></title>
  <year></year>
  <plot></plot>
  <rating></rating>
  <id></id>
  <releasedate></releasedate>
  <mpaa></mpaa>
  <actor>
    <name></name>
  </actor>
  <genre>
    <name></name>
  </genre>
  <director>
    <name></name>
  </director>
  <runtime></runtime>
  <certification></certification>
  <studio>
    <name></name>
  </studio>
  <country>
    <name></name>
  </country>
</movie>
Then create a TGMD file, which is just a ZIP compressed file containing the NFO and JPG files. (you can use the linux 'zip' command to create it).
 
The files inside the TGMD file are ..
Code: [Select]
BACKGROUND                   (the main fanart jpg file renamed as "BACKGROUND")
COVER (the jpg file to be used as the thumbnail renamed as "COVER"
FANART1 (
FANART2 (the other fanart jpg files which are optional depending on the template you use
FANART3 (
INFO (Thumbgen specific - not required by Sheetmaker - can be left out)
[Content_Types].xml          (Thumbgen specific - not required by Sheetmaker - can be left out)
NFO (the textual data - required by Sheetmaker
Now you can process the media file in Sheetmaker and generate the moviesheet using the TGMD file (providing you have the Sheetmaker option to use the TGMD data activated).

This may be a bit confusing so don't hesitate to ask for more info.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: airone26 on April 11, 2011, 12:23:24 PM
Hi bunyip,

thanks for the quick and helpful answer. Seems pretty clear, I guess
i'll give it a try soon and keep you posted about results. Should not be
very complicated, the most "difficult" part will be to go back to windows
to grab data from my access file :-) Also, my DB lacks director/cast infos
so i'm going to add them first.

About an import tool, that could be great but i can't think from what you
could do it ? Directly from a SQL engine like MySQL or other ? Anyway
the ability to work from the TGMD file will be perfect for my needs.

Thanks.
Erwan.
Title: Re: SheetMaker for Linux
Post by: bunyip on April 13, 2011, 02:09:29 PM
About an import tool, that could be great but i can't think from what you
could do it ? Directly from a SQL engine like MySQL or other ? Anyway
the ability to work from the TGMD file will be perfect for my needs.

No it would probably just be an alternate input file that Sheetmaker can use as a data source. Probably just a simple delimited text file that can easily be dumped from any database, spreadsheet or list. It could also include links to any image files that the user may have stored locally.

So Sheetmaker would be able to source data either from the Internet, TGMD file or plain text file (or maybe even a mixture of these sources).
Title: Re: SheetMaker for Linux
Post by: airone26 on April 15, 2011, 10:52:56 PM
Hello here,

yeah you're right, the csv file would be the best way to do that, no doubt.
I just looked more precisely to nfo file and see there is no informations about
the video file (subs, languages, quality etc...) This would be a nice improvement
to add the ability to grab these infos from nfo file instead of the media file.

For instance, SheetMaker (or any other software) wont be able to find my srt
subtitles files and find associated language whereas i already have these infos
in my database.

Erwan.

PS : I'm still not in the process of creating nfo+tgmd files, just finished grabbing
of infos from alloCin.fr (french) & imdb and put them in my DB. Comes next.
 
Title: Re: SheetMaker for Linux
Post by: airone26 on April 18, 2011, 12:25:17 AM
Hi there,

just to let you know that i've finished the whole process,
I now create successfully nfo and tgmd files and they are
perfecltly handled by SheetMaker.

Thanks again. Nice work.
Erwan.
Title: Re: SheetMaker for Linux
Post by: bunyip on April 18, 2011, 09:15:11 PM
Hi airone26,
Sorry for the delay - I lost my Internet connection for a while - my ISP is giving its customers faster accesses so there was a period of blackouts while this was being refined. I'm in a rural area (i.e. 'The Bush') so fast Internet has not been available in the past but is getting much better now. Our Aussie Federal Government is making a lot of promises at the moment too, so things are looking up.

I just looked more precisely to nfo file and see there is no informations about
the video file (subs, languages, quality etc...) This would be a nice improvement
to add the ability to grab these infos from nfo file instead of the media file.

For instance, SheetMaker (or any other software) wont be able to find my srt
subtitles files and find associated language whereas i already have these infos
in my database.

Good point. We are lacking a bit in this area. There is code in the Rendering parts to handle these values but as yet we aren't sourcing it very well. I'll look further into this and provide some more options.

Hi there,

just to let you know that i've finished the whole process,
I now create successfully nfo and tgmd files and they are
perfecltly handled by SheetMaker.

Thanks again. Nice work.
Erwan.

Nice to hear that what's been done so far works well, encourages more development.

Thanks,
bunyip.




Title: Re: SheetMaker for Linux
Post by: dizzidecazz on April 20, 2011, 03:03:07 AM
Hi,
I am a noob.

I'm completely new to Linux but keen to use this program.  I've managed to get as far as getting Unbutu 10.10 running through Virtual Box on my MacBook.  I've downloaded and untarred the files into a folder on the Unbutu desktop.  As per the install instruction I run the ModuleTest.pl and absolutely nothing happens.  If I run it in Terminal, I briefly see it with a title and a flashing cursor but it then closes the terminal window disappears.  Needless to say, running SheetMaker.pl does nothing.  Any help would be greatly appreciated.

Thanks,
Damien
Title: Re: SheetMaker for Linux
Post by: airone26 on April 20, 2011, 07:22:20 AM
@dizzidecazz : sorry not helping you but i'm not familiar at all with
MacOS. I can't understand why, after you opened a terminal and
start ModuleTest.pl in it, it close the terminal...

Hi bunyip,

thanks for answering, no need to be very quick for now because
i'm gonna be dad again friday and thus wont have much time for
this anyway :-)

About the media informations, it seems Thumbgen has an option
to store these into the nfo file you gave the description earlier.
See just after an example for a standard avi file (I think there will
be also subs tracks for mkv files and maybe the language info for
audio tracks ?)

Thus, if SheetMaker could be able to read media info from these
instead of from avi file as an option, it would be nice ! Moreover,
we would be able to add hand-made informations for external subtitle
files hopefully.

Code: [Select]

<?xml version="1.0"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ThumbGen="1">
  <hasrighttoleftdirection>false</hasrighttoleftdirection>
  ...
  <country>
    <name>France</name>
  </country>
  <File>
    <track type="General">
      <Complete_name>XXXXXXXXXXXXX.avi</Complete_name>
      <Format>AVI</Format>
      <Format_Info>Audio Video Interleave</Format_Info>
      <File_size>700 MiB</File_size>
      <Duration>1h 55mn</Duration>
      <Overall_bit_rate>850 Kbps</Overall_bit_rate>
      <Writing_application>VirtualDubMod 1.5.10.2 (build 2542/release)</Writing_application>
      <Writing_library>VirtualDubMod build 2542/release</Writing_library>
    </track>
    <track type="Video">
      <ID>0</ID>
      <Format>MPEG-4 Visual</Format>
      <Format_profile>Advanced Simple@L5</Format_profile>
      <Format_settings__BVOP>Yes</Format_settings__BVOP>
      <Format_settings__QPel>No</Format_settings__QPel>
      <Format_settings__GMC>No warppoints</Format_settings__GMC>
      <Format_settings__Matrix>Default (H.263)</Format_settings__Matrix>
      <Muxing_mode>Packed bitstream</Muxing_mode>
      <Codec_ID>XVID</Codec_ID>
      <Codec_ID_Hint>XviD</Codec_ID_Hint>
      <Duration>1h 55mn</Duration>
      <Bit_rate>702 Kbps</Bit_rate>
      <Width>640 pixels</Width>
      <Height>272 pixels</Height>
      <Display_aspect_ratio>2.35:1</Display_aspect_ratio>
      <Frame_rate>24.000 fps</Frame_rate>
      <Color_space>YUV</Color_space>
      <Chroma_subsampling>4:2:0</Chroma_subsampling>
      <Bit_depth>8 bits</Bit_depth>
      <Scan_type>Progressive</Scan_type>
      <Bits__Pixel_Frame_>0.168</Bits__Pixel_Frame_>
      <Stream_size>578 MiB (83%)</Stream_size>
      <Writing_library>XviD 1.2.1 (UTC 2008-12-04)</Writing_library>
    </track>
    <track type="Audio">
      <ID>1</ID>
      <Format>MPEG Audio</Format>
      <Format_version>Version 1</Format_version>
      <Format_profile>Layer 3</Format_profile>
      <Mode>Joint stereo</Mode>
      <Mode_extension>MS Stereo</Mode_extension>
      <Codec_ID>55</Codec_ID>
      <Codec_ID_Hint>MP3</Codec_ID_Hint>
      <Duration>1h 55mn</Duration>
      <Bit_rate_mode>Variable</Bit_rate_mode>
      <Bit_rate>135 Kbps</Bit_rate>
      <Minimum_bit_rate>112 Kbps</Minimum_bit_rate>
      <Channel_s_>2 channels</Channel_s_>
      <Sampling_rate>48.0 KHz</Sampling_rate>
      <Stream_size>111 MiB (16%)</Stream_size>
      <Alignment>Aligned on interleaves</Alignment>
      <Interleave__duration>24 ms (0.58 video frame)</Interleave__duration>
      <Interleave__preload_duration>136 ms</Interleave__preload_duration>
      <Writing_library>LAME3.98r</Writing_library>
      <Encoding_settings>-m j -V 4 -q 0 -lowpass 17.5 --vbr-new -b 112</Encoding_settings>
    </track>
  </File>
</movie>

Title: Re: SheetMaker for Linux
Post by: bunyip on April 21, 2011, 03:59:43 PM
Hi dizzidecazz,

Welcome to the group.
Sheetmaker is written using the PERL language. It sounds like Perl may not be working correctly in your VirtualBox environment. The terminal sessions should not close so that suggests Perl may be crashing. Try running other Perl scripts to test it (many perl scripts are available on the Web).

On another track, I don't have access to a MAC but the Mac OS also supports Perl and there are Mac versions of Mediainfo and PerlMagick (programs required by Sheetmaker) and the CPAN modules should also install, so if you feel adventurous you could try to install and run Sheetmaker directly on your Mac. I'd really like to know if it runs successfully.


Hi airone26,
Congratulations on the new addition - I guess we won't hear from you again for a long time.

Re the NFO file:
Both Thumbgen and Sheetmaker creates the values in the NFO between labels <File></File> the same way, simply just an XML dump of the results of running 'mediainfo' against your movie file.

So if you have a look at the NFO created against the same movie file, they should be identical from both Sheetmaker and Thumbgen.

I assume that what you are asking is once these values have been set from the movie file, you'd like to be able to manually edit them and then have Sheetmaker use the altered values without re-setting them from the movie file.

Is this correct?
Title: Re: SheetMaker for Linux
Post by: dizzidecazz on April 21, 2011, 09:13:15 PM
Hi Bunyip,

So are you saying if I DL and install those components that it just might run, or is it a little more complex than that?  I'm keen to give it a try.
I see you're in my neck of the world, hopefully enjoying the 5 day weekend.

EDIT:  Hmmm, this seems more complex than my usual, download - install - run, approach to using a computer, and I think I need Snow Leopard (OSX 10.6+) which I'm happy to upgrade too but it's not available via download so I'll have to wait.

Any other Mac users out there got this working?

Thanks,
Damien
Title: Re: SheetMaker for Linux
Post by: bunyip on April 21, 2011, 11:10:31 PM
Hi Bunyip,

So are you saying if I DL and install those components that it just might run, or is it a little more complex than that?  I'm keen to give it a try.
I see you're in my neck of the world, hopefully enjoying the 5 day weekend.

EDIT:  Hmmm, this seems more complex than my usual, download - install - run, approach to using a computer, and I think I need Snow Leopard (OSX 10.6+) which I'm happy to upgrade too but it's not available via download so I'll have to wait.

Any other Mac users out there got this working?

Thanks,
Damien
Ah, a fellow Aussie - Hi mate!
Yep every holiday is welcome.

In theory yes it should be a simple task to just install the tools and away you go.
For those that don't know, PERL is an 'interpreted' language, which means that source code is read, interpreted and executed each time you run it. Unlike compiled programs where the author generates operating system machine code that you can only run on the operating system that it was created on.

The advantage of Interpreted code is that it doesn't care what operating system you run providing that you have all the Interpreter's core and libraries that the source code needs, and since you get the source code you can check that the program is not doing anything naughty. Plus you can easily modify it to suit your own needs.

The disadvantage, as you have pointed out, is that there is a little more setting up to do because the program is just the instructions and doesn't include the run-time libraries needed to run.

It would be nice if someone could try it on a Mac. If there are any Mac-specific adjustments needed, I'd be happy to include them.

Title: Re: SheetMaker for Linux
Post by: dizzidecazz on April 22, 2011, 04:06:07 AM
Hi Bunyip,

Well seeing as I can't try it on OSX for a while, I'd still like to try and work it out on Linux running through Virtual box.  Bear in mind, I am completely new to Linux.  When I say I tried running your ModuleTest.pl in a Terminal, I don't actually mean I opened up a Terminal and ran it.  The Unbutu OS asks if I'd like to run it in a Terminal.  I changed the Terminal I was using and now I can see it run and report but the it just closes before I can actually read it.  So in my noobness, how do I run it from within the Terminal?

I've got the files in a Folder called 'SheetMaker' on my Linux Desktop.
Title: Re: SheetMaker for Linux
Post by: bunyip on April 22, 2011, 03:22:21 PM
Hi dizzidecazz ,

To open a terminal session in Ubuntu your can either ..
1. click on 'Applications' then 'Accessories' then 'Terminal'
or
2. Press [Alt][F2] and enter 'gnome-terminal'.

In the terminal session change to your Sheetmaker folder, if its on your desktop then 'cd Desktop/Sheetmaker' should get you there.

Then run the check. ie enter './ModuleTest.pl' (without quotes) on the command line and this time the terminal window should not close and you should get some meaningful messages.

You can also try './Sheetmaker.pl' and see what it says (usually will complain that something in Perl has not been installed yet).

Good Luck.
Title: Re: SheetMaker for Linux
Post by: dizzidecazz on April 22, 2011, 07:31:22 PM
Hi Bunyip,

Thanks for your help.  I've come along way and learnt a few things but I have a hurdle.  I can't seem to install Image::Magick  This is what I get
Quote
make: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1
  JCRISTY/PerlMagick-6.67.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

I've tried a few times and also through a WebUpd8 thing I found for Unbutu, where it seems to have installed, but it's still not working.  Any advice?

Thanks,
Damien
Title: Re: SheetMaker for Linux
Post by: bunyip on April 22, 2011, 10:03:41 PM
Hi dizzidecazz,

Yeah, we don't have much luck with the 'tar' versions, that's why I have recommended that users install from the distro versions.

To do this in Ubuntu go to 'System' -> 'Administration' ->'Synaptic Package Manager' and in the 'Quick Search' box type 'PerlMagick'.

Just install this and you should be OK.

Cheers bunyip.
Title: Re: SheetMaker for Linux
Post by: dizzidecazz on April 22, 2011, 10:52:31 PM
SUCCESS!!!

Thanks so much for your help Bunyip.

Now I've got the program running, just one last thing.  I don't see Network Places available for file source.  I can find them, more specifically my WDTV Live, through The 'Places' menu on Unbutu, ie The OS sees it through Virtual Box.

Thanks again.

Damien
Title: Re: SheetMaker for Linux
Post by: bunyip on April 22, 2011, 11:33:52 PM
Now you're in the slightly frustrating area of device mounting.

Drives need to be mounted before programs can see them.
On your WDTVLIVE you no doubt have one or two usb drives attached that you want to access through Sheetmaker.

I'm not certain if VirtualBox may get in the way here but .....

Hopefully the Samba shares for the drive(s) are working, so if you click on the Network Places and the WDTVLIVE is showing under Windows Workgroup Shares and the attached drives are also showing, then they have been automatically mounted.

For some unknown reason the auto-mounting likes to hide the mounts so they're hard to find.

In your home directory there is a directory named '.gvfs', navigate to this from within Sheetmaker and all going well you'll see and be able to access the WDTVLIVE drives in there.

If none of this works, then you need to manually mount the drives (but that's another story).
Title: Re: SheetMaker for Linux
Post by: dizzidecazz on April 23, 2011, 12:21:00 AM
Hi Bunyip,

The drive is mounted.  I can even play files off it but I don't don't see a '.gvfs' folder.  I installed some gvfs related things through the Synaptic Package Manager but it hasn't helped.

Any more tips?

I really appreciate the help you've given me so far and apologise if I'vr hi-jacked this thread.  Hopefully I'm not the only person who simply wants Movie Sheets on a Mac.

Thanks,
Damien
Title: Re: SheetMaker for Linux
Post by: bunyip on April 23, 2011, 03:18:50 AM
That's OK - glad to help.

When you say that its mounted and you were able to play from it, I assume you mean from within Linux.

Mounted drives are usually seen on the desktop, is that the case? Also if its mounted in Linux you should see it in Sheetmaker under it's mounted name.

To find out where its been mounted, open a terminal session and run the command 'cat /etc/mtab' this will list mounted drives and show where.

I just installed Ubuntu into a Virtual Box Session and my WDTV usb drive was again auto-mounted into the .gvfs directory, however I have a Linux host for VB whereas you have a Mac Host, may make a difference. Does the Mac share the WDTV drive through Samba?

I'll install Sheetmaker in the VBox session later and see what happens.



Title: Re: SheetMaker for Linux
Post by: dizzidecazz on April 23, 2011, 04:17:05 AM
This is getting interesting.

It doesn't automagically mount but I can mount it through Places a few different ways and it shows on my desktop, Linux Desktop that is.  It still doesn't show in SheetMaker nor can I find the '.gfvz' folder.  I ran the command in a terminal and it's not there.  On the Desktop it's called 'diz_my_book_ii on wdtvlive'

Quote
damien@damien-VirtualBox:~$ cat /etc/mtab
/dev/sda1 / ext4 rw,errors=remount-ro,commit=0 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/damien/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=damien 0 0
/dev/sr0 /media/VBOXADDITIONS_4.0.4_70112 iso9660 ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500 0 0
damien@damien-VirtualBox:~$

The VBOXADDITIONS... is an iso image mounted on the desktop which SheetMaker can see.
Title: Re: SheetMaker for Linux
Post by: airone26 on April 23, 2011, 02:17:41 PM
Hi burnyip,

Thanks for the congratulations, my little Auriane came friday as
expected and now is the first time i can touch my computer
again ;-) And i do not complain :p

You're totally right about what i had in mind. I would like to edit
or produce "fake" file informations directly from my DB (or maybe
as you said, first produce them with mediainfo then update them)
and expect SheetMaker to get these to produce the sheets...

Hope this is possible !
Thanks in advance.
Erwan.
Title: Re: SheetMaker for Linux
Post by: bunyip on April 23, 2011, 03:29:54 PM
airone26
Yeah, now your sleepless nights begin. :D

Yep what you ask is do-able so I'll put it on the list.


dizzidecazz
Good - that's exactly what I wanted to see.

The line that says
Code: [Select]
gvfs-fuse-daemon /home/damien/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=damien 0 0is the one I was hoping was there, it means that the disk has been mounted and should indeed reside in '.gvfs'.

However I'm forgetting that you're not familiar with Linux and so neglected to mention that in Linux, any directory name starting with a '.' is treated as a hidden directory and won't appear in file listings unless you tell the desktop windows gui (Nautilus) to show hidden files.

Sheetmaker on the other hand is set up to view hidden files as well so even though you can't see the '.gvfs' directory from the desktop gui, you should still be able to navigate to it from within Sheetmaker, that's makes it a bit more of a mystery.

To see it from the desktop windows gui, open a file listing window and navigate to your home directory, then click on 'View' -> 'Show Hidden Files' (or just press [Ctrl][H]). If the '.gvfs' directory appears open it and hopefully you should see 'diz_my_book_ii on wdtvlive' in there. (To permanently see hidden files click 'Edit' -> 'Preferences' - 'Show Hidden & Backup Files'.

Let me know if you find it.

Cheers.

(p.s. If this doesn't work we'll try a manual mount).
Title: Re: SheetMaker for Linux
Post by: dizzidecazz on April 24, 2011, 12:34:09 AM
Hi Bunyip,

Yep, I can see the drive in the .gvfs now folder but not in SheetMaker.  I can almost feel these Movie Sheets just out of reach. :)

Cheers,
Damien
Title: Re: SheetMaker for Linux
Post by: bunyip on April 24, 2011, 12:49:22 AM
Just to confirm, you are clicking on your home directory (ie. 'damien') from within Sheetmaker aren't you?
That's where the .gvfs directory resides.

bunyip.
Title: Re: SheetMaker for Linux
Post by: snappy46 on April 24, 2011, 10:05:32 PM
Hi bunyip,

It has been a while since we last chat.  I am looking forward to the next release.

I have found something strange about different version of sheetmaker.  The about.jpg was created with sheetmaker 1.21  the about1.jpg was created with version 1.22b.1. ;  as you can see the text summary (Director, year, etc) on the newest version do not match as well as on the old version.  Any changes in the code that would do that.  I first thought that it might have been a change in imagik libraries so I tried the old version right after the new one and attach are the results. Not sure why the template does not align as well as it used to.

Cheers !!  Keep up the great work you are doing.

Title: Re: SheetMaker for Linux
Post by: bunyip on April 25, 2011, 01:26:01 AM
Thanks Snappy46,

I've been able to duplicate your results, that's always a good start.
It seems to be related to changes made to the text attribute 'autosize=true' which wasn't working correctly in previous versions. It seems a side-effect though, is to place the text a bit lower.

I'll investigate further and work out the cause (and hopefully a fix).

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: dizzidecazz on April 25, 2011, 06:36:21 PM
Hi Bunyip,

Yep, I can't see the .gvfs or mounted drive from within Sheetmaker. Here's a screenshot.

(https://lh6.googleusercontent.com/_syXfmEIfNfs/TbYuCBtv3QI/AAAAAAAAAA4/NWdvvP1jTcQ/s640/SMLdesktop.png)

You can see the mounted folder from my wdtv live under the ScreenMaker window but not in ScreenMaker.  Any ideas?

Thanks again.

Damien
Title: Re: SheetMaker for Linux
Post by: bunyip on April 25, 2011, 09:22:10 PM
Hi dizzidecazz,

Sometimes I forget the simple things and start looking for complex solutions.
All you need to do is right-click on the file selection box and select 'Show Hidden Files' - doh! :P

But I notice you're missing the 'File and Processing Info' box in the bottom left corner (see examples at the start on this thread).

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: dizzidecazz on April 25, 2011, 09:32:07 PM
Hi Bunyip,

Whoops.  I should have tried that.  Success!!!

It's up and running and from my quick test, looks fantastic.  Thank you so much for your help and patience . And of course, for the software itself.

Damien.
Title: Re: SheetMaker for Linux
Post by: bunyip on April 26, 2011, 01:30:51 AM
Thanks dizzidecazz,

Always nice to hear of successes.
Title: Re: SheetMaker for Linux
Post by: felix on April 26, 2011, 01:39:30 AM
Hey all out there.

I start going crazy. I dont get this Prog running. First: I have installed UBUNTU 11.04 (Is this the fault?)
I downloaded the sheetmaker from the website. First i took the new release. But there was missing the .config files. Now i have the older release on my Laptop and i tried to run the Module.pl. But there is no reaction. I have 3 Options when in klick on this script. execute in Terminal, execute or open. I used all options. But nothing. I dont get any Information or Reaction from the script. It starts the Terminal for a Moment and then get the terminal closed without doing anything.


Usually im really not a Noob and i know what i have to do. but in this case i think im a Noob :)
Is there any step by step Tut to explain what i exactly need to start the prog? I dont want use Windows anymore for my Moviestuff.

Thank you for an replay.
Title: Re: SheetMaker for Linux
Post by: bunyip on April 26, 2011, 02:58:54 AM
Hello Felix,
Welcome to the Sheetmaker group.

No, you want to stay with using release 1.22b.1, this latest version doesn't come with a default conf file, it generates one the first time you successfully run the program. But I see that I forgot to remove reference to it in the Installation documentation - I'd better fix that.

It's possible that you may hit a problem with Ubuntu 11.04, not all the supporting libraries have had time to update for 11.04 yet so some installation step may fail. I am about to start testing for 11.04 myself so I'll know soon, but if you continue you'll know before I do.

You need to run the installation steps from within a terminal session, but once successfully installed, you can then run Sheetmaker by just clicking on the Sheetmaker file.

So you open a terminal session in Ubuntu by clicking on 'Applications' -> 'Accessories' -> 'Terminal' and then follow the steps in the INSTALLATION file that came with the Sheetmaker bundle.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: jackie999 on May 03, 2011, 05:07:05 AM
Add me to the list of grateful users!
I only just found your program, after months of booting into Vista *ugh* to make my sheets.
Install was easy for this newish ubuntu user based on your instructions.
I took an .avi and made my sheets without a problem - then rememberer, in thumbgen I have to resize them since, on my older 720p TV, the sheet is a little big.
Is there a way to resize the sheet with SheetMaker? I did try and edit the (Lstars337) template with Thumbgen editor but using the new template then gave me an error - possibly I didn't use thumbgen editor correctly.  I also tried to resize the original sheet in gimp - while it did shrink the sheet down - it wasn't centered on the screen - it was still offscreen at top/left.
Thanks again for all the work - it's very much appreciated!
Jackie.

edited to add - I see this resize feature is already on the wishlist.. http://users.on.net/~garstev99/wdtv/bugs.php?myaction=showinfo&key=0003&SN=&US=
Title: Re: SheetMaker for Linux
Post by: bunyip on May 03, 2011, 04:00:17 PM
Hi jackie999,

Sheetmaker is not well publicised yet, it's still in a beta mode, but I'm glad you like it.

Yes, Sheetmaker creates the size of sheets according to the sizes specified by the templates, so you are correct in assuming that if you want a different size the best way is to change the template.

However you need to change not only the canvas size but also every graphic element that's drawn on the canvas. Using the Thumbgen editor should have handled this OK, what was the error you got ?

Also shrinking the final sheet should have worked, (but this a display issue and not a matter for Sheetmaker).

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: jackie999 on May 03, 2011, 04:53:46 PM
Thanks bunyip..
It seems I made a silly mistake when I used the thumbgen designer ...I only copied over the Template.xml after resizing, not realizing the act of resizing made other changes in the folder. Once I copied the entire folder over the newly 'shrunk' template now works great!
Title: Re: SheetMaker for Linux
Post by: jackie999 on May 09, 2011, 07:04:52 AM
I wonder if someone can help me with a TV show problem I'm having.
I'm using "Lstar337's Split-Sheet_Episode (FullFan) (Cover Trickle)". The sheet is being created BUT the episodes aren't displaying along the bottom. Each episode does have it's own episode.jpg thumbnail in the folder. I get an the following errors as each sheet is created:
Code: [Select]
CRIT: I was unable to find image element information .. Folder-4
CRIT: I was unable to find image element information .. Folder-3
CRIT: I was unable to find image element information .. Folder-2
CRIT: I was unable to find image element information .. Folder-1
CRIT: I was unable to find image element information .. Folder4
CRIT: I was unable to find image element information .. Folder3
CRIT: I was unable to find image element information .. Folder2
CRIT: I was unable to find image element information .. Folder1
CRIT: I was unable to find image element information .. Folder0

Hope this makes sense...thanks.


edited to add:  I got my answer - no XSLT support yet!
Title: Re: SheetMaker for Linux
Post by: agentorange71 on May 14, 2011, 09:19:09 AM
Hi

I've been using Thumbgen which has been fine but am interested by this project because of Linux. I've read through the thread but apologies if already answered.

Does this run in headless mode? ie. Could this be called with options from the command line without the GUI or any user interaction?

I have a QNAP NAS box and I can see the possibility of running this app in cron to automatically update sheets for newly ripped movies.

Cheers
Title: Re: SheetMaker for Linux
Post by: bunyip on May 14, 2011, 11:23:13 PM
Hi agentorange71,

Yes there is a lot to read through now. You may have missed the issue about why Sheetmaker was created. It was written as a GUI interface to an already existing command line sheet generator, written by jatimon, a member here at wdtvforum.

So you can run an automated generator by using the original CLI product.   
See this thread ->  http://wdtvforum.com/main/index.php?topic=6722.0 (http://wdtvforum.com/main/index.php?topic=6722.0)

Some time in the future I may provide a CLI interface through Sheetmaker so that you only need to install one product, but that's a way off yet.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: agentorange71 on May 15, 2011, 11:23:32 AM
Hi bunyip

Thanks for the response I appreciated it. I'll have a read of that link and a play as looks like it'll do what I want.

Cheers
Title: Re: SheetMaker for Linux
Post by: bunyip on May 22, 2011, 04:06:51 PM
Hi Guys,

Just thought I'd better give a status report.
Further development is significantly slowed by two factors..
1. I have several projects that need my full attention around the farm - must be done before Winter arrives.
2. I'm stumped on a problem that's developed with the Mediainfo program used in Sheetmaker. It's started behaving badly through network shares to the WDTVLive box. (may be related to firmware changes or mediainfo updates) but its blocking any new releases until I can solve the issue.

(I'd like to know if anyone else is experiencing problems with this too).

Sorry for the delay.
bunyip.
Title: Re: SheetMaker for Linux
Post by: snappy46 on May 27, 2011, 06:33:20 AM
Hi Guys,

Just thought I'd better give a status report.
Further development is significantly slowed by two factors..
1. I have several projects that need my full attention around the farm - must be done before Winter arrives.
2. I'm stumped on a problem that's developed with the Mediainfo program used in Sheetmaker. It's started behaving badly through network shares to the WDTVLive box. (may be related to firmware changes or mediainfo updates) but its blocking any new releases until I can solve the issue.

(I'd like to know if anyone else is experiencing problems with this too).

Sorry for the delay.
bunyip.


Sorry mate I am afraid that I can not help you with that since I do not own a wdtv player. Beside most of my files resides on my Network Accces Storage (NAS) and I normally create the moviesheet there before I move the movie directory structure to my player.  Just as a point of reference I do not have any issues to create moviesheet on my player thru the network but like you mentioned already in your post it is probably causes by a firmware update.  What is the server used on the WDTV to make your player's files available on your PC ???? Samba server, NFS ????  I miss to see what difference that would make to mediainfo.  What version of mediainfo do you currently use????

Cheers !!!

PS: Take all the time you need and no apologies are required with regards to any delays.
Title: Re: SheetMaker for Linux
Post by: bunyip on May 27, 2011, 04:19:19 PM
Thanks Snappy,

I've been doing more tests and found that the problem is indeed with the last 2 releases of Mediainfo (or more precisely with the 'libmediainfo0' module).

It's OK up to and including version 0.7.42, but then became broken with versions 0.7.43 & 0.7.44. It affects only the linux version and only when reading AVI files.

I have contacted the author of Mediainfo but he hasn't time yet to fix the problem so as long as users of Sheetmaker keep their Mediainfo under version 0.7.43 for now, all should work OK.

I'd like to, a bit later, embed code in Sheetmaker to extract the media information directly and eliminate the need for Mediainfo, but that's a wish-list item.

The good news is I can spare some time again to continue development.

Cheers,
Bunyip.
Title: Re: SheetMaker for Linux
Post by: snappy46 on May 27, 2011, 08:26:57 PM
Thanks Snappy,

I've been doing more tests and found that the problem is indeed with the last 2 releases of Mediainfo (or more precisely with the 'libmediainfo0' module).

It's OK up to and including version 0.7.42, but then became broken with versions 0.7.43 & 0.7.44. It affects only the linux version and only when reading AVI files.

I have contacted the author of Mediainfo but he hasn't time yet to fix the problem so as long as users of Sheetmaker keep their Mediainfo under version 0.7.43 for now, all should work OK.

I'd like to, a bit later, embed code in Sheetmaker to extract the media information directly and eliminate the need for Mediainfo, but that's a wish-list item.

The good news is I can spare some time again to continue development.

Cheers,
Bunyip.


Thanks for the info; using 0.7.39-1 here I guess that is the reason I do not have any problems.

Cheers !!!!
Title: Re: SheetMaker for Linux
Post by: jackie999 on June 01, 2011, 03:13:24 PM
I noticed a problem with mediainfo as well..it freezes when running over network (wirelessly thru my WDTVlive Plus). If I plug the USB HD (containing the .avi's) directly into my laptop it runs fine. My version is 0.7.44.
I would have mentioned this earlier to back you up bunyip - but my thread subscription didn't notify me of your post.
Title: Re: SheetMaker for Linux
Post by: bunyip on June 01, 2011, 03:48:20 PM
I noticed a problem with mediainfo as well..it freezes when running over network (wirelessly thru my WDTVlive Plus). If I plug the USB HD (containing the .avi's) directly into my laptop it runs fine. My version is 0.7.44.
I would have mentioned this earlier to back you up bunyip - but my thread subscription didn't notify me of your post.

Thanks jackie999,
That confirms it then. It appears to hang across the network because it's reading the whole AVI file over the network instead of just reading the header. When you direct connect the drive to the PC it's still reading the whole file but its much faster, so it appears to be working.

My recommendation is to go back to version 0.7.42 of Mediainfo and it will be fine over the network again.

Cheers.
Title: Re: SheetMaker for Linux
Post by: snappy46 on July 02, 2011, 12:20:08 PM
Sheetmaker will not fetch the movie rating anymore seem to report 0 or 1 all the time.  Did IMDB change their page and we need to scrape it differently to get the rating ????  Is it just me or does anybody else experienced that problem.

Cheers !!!
Title: Re: SheetMaker for Linux
Post by: bunyip on July 02, 2011, 04:47:37 PM
Sheetmaker will not fetch the movie rating anymore seem to report 0 or 1 all the time.  Did IMDB change their page and we need to scrape it differently to get the rating ????  Is it just me or does anybody else experienced that problem.

Cheers !!!
Hi Snappy,

No it's not just you, I too noticed this problem last week.
Yes, IMDB changed something so the Perl module IMDB::FILM is broken, there's a bug report on CPAN about it but it may be some time before it's fixed. I'm still waiting for them to fix the broken 'Classification' bit (almost a year now).

I had to put a work-around in the original Sheetmaker as a temporary fix for 'classifaction' and now I'm working on another one to get around this 'Rating' problem. I'm also looking at doing the whole IMDB thing as a part of Sheetmaker since the IMDB site changes often and we need to be able to track these changes quickly.

I'll issue another bug-fix version soon to include the Ratings fix and some of the other recently reported bugs.

In the meantime a user has posted a quick-fix you can make to your own copy of the IMDB::FILM module that you may like to try. See https://rt.cpan.org/Public/Bug/Display.html?id=69049 (https://rt.cpan.org/Public/Bug/Display.html?id=69049)

Cheers,
bunyip
Title: Re: SheetMaker for Linux
Post by: snappy46 on July 02, 2011, 08:42:44 PM

Hi Snappy,

No it's not just you, I too noticed this problem last week.
Yes, IMDB changed something so the Perl module IMDB::FILM is broken, there's a bug report on CPAN about it but it may be some time before it's fixed. I'm still waiting for them to fix the broken 'Classification' bit (almost a year now).

I had to put a work-around in the original Sheetmaker as a temporary fix for 'classifaction' and now I'm working on another one to get around this 'Rating' problem. I'm also looking at doing the whole IMDB thing as a part of Sheetmaker since the IMDB site changes often and we need to be able to track these changes quickly.

I'll issue another bug-fix version soon to include the Ratings fix and some of the other recently reported bugs.

In the meantime a user has posted a quick-fix you can make to your own copy of the IMDB::FILM module that you may like to try. See https://rt.cpan.org/Public/Bug/Display.html?id=69049 (https://rt.cpan.org/Public/Bug/Display.html?id=69049)

Cheers,
bunyip


Thanks a lot bunyip; try the fix indicated at the links and it works fine now.

Keep up the good work!  Looks to me like you track down this problem very quickly whether or not IMDB reside in your program or not .... ;D

Cheers !!!

Snappy
Title: Re: SheetMaker for Linux
Post by: bunyip on July 09, 2011, 06:49:17 PM
Just to prove that the program is still actively being worked on, I have issued another bug-fix release. It fixes some of those annoying issues that you really want to go away.
I've also put in a fix for the broken IMDB::FILM module where the movie rating is missing.

Get it here => http://users.on.net/~garstev99/wdtv/index.php (http://users.on.net/~garstev99/wdtv/index.php)
More to come soon.

Cheers.
bunyip
Title: Re: SheetMaker for Linux
Post by: snappy46 on July 09, 2011, 08:41:51 PM
Hi Bunyip,

You Download link on your main page seem to be broken; I can not access the download page.

Cheers!!!
Title: Re: SheetMaker for Linux
Post by: bunyip on July 09, 2011, 09:07:44 PM
Hi Bunyip,

You Download link on your main page seem to be broken; I can not access the download page.

Cheers!!!

Hi Snappy,

I changed a few things on the site for better control, if you came in via the front page you may have to hit refresh to clear the browser cache, or if you have the old download page directly bookmarked, you'd better come in via the main page and re-build your bookmark.

cheers,
bunyip.
 
Title: Re: SheetMaker for Linux
Post by: suseway123 on July 10, 2011, 01:39:04 AM
Is it possible to add another Collector - kinopoisk.ru?
Title: Re: SheetMaker for Linux
Post by: bunyip on July 10, 2011, 03:58:06 PM
Is it possible to add another Collector - kinopoisk.ru?

Sadly not at this time.

Adding collector sites require a lot of additional coding, especially if the site doesn't provide a public API.
The site you mention is not a Movie index site but just a movie retail site, so adding it would require a lot of 'screen-scraping' (and getting around the language problem). So for now I can only include the major popular indexing sites.

When Sheetmaker programming is finally complete (incl. support for Playlists and XSLT support) then attention could be given to adding more sites.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: bunyip on July 15, 2011, 03:43:09 AM
OOPS! Seems I introduced a new bug in version 1.22b.2 that prevents the saving of user options, (some of you may have already noticed).

There is a fix available on the Sheetmaker website http://users.on.net/~garstev99/wdtv (http://users.on.net/~garstev99/wdtv), (see release no. 1.22b.3).

Title: Re: SheetMaker for Linux
Post by: snappy46 on July 18, 2011, 07:23:03 AM
Great work as always bunyip; just keeps on getting better and better.

By the way this last version still exhibit the offset problem that I mentioned in this post: http://wdtvforum.com/main/index.php?topic=7912.msg63537#msg63537

No big deal since I modified that template with a new offset just to be able to use it with sheetmaker but I just thought I would let you know.  I am not sure if it affects any other templates since this is the only one that I am using.

Cheers !!!! 

PS: Hope you are enjoying your winter;  I am sure enjoying the summer over here  8).
Title: Re: SheetMaker for Linux
Post by: bunyip on July 18, 2011, 03:45:59 PM
Hi Snappy,

Yep that's still a problem, it's because ImageMagick does autosizing a bit different to whatever Thumbgen uses.
Thanks for reminding me about this, I think I have finally resolved it, more testing to be done. I'll include it in the release.

Announcement: Linux Versions of the Templates.

As we all know, there are many differences when rendering the Windows templates in Linux and many features that don't work well or don't work at all in Linux.

What I am doing at present is making Linux versions of as many of the currently available Thumbgen templates as I can find and I will be posting them on the Sheetmaker website shortly. I am modifying Sheetmaker, wherever needed, so that all (or at least most) features in the templates work as intended.

Although XSLT is not yet supported in Sheetmaker I am finding that many of the features that are being rendered using xslt can still be done using standard XML or sometimes with a tweak of Sheetmaker code.

(Just as a footnote, I have done research into supporting XSLT, and one of the biggest hurdles is that Microsoft in its' usual snub to ISO standards has implemented it's own proprietary version of xslt, and it is this that is used in many of the Windows templates. So implementing the MS version is improbable in Linux).

So since most times 'out-of-the-box' windows templates will generally not render well in Linux, the answer is clearly to always create a corresponding 'Linux' version which I am endeavouring to do.

(I'll also look at what's needed to get those 'cover-trickle' templates to work in Sheetmaker).

I'll post a message here when the templates are ready for use.

Cheers,
bunyip
Title: Re: SheetMaker for Linux
Post by: DaChouffe on July 19, 2011, 06:50:32 AM
Hi Snappy,

Yep that's still a problem, it's because ImageMagick does autosizing a bit different to whatever Thumbgen uses.
Thanks for reminding me about this, I think I have finally resolved it, more testing to be done. I'll include it in the release.

Announcement: Linux Versions of the Templates.

As we all know, there are many differences when rendering the Windows templates in Linux and many features that don't work well or don't work at all in Linux.

What I am doing at present is making Linux versions of as many of the currently available Thumbgen templates as I can find and I will be posting them on the Sheetmaker website shortly. I am modifying Sheetmaker, wherever needed, so that all (or at least most) features in the templates work as intended.

Although XSLT is not yet supported in Sheetmaker I am finding that many of the features that are being rendered using xslt can still be done using standard XML or sometimes with a tweak of Sheetmaker code.

(Just as a footnote, I have done research into supporting XSLT, and one of the biggest hurdles is that Microsoft in its' usual snub to ISO standards has implemented it's own proprietary version of xslt, and it is this that is used in many of the Windows templates. So implementing the MS version is improbable in Linux).

So since most times 'out-of-the-box' windows templates will generally not render well in Linux, the answer is clearly to always create a corresponding 'Linux' version which I am endeavouring to do.

(I'll also look at what's needed to get those 'cover-trickle' templates to work in Sheetmaker).

I'll post a message here when the templates are ready for use.

Cheers,
bunyip

Great job bunyip,

Nice to see further devolepment.

Keep on the great work.

Massel,

DaChouffe
Title: Re: SheetMaker for Linux
Post by: bunyip on July 28, 2011, 02:44:01 AM
*** Templates Available ***

The first batch of tweaked templates is now available on the SheetMaker web site, as well as an updated version (1.23) of SheetMaker with improved template support.

More templates will be added as they are converted.

(Thanks to all the authors that have provided so many interesting templates for our use).

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: airone26 on July 28, 2011, 03:47:54 AM
Hi Snappy,

Yep that's still a problem, it's because ImageMagick does autosizing a bit different to whatever Thumbgen uses.
Thanks for reminding me about this, I think I have finally resolved it, more testing to be done. I'll include it in the release.

Announcement: Linux Versions of the Templates.

As we all know, there are many differences when rendering the Windows templates in Linux and many features that don't work well or don't work at all in Linux.

What I am doing at present is making Linux versions of as many of the currently available Thumbgen templates as I can find and I will be posting them on the Sheetmaker website shortly. I am modifying Sheetmaker, wherever needed, so that all (or at least most) features in the templates work as intended.

Although XSLT is not yet supported in Sheetmaker I am finding that many of the features that are being rendered using xslt can still be done using standard XML or sometimes with a tweak of Sheetmaker code.

(Just as a footnote, I have done research into supporting XSLT, and one of the biggest hurdles is that Microsoft in its' usual snub to ISO standards has implemented it's own proprietary version of xslt, and it is this that is used in many of the Windows templates. So implementing the MS version is improbable in Linux).

So since most times 'out-of-the-box' windows templates will generally not render well in Linux, the answer is clearly to always create a corresponding 'Linux' version which I am endeavouring to do.

(I'll also look at what's needed to get those 'cover-trickle' templates to work in Sheetmaker).

I'll post a message here when the templates are ready for use.

Cheers,
bunyip

That's great news. I can't wait to see and use that.
Thanks in advance.
Airone.
Title: Re: SheetMaker for Linux
Post by: snappy46 on July 28, 2011, 04:27:12 AM
*** Templates Available ***

The first batch of tweaked templates is now available on the SheetMaker web site, as well as an updated version (1.23) of SheetMaker with improved template support.

More templates will be added as they are converted.

(Thanks to all the authors that have provided so many interesting templates for our use).

Cheers,
bunyip.

As always awesome work!!!  Thanks you for that.

Snappy46
Title: Re: SheetMaker for Linux
Post by: DaChouffe on July 28, 2011, 11:37:23 PM
Great work,

It's fast, it's flawless, it's stable, it's sleek, it's great. There are no words to describe this great program.. Maybe..... It's totally irreplaceable, must have program for every movie lover..  :-* :-*

Keep on the great work, maybe there is a possibility to find some bugs... Nhee, can't imagine that..  ;)
 
Title: Re: SheetMaker for Linux
Post by: bunyip on July 29, 2011, 12:05:14 AM
 ;D Wow, thanks guys, nice to have your work appreciated.
But there's still lots of scope for improvement yet.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on July 29, 2011, 12:45:17 AM
;D Wow, thanks guys, nice to have your work appreciated.
But there's still lots of scope for improvement yet.


I think i found a little bug. If i disable use data from metadata file safe the settings and try to enable it again, it does not save. The templates are saved normal.. ;D

Maybe, when you're ready to implant the downloading of subtitles maybe it's a idea to look a this program JBierSubDownloader-v2.8.2.jar. It downloads from opensubtitles.org for movies and from bierdopje.com series. It's in dutch and java.
Title: Re: SheetMaker for Linux
Post by: bunyip on July 29, 2011, 06:14:30 PM
I think i found a little bug. If i disable use data from metadata file safe the settings and try to enable it again, it does not save. The templates are saved normal.. ;D

Maybe, when you're ready to implant the downloading of subtitles maybe it's a idea to look a this program JBierSubDownloader-v2.8.2.jar. It downloads from opensubtitles.org for movies and from bierdopje.com series. It's in dutch and java.


I haven't been able to duplicate the error yet, it seems to work for me, but I'll keep looking. If it pops up for one person it's a problem.

I have been doing some preliminary work on subtitles, both sites seem to provide an API so implementing them into Sheetmaker shouldn't be too difficult.

(Footnote: JAVA!! no way, it was seen as a good idea in the 1990's but it's a big resource hog.)

Title: Re: SheetMaker for Linux
Post by: DaChouffe on July 29, 2011, 11:38:46 PM
I think i found a little bug. If i disable use data from metadata file safe the settings and try to enable it again, it does not save. The templates are saved normal.. ;D

Maybe, when you're ready to implant the downloading of subtitles maybe it's a idea to look a this program JBierSubDownloader-v2.8.2.jar. It downloads from opensubtitles.org for movies and from bierdopje.com series. It's in dutch and java.


I haven't been able to duplicate the error yet, it seems to work for me, but I'll keep looking. If it pops up for one person it's a problem.

I have been doing some preliminary work on subtitles, both sites seem to provide an API so implementing them into Sheetmaker shouldn't be too difficult.

(Footnote: JAVA!! no way, it was seen as a good idea in the 1990's but it's a big reso
urce hog.)



The problem i wrote about, is gone. It now saves normally. I don't know what went wrong.  ??? ???

It was not the intention for me to use any code from the program i mentioned for downloading subtitles. But maybe it could be helpful to take a look at the code. Cause it has a very good way of finding subtitles. It's very accurate..  ;D

You're right, JAVA sucks real time. But it's the best program to download subtitles at the moment :-[

Have a nice day Bunyip
Title: Re: SheetMaker for Linux
Post by: snappy46 on July 30, 2011, 05:54:23 AM
(Footnote: JAVA!! no way, it was seen as a good idea in the 1990's but it's a big resource hog.)

Quote from: DaChouffe
You're right, JAVA sucks real time.

What!!!  What !!! Crap I have been reading on this JAVA stuff for a few days now .... well ever since I received my new toy (Android Tablet) a few days ago.  It appear that JAVA (Modified for Android it's actually Dalvik engine) is the development tool of choice for this little bad boy.

Oh well .....
Title: Re: SheetMaker for Linux
Post by: snappy46 on August 01, 2011, 07:44:50 AM

Hi Bunyip,

I think I might have found a bug on your latest release.  It does not seem to be able to find the Image element media type for MPEG.  This is the message that I get on terminal:

CRIT:   I was unable to find image element information .. IMG_mediaformat

MKV's seem to work ok the problem is only present (as far as I can tell) with Format: MPEG-4 Visual as indicated by mediainfo.

Previous version works fine with the same template located at the same place on my PC.

Have a great day.

Snappy46
Title: Re: SheetMaker for Linux
Post by: bunyip on August 01, 2011, 03:56:45 PM
Hi Snappy,

That's odd, 'MPEG-4 Visual' is usually specifying a 'codec-id', not a Media format.
Media format is specified in the 'General' section of the mediainfo output and shows the 'container' used such as avi, mkv, mpeg, flv and so on.

Could you post the mediainfo output of one of the offending files thanks.

Cheers,
bunyip

(And don't worry, JAVA still has a place in the IT world).
Title: Re: SheetMaker for Linux
Post by: snappy46 on August 03, 2011, 04:56:11 PM
Hi Snappy,

That's odd, 'MPEG-4 Visual' is usually specifying a 'codec-id', not a Media format.
Media format is specified in the 'General' section of the mediainfo output and shows the 'container' used such as avi, mkv, mpeg, flv and so on.

Could you post the mediainfo output of one of the offending files thanks.

Cheers,
bunyip

(And don't worry, JAVA still has a place in the IT world).

Hi bunyip,

Any reasons why the line that is suppose to get the mediaformat is commented out on sheetmaker.pl

      # supported values      Divx, xvid, wmv, avc, mpeg
#      $provider_hash->{VIDEOFORMAT}               = lc($media_info->{Mediainfo}->{File}->{track}->[1]->{Format});
      $provider_hash->{VIDEOFORMAT}               = lc($media_info->{Mediainfo}->{File}->{track}->[1]->{Codec_ID});
      $provider_hash->{VIDEOFORMAT}               =~ s/mpeg-4 visual/divx/i;
      $provider_hash->{VIDEOFORMAT}               =~ s/v_mpeg4\/iso\/asp/divx/i;

Here's mediainfo in XML of one of the file causing the problem; I don't think that the format is ever being pull since the line to store it in the array has been commented out .... I don't know much about perl so I will leave it in your capable hands to figure out what is going on here.

<?xml version="1.0" encoding="UTF-8"?>
<Mediainfo version="0.7.39">
<File>
<track type="General">
<Complete_name>For_me_To_know.avi</Complete_name>
<Format>AVI</Format>
<Format_Info>Audio Video Interleave</Format_Info>
<Format_profile>OpenDML</Format_profile>
<File_size>2.77 GiB</File_size>
<Duration>1h 37mn</Duration>
<Overall_bit_rate>4 084 Kbps</Overall_bit_rate>
<Writing_application>VirtualDubMod 1.5.10.2 (build 2540/release)</Writing_application>
<Writing_library>VirtualDubMod build 2540/release</Writing_library>
</track>

<track type="Video">
<ID>0</ID>
<Format>MPEG-4 Visual</Format>
<Format_profile>Advanced Simple@L5</Format_profile>
<Format_settings__BVOP>2</Format_settings__BVOP>
<Format_settings__QPel>No</Format_settings__QPel>
<Format_settings__GMC>No warppoints</Format_settings__GMC>
<Format_settings__Matrix>Default (H.263)</Format_settings__Matrix>
<Codec_ID>XVID</Codec_ID>
<Codec_ID_Hint>XviD</Codec_ID_Hint>
<Duration>1h 37mn</Duration>
<Bit_rate>3 274 Kbps</Bit_rate>
<Width>1 280 pixels</Width>
<Height>544 pixels</Height>
<Display_aspect_ratio>2.35:1</Display_aspect_ratio>
<Frame_rate>24.000 fps</Frame_rate>
<Color_space>YUV</Color_space>
<Chroma_subsampling>4:2:0</Chroma_subsampling>
<Bit_depth>8 bits</Bit_depth>
<Scan_type>Progressive</Scan_type>
<Compression_mode>Lossy</Compression_mode>
<Bits__Pixel_Frame_>0.196</Bits__Pixel_Frame_>
<Stream_size>2.22 GiB (80%)</Stream_size>
<Writing_library>XviD 1.2.1 (UTC 2008-12-04)</Writing_library>
</track>

<track type="Audio">
<ID>1</ID>
<Format>AC-3</Format>
<Format_Info>Audio Coding 3</Format_Info>
<Mode_extension>CM (complete main)</Mode_extension>
<Codec_ID>2000</Codec_ID>
<Duration>1h 37mn</Duration>
<Bit_rate_mode>Constant</Bit_rate_mode>
<Bit_rate>640 Kbps</Bit_rate>
<Channel_s_>6 channels</Channel_s_>
<Channel_positions>Front: L C R, Side: L R, LFE</Channel_positions>
<Sampling_rate>48.0 KHz</Sampling_rate>
<Bit_depth>16 bits</Bit_depth>
<Compression_mode>Lossy</Compression_mode>
<Stream_size>444 MiB (16%)</Stream_size>
<Alignment>Split accross interleaves</Alignment>
</track>

</File>
</Mediainfo>

Thank you.
Title: Re: SheetMaker for Linux
Post by: ryan on August 04, 2011, 05:03:07 PM
First of all, thank you bunyip for you excellent work! And thank you all active members! I read through this topic and fix (downgrade) mediainfo and fix IMDB module. sheetmaker and thumbscanner do not hang now.

I come to an issue that thumbnails not working for symlink folders. Hope anybody can give me some hints.

System: wdlxtv_plus-0.4.7.3 on 1.0.3.49.

Storage: 2T hd connect to Asus rtn16 router usb, format with ext3, mount by the player with nfs.

My directory structure is:
media
-0movies                 // all movies, make it at first place
--Movie1
--Movie2
---folder.jpg              //thumbnail
---Movie2.mkv           // movie
---Movie2_sheet.jpg   // sheet
-Action
--Movie1                  // symbolic link
--Movie2
-Sci-Fi
--Movie1

All movies are "physically" located in media/0movies, each movie in a separate folder. To organize them by genre, I create symbolic link to the corresponding directories by processing the nfo file with a shell script. In this way, one movie can appear in several genres. And I can manage disc space just in 0movies, as well as browing all movies there.

Movie sheets work well when I brows media/0movies. The thumbnail shows at lower band, and the sheet displaced when I highlight the folder (i.e.Movie1).

Problem:

When I brows media/Action, movie thumbnails do not appear. (If I highlight a movie, the sheet shows well.)

How can I make the thumbnails showing up for those symlink folders?

Thanks!
Title: Re: SheetMaker for Linux
Post by: snappy46 on August 04, 2011, 07:14:21 PM
First of all, thank you bunyip for you excellent work! And thank you all active members! I read through this topic and fix (downgrade) mediainfo and fix IMDB module. sheetmaker and thumbscanner do not hang now.

I come to an issue that thumbnails not working for symlink folders. Hope anybody can give me some hints.

System: wdlxtv_plus-0.4.7.3 on 1.0.3.49.

Storage: 2T hd connect to Asus rtn16 router usb, format with ext3, mount by the player with nfs.

My directory structure is:
media
-0movies                 // all movies, make it at first place
--Movie1
--Movie2
---folder.jpg              //thumbnail
---Movie2.mkv           // movie
---Movie2_sheet.jpg   // sheet
-Action
--Movie1                  // symbolic link
--Movie2
-Sci-Fi
--Movie1

All movies are "physically" located in media/0movies, each movie in a separate folder. To organize them by genre, I create symbolic link to the corresponding directories by processing the nfo file with a shell script. In this way, one movie can appear in several genres. And I can manage disc space just in 0movies, as well as browing all movies there.

Movie sheets work well when I brows media/0movies. The thumbnail shows at lower band, and the sheet displaced when I highlight the folder (i.e.Movie1).

Problem:

When I brows media/Action, movie thumbnails do not appear. (If I highlight a movie, the sheet shows well.)

How can I make the thumbnails showing up for those symlink folders?

Thanks!

Hmmmm! This would be a function of the jukebox player on the media player.  In most media player the jukebox looks for the thumbnail and the moviesheet on the same directory as the movies.  I am afraid that you might have to create under genre a movie directory with three (3) symbolic link (movie,thumbnail,movie_sheet) for this to work.  Actually I was thinking about doing the same here since my movies are also stored on a USB Drive that is ext3 formatted hence I can create the symbolic link.

Cheers !!!
Title: Re: SheetMaker for Linux
Post by: ryan on August 05, 2011, 09:11:51 AM
Quote

Hmmmm! This would be a function of the jukebox player on the media player.  In most media player the jukebox looks for the thumbnail and the moviesheet on the same directory as the movies.  I am afraid that you might have to create under genre a movie directory with three (3) symbolic link (movie,thumbnail,movie_sheet) for this to work.  Actually I was thinking about doing the same here since my movies are also stored on a USB Drive that is ext3 formatted hence I can create the symbolic link.

Cheers !!!

Your suggestion should work. Another alternative inspired by you is directly simlink movie1.mkv, movie1.jpg, movie1.mkv_sheet.jpg, movie1.srt to Action. No movie folder in genre. This makes it easier to manager simlinks. The drawback is I lost the benefit of, say, split-sheets.
Title: Re: SheetMaker for Linux
Post by: ryan on August 05, 2011, 04:22:59 PM
Any body encountered by this error:

CRIT: I was unable to find image element information .. CertificationLogo.

Seems IMDB did not return certification information?

Another issue is many studio logo missing/no-match, i.e. "Warner Bros Pictures.png" is requested, but in Template/Common/studio/, we only have "Warner Bros. Pictures.png" -- extra dot.
Title: Re: SheetMaker for Linux
Post by: bunyip on August 06, 2011, 02:38:12 AM
Any body encountered by this error:

CRIT: I was unable to find image element information .. CertificationLogo.

Seems IMDB did not return certification information?

Another issue is many studio logo missing/no-match, i.e. "Warner Bros Pictures.png" is requested, but in Template/Common/studio/, we only have "Warner Bros. Pictures.png" -- extra dot.

Well it seems that module IMDB::FILM is broken again because of a change to the IMDB web site.
I will make another fix to Sheetmaker to compensate.

As for the missing logos, yeah this happens a lot because not all graphics are available in the common library.

Title: Re: SheetMaker for Linux
Post by: bunyip on August 06, 2011, 02:45:33 AM
Hi bunyip,

Any reasons why the line that is suppose to get the mediaformat is commented out on sheetmaker.pl

      # supported values      Divx, xvid, wmv, avc, mpeg
#      $provider_hash->{VIDEOFORMAT}               = lc($media_info->{Mediainfo}->{File}->{track}->[1]->{Format});
      $provider_hash->{VIDEOFORMAT}               = lc($media_info->{Mediainfo}->{File}->{track}->[1]->{Codec_ID});
      $provider_hash->{VIDEOFORMAT}               =~ s/mpeg-4 visual/divx/i;
      $provider_hash->{VIDEOFORMAT}               =~ s/v_mpeg4\/iso\/asp/divx/i;

Here's mediainfo in XML of one of the file causing the problem; I don't think that the format is ever being pull since the line to store it in the array has been commented out .... I don't know much about perl so I will leave it in your capable hands to figure out what is going on here.


Oh Yeah I remember now, this could start a long debate.

It's confusing isn't it. I had several thoughts about this and settled on what most suited me (author's prerogative?).
Originally the code seemed to be labelling everything 'MPEG4' which is the same as saying 'I drive a Ford', it tells me nothing. To me it was more relevant in knowing what type of 'MPEG4' it was i.e. one of H264, X263, DivX, Div3, Xvid or some other concoction.

So I felt the 'Video Codec' was more meaningful than the 'Video Format'.

Some Matroska files on the other hand labels everything as 'V_MPEG4/ISO/ASP' which is just evaluated as 'DIVX', while others show the precise codec used.

So one value is the Video Container (Windows Media, Matroska, AVI, RealMedia, MP4, etc) and the second value is the Codec used.

In your example you wouldn't have a graphic for 'AVI' so a blank area would appear on the sheet.

But I'm open to suggestions.
Title: Re: SheetMaker for Linux
Post by: bunyip on August 10, 2011, 01:00:24 AM
*** Version 1.23.1 Released ***
Fixes the broken MPAA certification in Module IMDB::FILM.
Title: Re: SheetMaker for Linux
Post by: snappy46 on August 11, 2011, 07:45:47 AM
Oh Yeah I remember now, this could start a long debate.

It's confusing isn't it. I had several thoughts about this and settled on what most suited me (author's prerogative?).

So I felt the 'Video Codec' was more meaningful than the 'Video Format'.

In your example you wouldn't have a graphic for 'AVI' so a blank area would appear on the sheet.

But I'm open to suggestions.


No debate here; as you already mentioned "author's prerogative" and I have nothing better to offer as a suggestion.

Thanks for the explanation; by the way wouldn't this code with the example I post previously return a VIDEOFORMAT = "xvid" vs avi

= lc($media_info->{Mediainfo}->{File}->{track}->[1]->{Codec_ID});

Also I am not sure what those lines do but it does look like some kind of substitution is being applied; aren't those line still required if you are using the Codec_ID vs Format ?????

$provider_hash->{VIDEOFORMAT}               =~ s/mpeg-4 visual/divx/i;
$provider_hash->{VIDEOFORMAT}               =~ s/v_mpeg4\/iso\/asp/divx/i;

Forgive me I do not know what I am doing !!!

I would guess that if I

Uncomment that line: #      $provider_hash->{VIDEOFORMAT}               = lc($media_info->{Mediainfo}->{File}->{track}->[1]->{Format});
and commented that line:    $provider_hash->{VIDEOFORMAT}               = lc($media_info->{Mediainfo}->{File}->{track}->[1]->{Codec_ID});

Things would go back the way they were previoulsly ...... right ????

Onto something else it looks like I just got back from a few days on vacation and a new release was waiting for me!!!! That is great.

Keep up the excellent work, I just love this program.

Cheers !!!!

Title: Re: SheetMaker for Linux
Post by: snappy46 on August 11, 2011, 03:48:43 PM

ArGGGG!!!!!

Never mind about all that stuff in previous post; I was looking in the wrong area.  Adding this line(bold) to the script solved the problem I had with the image not being found:

$provider_hash->{MEDIAFORMAT}               = lc($media_info->{Mediainfo}->{File}->{track}->
$provider_hash->{MEDIAFORMAT}               =~ s/Matroska/mkv/i;
$provider_hash->{MEDIAFORMAT}               =~ s/avi/mpeg4/i;

Still do not have any ideas what I am doing .... :-[

Cheers !!!
Title: Re: SheetMaker for Linux
Post by: bunyip on August 11, 2011, 09:36:10 PM

ArGGGG!!!!!

Never mind about all that stuff in previous post; I was looking in the wrong area.  Adding this line(bold) to the script solved the problem I had with the image not being found:

$provider_hash->{MEDIAFORMAT}               = lc($media_info->{Mediainfo}->{File}->{track}->
  • ->{Format});

$provider_hash->{MEDIAFORMAT}               =~ s/Matroska/mkv/i;
$provider_hash->{MEDIAFORMAT}               =~ s/avi/mpeg4/i;

Still do not have any ideas what I am doing .... :-[

Cheers !!!

OK, I was getting confused about what you were getting at, but now I see.
Your change is OK, it just assumes that all AVI files in your collection are to the MPEG4 standard, that may be the case for you but may not be the case for others (certainly not for my collection yet).
That, however is the beauty of Open-Source software, you can tailor it to suit you own requirements.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: snappy46 on August 12, 2011, 06:07:57 AM
OK, I was getting confused about what you were getting at, but now I see.

Confused people that have no ideas what they are doing have been known to create confusion to others .... :D.

Your change is OK, it just assumes that all AVI files in your collection are to the MPEG4 standard, that may be the case for you but may not be the case for others (certainly not for my collection yet).
That, however is the beauty of Open-Source software, you can tailor it to suit you own requirements.

Cheers,
bunyip.

Ok I think I understand now what is going on.

This: $provider_hash->{MEDIAFORMAT}               = lc($media_info->{Mediainfo}->{File}->{track}->0->{Format});

Pulls out the Track General of format which in my case is AVI (avi)

The next two commands are substitute commands if a match is found:

$provider_hash->{MEDIAFORMAT}               =~ s/Matroska/mkv/i;
$provider_hash->{MEDIAFORMAT}               =~ s/avi/mpeg4/i;

So in this case "avi" will be substituted with "mpeg4" so anytime that an "AVI" format is return it will be substituted with "mpeg4" which may or may not be true considering that "avi" is a video container not really a mediaformat.  Now I understand why you removed that line. 

Just a thought but wouldn't using the track type="video" format ( lc($media_info->{Mediainfo}->{File}->{track}->1->{Format}); ) be better to identify the mediaformat ?????

So Track Type="General" {Codec ID} for the VIDEOFORMAT and Track Type="Video" {Format} for the MEDIAFORMAT

It would also requires a few changes to the substitute commands ........  I don't know getting confused again ...... :-[

All that being said author's prerogative so you do whatever you feel is best for this program

Have a good day.
Title: Re: SheetMaker for Linux
Post by: snappy46 on August 12, 2011, 07:47:13 AM

Ok let's see if I can get even more confused:

Video container = VIDEOFORMAT

AVI (Audio Video Interleave) is Windows' standard multimedia container
MPEG-4 Part 14 (known to you as .mp4) is the standardized container for MPEG-4
FLV (Flash Video) is the format used to deliver MPEG video through Flash Player
MOV is Apple's QuickTime container format
OGG, OGM and OGV are open-standard containers
MKV (Mastroska) is another open-specification container that you've seen if you've ever downloaded anime
VOB means DVD Video Object. Guess what? It's DVD's standard container, and what you get when you rip a DVD.
ASF is a Microsoft format designed for WMV and WMAfiles can end in .wmv or .asf
etc.....

Video Codec = MEDIAFORMAT

Mpeg
MPEG 1 (mpg):
Mpeg2 (m2v):
Mpeg4 (mp4)video
DivX:
X vid:
Ogg Theora:
Vp3:
Avi:
WMV
.mov
.dv
.rm (.ram)
MJPEG ("Motion JPEG"):
Sorenson 3:
RP9:
Dirac:
etc......

And now just to add to the confusion some of those are both container and codec (AVI, Mpeg); how can anyone make sense of all this stuff.  Maybe I have VIDEOFORMAT and MEDIAFORMAT backwards ...... OMG this is driving me crazy !!!!
Title: Re: SheetMaker for Linux
Post by: bunyip on August 12, 2011, 03:40:22 PM
Now you begin to understand the problem, young grasshopper.  8)

It's a mess. The logical thing to do would be to just display the actual values on the moviesheets, but sheets are mean't to be an attractive 'visual' presentation, so the problems begin when you want to match a value to a nice graphical icon, many of which are not available. So you have to start categorising values, and that's where not everyone can agree.

Remember the golden rule 'KISS' - "Keep It Simple Stupid".

So in the interest of 'keeping it simple', I just use the specific container and codec, but that isn't foolproof either. I have some AVI files that just have a numbered codec (i.e. 55) so what do you do with those?


But there is nothing to stop anyone from modifying the code to suit themselves.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: snappy46 on August 12, 2011, 07:23:02 PM
Now you begin to understand the problem, young grasshopper.  8)

I really like that statement considering I am almost 50 people don't call me young so much any more.  ;D

Remember the golden rule 'KISS' - "Keep It Simple Stupid".

Wow!! I heard that on many occasions; maybe it is because I am a little bit of a perfectionist and have a tendency to think that everything has to be perfect.  Unfortunately sometimes its just not possible or just does not really matter in the big scheme of things.  I am working on it ...... a few more therapy sessions.  :P

Thank you so much for your inputs I feel better now !!!! 8).
Title: Re: SheetMaker for Linux
Post by: bunyip on September 07, 2011, 02:29:37 AM
Sheetmaker Web Site Gone Missing!

Some users may have noticed that the Sheetmaker web site is 'Not Found'.

My web hosting company has had some problems over the last few days (resulting in a dead site) and I've decided to move to a new hosting service.

The new address will be posted here when ready.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: bunyip on September 10, 2011, 02:38:45 AM
Well, SheetMaker is back (mostly). :)

A new hosting company has been negotiated, a dedicated domain has been set up and the SheetMaker site migrated.

There has been site-code conversions necessary to move from the previous site's crude Berkeley database to the much more civilised MySQL database.

I'm still doing some DB conversions so the 'bug/wish' service is not yet restored, but all other features are once again available.

The new site provides more storage, more bandwidth and many more tools so hopefully site problems are a thing of the past.

The new address is => http://www.bunyipawonga.org/sheetmaker (http://www.bunyipawonga.org/sheetmaker).

Thanks for your patience, and I'll soon be able to get back to work on the next release and more template conversions.

Cheers,
bunyip
Title: Re: SheetMaker for Linux
Post by: wiiija on September 10, 2011, 04:54:44 PM
Great stuff, looking forward to trying this, almost considered a jump back to windows due to thumbgen but decided to give this a try instead.
I have a problem, which may well be simple, all modules are installed according the ModuleTest.pl, but I get an error when trying to run SheetMaker.pl:

Code: [Select]
Can't locate editgui.pl in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/sean/Downloads/sheetmaker/SheetMaker.pl line 25.
Any ideas what is causing that?
Title: Re: SheetMaker for Linux
Post by: bunyip on September 10, 2011, 06:13:30 PM
Great stuff, looking forward to trying this, almost considered a jump back to windows due to thumbgen but decided to give this a try instead.
I have a problem, which may well be simple, all modules are installed according the ModuleTest.pl, but I get an error when trying to run SheetMaker.pl:

Code: [Select]
Can't locate editgui.pl in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/sean/Downloads/sheetmaker/SheetMaker.pl line 25.
Any ideas what is causing that?


Hi wiiija, welcome to the wonderful world of 'SML'.

It means you are missing a file. When you uncompressed the tar.gz file it should have placed the following in a single folder ..
Code: [Select]
/docs
editgui.pl
icon.png
INSTALLATION
LICENSE
ModuleTest.pl
optionsgui.pl
settingsgui.pl
SheetMaker.pl
stock_apply_14.png
stock_blank_14.png

Check that you have all these in the same folder.

Cheers,
bunyip
Title: Re: SheetMaker for Linux
Post by: wiiija on September 10, 2011, 10:23:23 PM
Thank you bunyip, that was my initial thought but all of the files are indeed present! which makes it even more confusing  ???
Title: Re: SheetMaker for Linux
Post by: bunyip on September 10, 2011, 10:44:44 PM
wiiija,

Did you check that you have read access on the file editgui.pl, try opening it in an editor.
This error will happen if you don't have read access.

bunyip.
Title: Re: SheetMaker for Linux
Post by: wiiija on September 11, 2011, 12:41:53 AM
Yes, access is fine on all of the files, I'm at a loss now, seems really strange doesn't it  :-\
Title: Re: SheetMaker for Linux
Post by: bunyip on September 11, 2011, 01:05:58 AM
Yes, access is fine on all of the files, I'm at a loss now, seems really strange doesn't it  :-\

I've just noticed that part of your error message shows '/home/sean/Downloads/sheetmaker/SheetMaker.pl' - this should just say './SheetMaker.pl' so it would suggest that you are executing SheetMaker from outside its directory.

You need to be in the SheetMaker directory before you execute it, because it looks in the 'current directory' for the other files.

bunyip.
Title: Re: SheetMaker for Linux
Post by: wiiija on September 11, 2011, 01:07:28 AM
It worked, thank you so much :)

Only issue I have now is no cast or director info is pulled, for anything for some reason, do I have to edit these in manually?
The same problem with Studio and Subtitles/Audio.
Title: Re: SheetMaker for Linux
Post by: bunyip on September 11, 2011, 03:18:12 AM
It worked, thank you so much :)

Only issue I have now is no cast or director info is pulled, for anything for some reason, do I have to edit these in manually?
The same problem with Studio and Subtitles/Audio.

I just ran a test and all is working OK.
What template are you using (is it one from the sheetmaker web site?).
As a check, go to the 'Sheet Editor' and load the TGMD file that you just created and check to see if the data is present, if it is then it may be a template problem.
Title: Re: SheetMaker for Linux
Post by: wiiija on September 11, 2011, 03:35:50 AM
Yes it is from the sheetmaker website, I tried a couple actually, its ok I inputted the info by hand that I needed for the few that I had to do.

Sorry to be a pain but one more issue, though I doubt this is related to sheetmaker, I use wall mode, all of the film info, preview thumbnail etc show up but the background does not! Last issue to solve :)
Title: Re: SheetMaker for Linux
Post by: wiiija on September 11, 2011, 07:17:13 AM
Its fixed, it was Wall mode I had problems with, switched to sheet mode style and it works now, still have to input, cast, directors, studio manually but it works at least.

Thanks again.
Title: Re: SheetMaker for Linux
Post by: bunyip on September 11, 2011, 03:56:31 PM
Its fixed, it was Wall mode I had problems with, switched to sheet mode style and it works now, still have to input, cast, directors, studio manually but it works at least.

Thanks again.

The missing data is a real head-scratcher, I'm assuming that you are using the Edit tab to enter the missing data so that means it's missing from the TGMD data file as well.

Are you using 'imdb.com' as your prime collector?
And can you let me know the title of one of the movies that you are having trouble with, so that I can test it myself, thanks.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: wiiija on September 13, 2011, 04:00:59 AM
Yes I use the Edit function to enter the details, and even if I edit the file its still missing from it if I go to edit it again!
Every film is doing it but you can try Rango.

I use imdb collector but I've tried the other one too with no success.
Title: Re: SheetMaker for Linux
Post by: bunyip on September 13, 2011, 03:03:22 PM
Hi wiiija,

OK, Rango works for me, all data appears.

Next time you run it have a look in the SheetMaker.log file and see if there are any errors reported (other than it can't find graphics files).

On a technical note: the fields that you are missing are all ARRAY variables so I wonder if your version of PERL is handling them a bit differently, just to check, what OS are you running and can you identify what version of perl you have?

By the way, if want manually edited data to be saved you must have the 'Overwrite' box ticked on the 'Moviesheet Metadata' option. (See the Options Tab).
Title: Re: SheetMaker for Linux
Post by: wiiija on September 13, 2011, 03:31:57 PM
Ok, no issues or error reports in the log file.

I'm currently running Lubuntu 11.04, perl version is the following:

This is perl, v5.10.1 (*) built for i686-linux-gnu-thread-multi
(with 53 registered patches, see perl -V for more detail)

Hope this helps :)
Title: Re: SheetMaker for Linux
Post by: bunyip on September 16, 2011, 01:06:44 AM
Thanks wiiija,

That's the same Perl version I'm using so it's not that.

After some thought and a bit of testing, I'm convinced that you have some problem reading the imdb.com web site.
The title, plot and fanart are firstly collected from 'theMovieDB' web site and the rest of the data is collected from  'imdb.com', that's why you have some data but not all.

The cause is not obvious, (it could be a problem with your copy of the CPAN module IMDB::FILM).
I would suggest that you try re-installing the module, and if that doesn't fix the problem, wait for the next release of SheetMaker, it drops the need for this module and gets the data directly from 'imdb.com'.

bunyip.
Title: Re: SheetMaker for Linux
Post by: airone26 on September 21, 2011, 12:47:41 AM
Hi,

saw today that the feature i'm waiting for
(get media attributes from nfo file) is now
completed. Can't wait for the next version
of SheetMaker !

Thanks in advance.
Erwan.
Title: Re: SheetMaker for Linux
Post by: bunyip on September 21, 2011, 03:44:07 AM
Thanks airone26,

I'm testing this change at present.
FYI, the way it's being handled is that it is reading the NFO inside the TGMD bundle and the option is only available if the 'Get Movie Data from Metadata File' option is on.
Title: Re: SheetMaker for Linux
Post by: airone26 on September 21, 2011, 04:18:41 AM
Hi Bunyip,

this is perfect for me, i already generate myself the nfo and tgmd files
to be read by sheetmaker. Thus, I'll be able to generate sheets directly
from my DB and my images folder without needing to have my movies
files.

Cool. Thanks.
Airone.
Title: Re: SheetMaker for Linux
Post by: bunyip on September 22, 2011, 03:22:40 PM
airone26,

I see, that's quite a good system.
In that case I'll also add an option in the 'File Processing Tab', to batch select and process TGMD files without the requirement for a corresponding media file.
This may also help those that keep all their movie and TV sheets in a single directory.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: airone26 on September 23, 2011, 12:00:45 AM
This would be perfect.
Thanks again for all your work.
Bye.

Title: Re: SheetMaker for Linux
Post by: frhcm on October 15, 2011, 03:38:01 AM

Thanks a lot for your great software.

I'm wondering if it could be possible to tweak SheetMaker to use imdb.fr instead of imdb.com.
I already use "Movie.imdbLookup/fr/xml" and "Movie.search/fr/xml" but Genres are always in english.
Title: Re: SheetMaker for Linux
Post by: bunyip on October 15, 2011, 04:18:19 AM
Thanks a lot for your great software.

I'm wondering if it could be possible to tweak SheetMaker to use imdb.fr instead of imdb.com.
I already use "Movie.imdbLookup/fr/xml" and "Movie.search/fr/xml" but Genres are always in english.

Thanks frhcm,

A quick check of 'imdb.fr' shows that it uses different HTML mapping as that of 'imdb.com' so it will need it's own script, but that shouldn't be difficult to add to SheetMaker as another optional collector site.

There is a new version being released very soon (I'm testing it now) so I'll look at adding 'imdb.fr' in the version after that (but don't worry, it won't be too long).

Cheers,
bunyip.

Title: Re: SheetMaker for Linux
Post by: frhcm on October 15, 2011, 09:47:13 AM

Great news, I was looking for a software equivalent to Yadis or Zappiti since a long time.

Thanks again
Title: Re: SheetMaker for Linux
Post by: bunyip on October 15, 2011, 02:22:59 PM
frhcm,

On further consideration, I can make a relatively easy adjustment now so that all available data from TheMovieDB.org is used and not over-written by IMDB.com data, which will be used only to fill in missing data.

This means that non-english data will be retained if users do what you have done and point to the language specific API. (In later versions I'll add a preferred language option where possible).

This will give you your French genres and possibly other data too.

I'll try and add this change to the version about to be released, but I'll still add imdb.fr as an option in later versions.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: frhcm on October 15, 2011, 11:50:19 PM

Thanks again bunyip
Title: Re: SheetMaker for Linux
Post by: bunyip on October 31, 2011, 03:19:07 AM
Hi all,

Version 1.24 of SheetMaker is now ready for trial.

There has been a lot of changes in this one so if you find something is broken or doesn't work as expected, please let me know ASAP.

Summary of changes:

Get it from here => http://bunyipawonga.org/sheetmaker (http://bunyipawonga.org/sheetmaker)
Title: Re: SheetMaker for Linux
Post by: DaChouffe on October 31, 2011, 12:01:55 PM
Hey Bunyip,

Did a first test run today, but can' t make it to work.

I did a clean install of sheetmaker, added my templates. Everything fine so far. But when i render a movie i get the following error:

CRIT:   I was unable to find image element information .. VideoFormat
CRIT:   I was unable to find image element information .. MediaFormat
CRIT:   I was unable to find image element information .. ImageResolution
CRIT:   I was unable to find image element information .. SoundFormat

Ending with a template without any video and sound information..

Second, it say that it creates a tgmd file. But non is created

Abandoned (2010): Completed
Abandoned (2010): Writing TGMD File
Abandoned (2010): Building a TGMD File
Abandoned (2010): Writing NFO file.
Abandoned (2010): Writing Main Thumbnail /mnt/Freenas-Movies/Pappa's Nassie/Abandoned (2010) 1080P/folder.jpg.
Abandoned (2010): Generating New Thumbnail
Abandoned (2010): Creating Main Thumbnail
Abandoned (2010): Writing MOVIE Sheet /mnt/Freenas-Movies/Pappa's Nassie/Abandoned (2010) 1080P/about.jpg.
Abandoned (2010): Generating New Sheet
Abandoned (2010): Extracting Media File Attributes.
Abandoned (2010): Retrieving additional data from 'imdb.com'.
Abandoned (2010): Retrieving Images+Data from 'themoviedb.org'.
Abandoned (2010): Searching 'theMovieDB.org'
Abandoned (2010): Process Started

edit:

Ignore this post. NFS is letting me down again..
Title: Re: SheetMaker for Linux
Post by: bunyip on October 31, 2011, 01:51:41 PM
Hi DaChouffe,

Glad is wasn't a SheetMaker problem.
However you have identified a shortcoming that I must address.
SheetMaker should check that the files it creates are in fact successfully created and alert the user if there is a writing problem.
I'll add that to next version.

thanks,
bunyip.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on October 31, 2011, 02:38:56 PM
Hi DaChouffe,

Glad is wasn't a SheetMaker problem.
However you have identified a shortcoming that I must address.
SheetMaker should check that the files it creates are in fact successfully created and alert the user if there is a writing problem.
I'll add that to next version.

thanks,
bunyip.


Great that i still could be of some help ;D

There is still a problem i can' t put my finger on.

I have this problem with both the versions (1.23.1/1.24) but never noticed it, because i disabled this for a while.

There are no tmgd files created, no matter what i do, and i can' t figure out what causing this. The program says tgmd files created, but no errors and no tgmd files ??? ??? ???. This is on my local disk and my samba share.

Title: Re: SheetMaker for Linux
Post by: bunyip on October 31, 2011, 03:12:49 PM
DaChouffe,
The first thing that I would check is that the TGMD files are being written to valid directories and names.
Is your naming scheme for TGMD files in the options setting valid?

If so, it would be good to see what SheetMaker is in fact trying to create.
Put on your programmer's hat, and make this temporary addition to the 1.24 version of 'SheetMaker.pl' file.
After what should be line no. 1351, that says ..
Code: [Select]
ShowProcessStep($filename,"Writing TGMD File");insert the following line ..
Code: [Select]
ShowMsg("info","Writing: $tgmdfilename");
.. then run a movie as normal and a pop-up message box will show exactly what TGMD file it's trying to write.

(Don't forget to remove the line when finished, constant pop-ups can be annoying).

bunyip.
Title: Re: SheetMaker for Linux
Post by: ryan on November 01, 2011, 03:26:03 AM
I have been waiting for 1.24 a while. Thank you bunyip! You did a wonderful job!

I am reporting some issue at this point. Hope SheetMaker a perfect Swiss Knife.

1. ModuleTest: Should add Text::Unidecode. My system is a recent fresh installed Ubuntu 11.10. So...

2. Got the following message for most movies:

~/apps/SheetMaker$ Gtk-CRITICAL **: _gtk_file_chooser_entry_set_file_part: assertion `GTK_IS_FILE_CHOOSER_ENTRY (chooser_entry)' failed at SheetMaker.pl line 75, <CF> line 41.

My path tree is ~/apps/SheetMaker/Templates/Common
Session Home: ~/
Templates Dir: ~/apps/SheetMaker/Template
temp dir:  ~/temp

3. When I try "Limitless 2011", gui hang on
INFO:   Limitless_[2011]: Retrieving Images+Data from 'themoviedb.org'

Terminal shows:
:~/apps/SheetMaker$ *** unhandled exception in callback:
***   Not an ARRAY reference at collectors.pl line 477.
***  ignoring at SheetMaker.pl line 75.

Thanks!
Title: Re: SheetMaker for Linux
Post by: DaChouffe on November 01, 2011, 08:55:23 AM
DaChouffe,
The first thing that I would check is that the TGMD files are being written to valid directories and names.
Is your naming scheme for TGMD files in the options setting valid?

If so, it would be good to see what SheetMaker is in fact trying to create.
Put on your programmer's hat, and make this temporary addition to the 1.24 version of 'SheetMaker.pl' file.
After what should be line no. 1351, that says ..
Code: [Select]
ShowProcessStep($filename,"Writing TGMD File");insert the following line ..
Code: [Select]
ShowMsg("info","Writing: $tgmdfilename");
.. then run a movie as normal and a pop-up message box will show exactly what TGMD file it's trying to write.

(Don't forget to remove the line when finished, constant pop-ups can be annoying).

bunyip.

Thanks for your answer,

Problem found, there was no zip installed on my system.
Didn't need it, and is was a clean linux installation ::) ::) Installed zip, problem solved..  ;D

Now for some further testing..

Cu
Title: Re: SheetMaker for Linux
Post by: DaChouffe on November 01, 2011, 01:43:17 PM
Hey bunyip,

How does "Use folder names" work ??? If i have a directory, and i want to use that name and not the movie name. I get the error "can't add file while in folder mode"  ???

2nd: When i do a "save" with the config file and that file already exist and it ask me to overide it. The popup does no close when i select yes or no.

3rd: Similar problem occurred when i do a save with a new file, the browser does not close. So it looks like it is not being saved (it is saved) 

4th: There are some movies where Sheetmaker will hang without any error, is there a way of debugging what is happening??

5th: It would be nice when  a config file is saved, that you can easly select it from a pulldown menu. Not searching inside the directory.

If i have some more time tomorrow i will see if a can nag some more ::) ::)

Than bunyip
Title: Re: SheetMaker for Linux
Post by: bunyip on November 01, 2011, 03:45:06 PM
Hi ryan, thanks for the support.

1. ModuleTest: Should add Text::Unidecode. My system is a recent fresh installed Ubuntu 11.10. So...

1. - Silly me - how did I miss that one?

Quote
2. Got the following message for most movies:
~/apps/SheetMaker$ Gtk-CRITICAL **: _gtk_file_chooser_entry_set_file_part: assertion `GTK_IS_FILE_CHOOSER_ENTRY (chooser_entry)' failed at SheetMaker.pl line 75, <CF> line 41.
My path tree is ~/apps/SheetMaker/Templates/Common
Session Home: ~/
Templates Dir: ~/apps/SheetMaker/Template
temp dir:  ~/temp

2. Have you actually got the home short-cut character (~) in the file names? Perl/Gtk doesn't support this, it's only a bash shortcut as far as I know. You will need the full path name.

Quote
3. When I try "Limitless 2011", gui hang on
INFO:   Limitless_[2011]: Retrieving Images+Data from 'themoviedb.org'
Terminal shows:
:~/apps/SheetMaker$ *** unhandled exception in callback:
***   Not an ARRAY reference at collectors.pl line 477.
***  ignoring at SheetMaker.pl line 75.

3. Sigh! - that's the problem with using poorly maintained and poorly documented CPAN modules, you never know all the possible return values and data formats. It's a data variation, I'll add a fix ASAP.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: bunyip on November 01, 2011, 03:51:40 PM
Hi DaChouffe,

That's OK - nag away!

How does "Use folder names" work ??? If i have a directory, and i want to use that name and not the movie name. I get the error "can't add file while in folder mode"  ???

1. When using the Folder Names option you need to add the 'folder' to the processing list, not the media file. So just select the folder (but don't open it) and click on the [+Add to List] button. Sheetmaker then examines the contents of the directory to determine what to do. (This only works if you have one movie per directory).

Quote
2nd: When i do a "save" with the config file and that file already exist and it ask me to overide it. The popup does no close when i select yes or no.

2. Here's where I must use that standard response, 'well it works for me', so far I haven't been able to duplicate your error. But one confusion is that if you are just saving you should not get the 'overwrite' prompt, it just writes to the currently open conf file, 'overwrite' is only an issue when you use [Save As].

Quote
3rd: Similar problem occurred when i do a save with a new file, the browser does not close. So it looks like it is not being saved (it is saved) 

3. Well - works for me  ;) - I'll keep looking.

Quote
4th: There are some movies where Sheetmaker will hang without any error, is there a way of debugging what is happening??

4. When there is a problem, useful data is usually written to the consol but if a consol is not running then you won't see them. To see these, bring up a terminal window and launch SheetMaker from the command line (i.e. 'perl SheetMaker.pl'). When you hit a problem, don't close SheetMaker, instead just look at any messages appearing in the terminal window.
Hanging could be caused by data variations not known by SheetMaker (another reason for dropping the use of CPAN modules and writing my own handlers).

Quote
5th: It would be nice when  a config file is saved, that you can easly select it from a pulldown menu. Not searching inside the directory.

5. Yes that would be nice, but to do that I would either have to impose strict naming and location rules (which may be acceptable to users), or add a config file tracking system. I'll look into this for future releases.

Keep testing.
Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: ryan on November 01, 2011, 05:49:38 PM
Quote
2. Have you actually got the home short-cut character (~) in the file names? Perl/Gtk doesn't support this, it's only a bash shortcut as far as I know. You will need the full path name.

I use, actually, absolute path instead of '~'.  :)
Title: Re: SheetMaker for Linux
Post by: jackie999 on November 01, 2011, 05:52:34 PM
Thanks for this!!
Working great on Kubuntu 11.10
I ran some moviesheets on a few movies that the older version couldn't find by using the imdb number and also ran a few TV series moviesheets with covertrickle and it works just great!!
I'm still trying to figure if I can have the program create the Series thumb... for now I just make them manually - IIRC I had the same problem in thumbgen. I'm set up for STD sheets and each series is one thumb (folder.jpg).
Great update!!
Title: Re: SheetMaker for Linux
Post by: bunyip on November 01, 2011, 08:15:09 PM
Hi jackie999,

Thanks - it's good to hear you don't have any issues .. yet.

Yes, I wondered about Series thumbnails too. Initially the options in SheetMaker were modelled off 'Thumbgen' which also doesn't handle these, perhaps that's why there doesn't appear to be any special templates for them.

I'll have to add an option to do these thumbnails as well.

In the meantime, the way I do it is after SheetMaker has generated all the Episode, Season and Series Sheets and Thumbnails, I then used the Edit Tab to load the newly created Series TGMD file (which contains the Series Cover Artwork) and just generate an 'Extra Thumbnail' - presto a Series thumbnail in the right place with the right name.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on November 02, 2011, 10:04:53 AM
Hey bunyip,

Did some more testing.

* If i enable the folder option i get the following error:

Warning: In 'Folder Mode'.
No Media File Found Matching Current Directory Name.
Can't add Directory: /mnt/Freenas-Movies/Pappa's Nassie/Biutiful (2010) 1080P

This is when i select /mnt/Freenas-Movies/Pappa's Nassie/ or if i select Biutiful (2010) 1080P. The movie inside in named different than the folder "Biutiful.mkv" Can' t make it to work.

* The hanging of some movies give me the same error than ryan:

*** unhandled exception in callback:
***   Not an ARRAY reference at collectors.pl line 477, <CF> line 41.
***  ignoring at SheetMaker.pl line 75, <CF> line 41.

* Found the solution with saving, not all the file in the Sheetmaker dir where writable.

So point 2 and 3 are solved.

point 4 is probably something in a  perl module.

bunyip, would it be possible to use the filter when the movies are in folders. Now i can' t filter.
For the next release, maybe it' s wise to put a control for zip in. There are always some looser like me :P :P

 


Title: Re: SheetMaker for Linux
Post by: bunyip on November 02, 2011, 02:02:48 PM
Hi DaChouffe,

'Use Folder Names as Movie Names' option:
At the moment there is a rule that says the movie name has to match the folder name. But now that I think about it, that probably defeats the purpose of using folder names instead of media file names. I'll change that so it just uses the first media file it finds inside the folder.

File Saving Issues:
Write access to files did cross my mind, but I assumed you would have checked that. ;)

Data exception error.
I have a fix for that, I'll publish a bug-fix release today.

File List Filtering.
I assume you mean that when you have the 'Use Folder Names as Movie Names' option selected, you want the filter to act as 'Show Folders without Sheets' or 'Show Folders with Sheets' and so on instead. I'm sure that's do-able, I'll investigate the option.

Zip Program:
Yes perhaps I should add it to the Module check. It's not there now because Zip is packaged with Linux these days. Of course I didn't factor in people being over-zealous with cleanups.  :-\ (Although I'm the same, I generally remove stuff that I feel I'll never use - Zip is on my 'essential-tools' list though!).

Cheers,
bunyip

Title: Re: SheetMaker for Linux
Post by: bunyip on November 02, 2011, 10:04:41 PM
Bug Fix Release 1.24.1 - now available.

Fixes crashes with some movies when collecting data from 'themoviedb.org'.
 
Title: Re: SheetMaker for Linux
Post by: bunyip on November 09, 2011, 03:13:50 AM
To all the loyal users of SheetMaker, here is a bonus release.

I wanted a way to view and audit the thumbnails and sheets without having to fire-up the TV and media player, so I added a simple viewer to SheetMaker that you may also find useful.

(http://bunyipawonga.org/sheetmaker/images/viewer.jpg)

Available in release 1.25, available here =>  bunyipawonga.org/sheetmaker (http://bunyipawonga.org/sheetmaker)

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on November 09, 2011, 02:07:40 PM
To all the loyal users of SheetMaker, here is a bonus release.

I wanted a way to view and audit the thumbnails and sheets without having to fire-up the TV and media player, so I added a simple viewer to SheetMaker that you may also find useful.

(http://bunyipawonga.org/sheetmaker/images/viewer.jpg)

Available in release 1.25, available here =>  bunyipawonga.org/sheetmaker (http://bunyipawonga.org/sheetmaker)

Cheers,
bunyip.

Hey bunyip,

Great bonus.

The only problem i seen, is that you have to be specific about the place where you put your templates.
I only have configured Thumbnail and Mainsheet, the rest is on default and not used.  So it couldn't find a about.jpg  8)

The second thing i seen today when i was using the sheet editor. When i only have one jpg file it will use this for all the fanart 1 to 3 and background. I can' t disable this and select only one, or remove the selected fanart/thumbnail. I will have to reload the tgmd.
Maybe i'm missing the logica..  ;)

But it looks realy great..  ;D ;D 10 kudos for you..  ;)
Title: Re: SheetMaker for Linux
Post by: bunyip on November 09, 2011, 02:58:02 PM
Thanks DaChouffe,

The only problem i seen, is that you have to be specific about the place where you put your templates.
I only have configured Thumbnail and Mainsheet, the rest is on default and not used.  So it couldn't find a about.jpg  8)

Yes I'm afraid it needs to be that way. Originally this was developed for just the WDTVLIVE but it's being used by many non-WDTV users now so there are no enforceable naming rules, the only way to identify folder sheets, media sheets, folder thumbnails and media thumbnails is for the user to tell SheetMaker what to look for (i.e. by the settings in the Options tab).
SheetMaker would have found 'about.jpg' but didn't know what to do with it (doesn't know where it belongs), so skips over it.

The second thing i seen today when i was using the sheet editor. When i only have one jpg file it will use this for all the fanart 1 to 3 and background. I can' t disable this and select only one, or remove the selected fanart/thumbnail. I will have to reload the tgmd.
Maybe i'm missing the logica..  ;)

I have to agree that there are several shortcomings in the edit tool. It needs a bit of re-working too - I'm on it! Next release?

Cheers,
Bunyip.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on November 09, 2011, 03:13:45 PM
Thanks DaChouffe,

The only problem i seen, is that you have to be specific about the place where you put your templates.
I only have configured Thumbnail and Mainsheet, the rest is on default and not used.  So it couldn't find a about.jpg  8)

Yes I'm afraid it needs to be that way. Originally this was developed for just the WDTVLIVE but it's being used by many non-WDTV users now so there are no enforceable naming rules, the only way to identify folder sheets, media sheets, folder thumbnails and media thumbnails is for the user to tell SheetMaker what to look for (i.e. by the settings in the Options tab).
SheetMaker would have found 'about.jpg' but didn't know what to do with it (doesn't know where it belongs), so skips over it.

The second thing i seen today when i was using the sheet editor. When i only have one jpg file it will use this for all the fanart 1 to 3 and background. I can' t disable this and select only one, or remove the selected fanart/thumbnail. I will have to reload the tgmd.
Maybe i'm missing the logica..  ;)

I have to agree that there are several shortcomings in the edit tool. It needs a bit of re-working too - I'm on it! Next release?

Cheers,
Bunyip.


That' s a quick reply  :D

I solved the problem with the viewer, by renaming every default naming sheme to about.jpg. This solved the problem, and does not bother me..  8)
The problems with the sheet editor are very high on my irritation list.. It's on place one, but that is not very difficult if it' s the only irritation with the whole program..  ::) ::). It's fare out the best template create program on the pc, no matter what operating system..

Keep on the great work. :D :D
Title: Re: SheetMaker for Linux
Post by: frhcm on November 20, 2011, 08:21:23 AM
Fantastic job Bunyip : all work for me and in french.
Viva Linux
Title: Re: SheetMaker for Linux
Post by: bunyip on November 20, 2011, 02:08:51 PM
Fantastic job Bunyip : all work for me and in french.
Viva Linux

Thanks frhcm,
Always good to know that it works as well for others as it does for me.
And it will continue to improve as new releases are issued.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: riversub on November 22, 2011, 10:55:18 AM
Hi bunyip and thank you for your wonderful program !

I am a french user so excuse me for my possible bad english.

In order to have french information  instead of defaul english plots,etc..., i just opened collectors.pl and replace all "/en/" by "/fr/"... it works great except for some french movies...

Ex : For the movie Case Dpart ==> http://www.themoviedb.org/movie/66118-case-d-part
There is no plot in english but we can find it uin French... but in SheetMaker it stays at this step :
(http://hfr-rehost.net/preview/http://self/pic/9a668905a786931d23c7c1418b72856de8e13180.png) (http://hfr-rehost.net/fullsize/http://self/pic/9a668905a786931d23c7c1418b72856de8e13180.png)

ant it loads indefinitely... so i have to relaunch the program. Do you know how i can fix that please ? Or does it work for you ?

Regards,
Title: Re: SheetMaker for Linux
Post by: bunyip on November 22, 2011, 03:44:25 PM

Ex : For the movie Case Départ ==> http://www.themoviedb.org/movie/66118-case-d-part
There is no plot in english but we can find it uin French... but in SheetMaker it stays at this step :
(http://hfr-rehost.net/preview/http://self/pic/9a668905a786931d23c7c1418b72856de8e13180.png) (http://hfr-rehost.net/fullsize/http://self/pic/9a668905a786931d23c7c1418b72856de8e13180.png)

ant it loads indefinitely... so i have to relaunch the program. Do you know how i can fix that please ? Or does it work for you ?

Hi riversub,

Thanks for the feedback and welcome to the group.

Yes, this is a problem with the handling of special characters.
There is a utility being used, called 'unidecode' that converts special characters to standard ASCII characters because several modules can't handle special characters. (And as you know, French contains many extended ASCII characters).

However you have uncovered a problem with this, as 'unidecode' converts some characters to look like XML tags, which confuses and crashes the XML module used to decode the data from 'theMovieDB.org'.

SheetMaker may be mature enough now not to need 'unidecode' but I'll need to do more testing.

In the meantime I'd like you to try disabling 'unidecode' and see how it goes. (I have tried the movie you mention and got the same crash you got, but was successful with the 'unidecode' disabled).

So to disable it just edit the 'collectors.pl' file again and comment-out the line 'unidecode($xml-data)' in the subroutine called 'GetMediaDetails_tmdb', so that it looks like this ...
Code: [Select]
my $xml_data=$response->decoded_content ;
decode_entities($xml_data);
#utf8::encode($xml_data);
#unidecode($xml_data);
my $xml_ob = new XML::Bare(text => $xml_data );
my $movie_xml=$xml_ob->parse();
You now should see that the French language is presented in better form.
Please come back and let us know how it behaves.

(Also a tip: Whenever SheetMaker appears to 'hang', pressing the 'Reset' button will often let you continue without the need to re-start the program).

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: riversub on November 23, 2011, 12:55:11 AM
Thank you bunyip for the tip,  it works perfectly now !

I tried with 4/5 movies and there was no problem. ;)
Title: Re: SheetMaker for Linux
Post by: bunyip on November 23, 2011, 02:59:35 AM
That's great - thanks.

I hope to add a 'preferred language' option in the next release, and I'll also make this fix permanent.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on November 27, 2011, 11:10:23 AM
Hey bunyip,


Would it be posible to create a specific xml files like the example below??

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<details>
  <movie isExtra="false" isSet="false" isTV="false">
    <title>3 Idiots</title>
    <year index="Year_2000-09_1">2009</year>
    <releaseDate>23 December 2009</releaseDate>
    <rating>83</rating>
    <watched>false</watched>
    <top250>-1</top250>
    <plot>Farhan Qureshi and Raju Rastogi want to re-unite with their fellow collegian, Rancho, after faking a stroke abroad an Air India plane, and excusing himself from his wife - trouser less - respectively. Enroute, they encounter another student, Chatur Ramalingam, now a successful businessman, who reminds them of a bet they had undertaken 10 years ago. The trio, while recollecting hilarious antics...</plot>
    <outline>Metascore: 67/100(based on 4 reviews from Metacritic.com)Two friends embark on a quest for a lost buddy. On this journey, they encounter a long forgotten bet, a wedding they must crash, and a funeral that goes impossibly out of control.</outline>
    <director>Rajkumar Hirani</director>
    <country>India</country>
    <runtime>2h 51m</runtime>
    <certification>Not Rated</certification>
    <season>-1</season>
    <language>Hindi</language>
    <container>Matroska</container>
    <fileDate>2011-02-21</fileDate>
    <fileSize>4.36 GB</fileSize>
    <genres>
      <genre index="Genres_Comedy_1">Comedy</genre>
      <genre index="Genres_Drama_1">Drama</genre>
    </genres>
    <cast>
      <actor>Aamir Khan</actor>
      <actor>Kareena Kapoor</actor>
      <actor>Boman Irani</actor>
      <actor>Madhavan</actor>
      <actor>Sharman Joshi</actor>
      <actor>Omi Vaidya</actor>
      <actor>Mona Singh</actor>
      <actor>Javed Jaffrey</actor>
      <actor>Rajeev Ravindranathan</actor>
      <actor>Akhil Mishra</actor>
      <actor>Ali Fazal</actor>
      <actor>Parikshat Sahni</actor>
      <actor>Chandrashekhar</actor>
      <actor>Achyut Potdar</actor>
      <actor>Arun Bali</actor>
    </cast>
  </movie>
</details>

This file is used by the X2 mede8er machines to create a indexed movie wall. I dont know if the naming scheme is importend, the examples i downloaded are a bit different named than the folder
file "3.Idiots_2009.xml" folder "3 Idiots (2009)".

http://www.mede8er.org/artwork/temp/MED500X2_XML_Demo_short_Version.rar (http://www.mede8er.org/artwork/temp/MED500X2_XML_Demo_short_Version.rar)
http://www.mede8erforum.com/index.php/topic,7164.msg45754.html#msg45754 (http://www.mede8erforum.com/index.php/topic,7164.msg45754.html#msg45754)

Normaly those xml files are created by yamj

The extension must be XML and the files are put in the movie folder.

I don't know if more people are interested, but it would be nice if it is posible..  :P

:edit Second, maybe a possibility to change the extension of the output files//
Title: Re: SheetMaker for Linux
Post by: bunyip on November 27, 2011, 11:49:43 PM
Hi DaChouffe,

It's easy enough to add another output file, but it raises a few long-term options for consideration ..

I don't like option 1 because it's too restricted and doesn't provide for easy updates in the event of the file format changing.

Option 2 is OK but will need changes to SheetMaker for every new file required by users.

Option 3 seems to be the best, it gives full control to users to create any output file they may require. Users will just need to be familiar with how to set up a template.

I'll investigate option 3 further, if it works well I'll also use it to generate the existing files that SheetMaker is currently producing.

Cheers,
bunyip.


 
Title: Re: SheetMaker for Linux
Post by: DaChouffe on November 28, 2011, 02:16:51 PM
Hi DaChouffe,

It's easy enough to add another output file, but it raises a few long-term options for consideration ..
  • Option 1. Add it as another option similar to the 'nfo' file options.
  • Option 2. Add it as an optional plug-in - so if you don't need it - throw it away.
  • Option 3. Add a feature to Sheetmaker that allows users to create files of any form by creating a template that specifies the output format with data place-holders. The template would also specifiy the filename specs.

I don't like option 1 because it's too restricted and doesn't provide for easy updates in the event of the file format changing.

Option 2 is OK but will need changes to SheetMaker for every new file required by users.

Option 3 seems to be the best, it gives full control to users to create any output file they may require. Users will just need to be familiar with how to set up a template.

I'll investigate option 3 further, if it works well I'll also use it to generate the existing files that SheetMaker is currently producing.

Cheers,
bunyip.


 

Sounds that nr. 3 will do the trick. It should be the most flexible choise for you and the users. I look forward to it.. Did you also give a thought about the possibility to change the extension of the templates. So i could choose a differend extension instead of jpg, tbn for the xbmc? Maybe there are some more examples to give, but that i don' t know.


Thanks bunyip.. ;D
Title: Re: SheetMaker for Linux
Post by: bunyip on November 28, 2011, 03:36:16 PM
Did you also give a thought about the possibility to change the extension of the templates. So i could choose a differend extension instead of jpg, tbn for the xbmc? Maybe there are some more examples to give, but that i don' t know.
Well the issue of specifying extension has been on the todo list for some time. Mainly though this is related to specifying an output format e.g. 'bmp', 'png', 'jpg' 'tiff' etc. by specifiying the appropriate extension.

XBMC in it's twisted logic ignores the accepted practice and just seems to append '.tbn' to everything, so confusion abounds! Although with the WDTV allowing an extension of '.thumb' for any format, it seems they all might be going a bit twisted.

So I guess the solution here is to have two values that the user must set, one for the format type and one for the extension.

I'll look into it, should be simple enough to implement.

Cheers,
bunyip
Title: Re: SheetMaker for Linux
Post by: airone26 on December 05, 2011, 11:41:06 AM
Hi there,

first many thanks for these last versions I should be
able to test (I cant wait) very soon... All that I was
asking for is here, so cooooool ;-)

I was wondering if there was a list somewhere of what
xml elements are useful considering the media informations,
ie if i generate the tgmd from my DB what are the infos
I have to include to be used by SheetMaker ? For instance
in the subtitles informations, only the language is used i
guess ?

Can i set myself somewhere in the tgmd the information
about the quality (720p, 1080p etc...) or is it computed
from the video width/height ?

Thanks in advance and thanks for the version 1.24 added stuff !
Erwan.
Title: Re: SheetMaker for Linux
Post by: bunyip on December 06, 2011, 01:40:24 PM
I was wondering if there was a list somewhere of what
xml elements are useful considering the media informations,
ie if i generate the tgmd from my DB what are the infos
I have to include to be used by SheetMaker ? For instance
in the subtitles informations, only the language is used i
guess ?

Can i set myself somewhere in the tgmd the information
about the quality (720p, 1080p etc...) or is it computed
from the video width/height ?

Thanks Erwan,

Yes, I'll just put the specifications in a more readable form and publish it on the SheetMaker website (over the next day or so). The specs will indicate what parts are required and what parts are optional or unused in SheetMaker.

Cheers,
bunyip.


 
Title: Re: SheetMaker for Linux
Post by: airone26 on December 10, 2011, 04:38:53 AM
Quote
Thanks Erwan,

Yes, I'll just put the specifications in a more readable form and publish it on the SheetMaker website (over the next day or so). The specs will indicate what parts are required and what parts are optional or unused in SheetMaker.

Cheers,
bunyip.

That would be perfect.
Thanks in advance.

PS : Im' gonna work on my tv shows soon, I think you gonna hear from me about that too ! ;-)
Title: Re: SheetMaker for Linux
Post by: bunyip on December 10, 2011, 01:34:24 PM
Hi Erwan,

The document is on the web site now (see under 'Documents:').
For simplicity the document just concentrates on the values necessary for SheetMaker use.

Shortly I'll post the TV Show version of this file too.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: airone26 on December 11, 2011, 01:03:11 PM
Quote
Hi Erwan,

The document is on the web site now (see under 'Documents:').
For simplicity the document just concentrates on the values necessary for SheetMaker use.

Shortly I'll post the TV Show version of this file too.

Cheers,
bunyip.

I just took a look, this is exactly what i needed.
Thanks.



Title: Re: SheetMaker for Linux
Post by: non7top on December 24, 2011, 02:35:46 PM
First of all, thank you for this great tool, glad to know such a great tools under Linux. And here are some some small bugs I found.
- Cyrillic (and apparently UTF-8) is not supported for movie info, though labels in templates are shown correctly;
- The fonts seem to be different from those which are generated under windows, apparently they are missing. It would be great to see some warning like "Font Arial not found, isung BlaBla instead", if possible of course;
- I wonder if there is a way to use sml from command line in batch mode, i.e. I prefer to generate background, fanart1, fanart2, nfo files by hand

Here is a sample which shows 1 and 2.
_https://dl.dropbox.com/u/15521908/The.Thing.1982.1080p.HDDVDRip.Rus.mkv_sheet.jpg
Title: Re: SheetMaker for Linux
Post by: bunyip on December 25, 2011, 12:33:51 AM
First of all, thank you for this great tool, glad to know such a great tools under Linux. And here are some some small bugs I found.
- Cyrillic (and apparently UTF-8) is not supported for movie info, though labels in templates are shown correctly;
- The fonts seem to be different from those which are generated under windows, apparently they are missing. It would be great to see some warning like "Font Arial not found, isung BlaBla instead", if possible of course;
- I wonder if there is a way to use sml from command line in batch mode, i.e. I prefer to generate background, fanart1, fanart2, nfo files by hand

Here is a sample which shows 1 and 2.
_https://dl.dropbox.com/u/15521908/The.Thing.1982.1080p.HDDVDRip.Rus.mkv_sheet.jpg

Hi non7top,

Thanks for trying Sheetmaker and providing feedback.
SheetMaker started simple and is a continuing work-in-progress with each new major release adding more functions.

The issues you raise are covered on the SheetMaker website.

1. The UTF-8 issue, see the Status page regarding one of the features in the upcoming release i.e...
Quote
Unicode: file naming and image rendering support with appropriate font.[i.e non-ascii and wide characters (e.g. Asian alphabets)].

2. The font issue is mentioned on the 'Templates' page i.e...
Quote
Fonts:
The base font used throughout these templates is 'Helvetica', which is a core Linux font and has a geometry very similar to Windows 'Arial' font. Linux Helvetica therefore looks similar and fits into the templates' mapping with very little adjustment.
(Note: If you are using Windows templates then the image rendering program will select a systems default font, whatever that happens to be.)

3. A command line version in also mentiond in the bugs/wish-list for a future release, but the current version supports user-created TGMD files which you can manually make.  See the documentation also available on the website.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: non7top on December 25, 2011, 07:41:39 AM
Here is quick and dirty patch which resolves handling of unicode in NFO and TGMD files, with it I can now generate sheets form tgmd with cyrillic strings. Handling of cyrillic in paths is still an issue sometimes.
Title: Re: SheetMaker for Linux
Post by: bunyip on December 25, 2011, 02:40:00 PM
Here is quick and dirty patch which resolves handling of unicode in NFO and TGMD files, with it I can now generate sheets form tgmd with cyrillic strings. Handling of cyrillic in paths is still an issue sometimes.


Thanks non7top,

But as I said, the next release already has Unicode support.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: airone26 on January 03, 2012, 05:55:29 AM
Hi bunyip,

just to let you know that I finished the whole process and now generate
sheets using SML from my own generated tgmd files (many thanks for this
great option). Can't wait for the next version with unicode support to get
my f**** french accents displayed properly :p

Thanks again for this great piece of software !
air-one.
Title: Re: SheetMaker for Linux
Post by: bunyip on January 06, 2012, 02:03:17 PM
Hi airone,

That's good news - I'll soon add an option to read user source data directly too.

The next release is almost ready, I'm just adding some non-English language support to go with the unicode support making SheetMaker more mature and useful, I hope.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: bunyip on March 01, 2012, 02:46:29 PM
A pre-release test version 1.26 of SheetMaker is available on the SML website for anyone to trial and report any problems.
It will stay in test mode for a few weeks before releasing as a standard version.
Title: Re: SheetMaker for Linux
Post by: airone26 on March 05, 2012, 01:30:50 PM
Hi,

just downloaded and used 1.26 version and french accents are displayed perfectly.
Though, SML do not find some XML informations in my TGMD file (same problem was here in 1.25).

Log is like following (first line is no big deal, it's because in my DB when no certification is available, I set '-' I think) :

erwan@nemo:~/Downloads/SheetMaker$ ./SheetMaker.pl
CRIT:   I could not find /home/erwan/Downloads/SheetMaker/templates/common/lstarcertifications/-.png
CRIT:   I was unable to find image element information .. Resolution
CRIT:   I was unable to find image element information .. Media
CRIT:   I was unable to find image element information .. VCodec
CRIT:   I was unable to find image element information .. Sound
^C

I was wonderning if you could just take a loook at my TGMD/INFO file if you see what is wrong...

----
<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ThumbGen="1">
  <title>2001 A Space Odyssey</title>
  <year>1968</year>
  <plot>A l'aube de l'Humanité, dans le désert africain, une tribu de primates subit les assauts répétés d'une bande rivale, qui lui dispute ...</plot>
  <rating>8.4</rating>
  <mpaa>-</mpaa>
  <runtime>141</runtime>
  <certification>-</certification>
  <actor>
    <name>Keir Dullea</name>
    <name>Gary Lockwood</name>
    <name>William Sylvester</name>
    <name>Daniel Richter</name>
    <name>Leonard Rossiter</name>
    <name>Margaret Tyzack</name>
    <name>Robert Beatty</name>
    <name>Sean Sullivan</name>
    <name>Douglas Rain</name>
    <name>Frank Miller</name>
    <name>Bill Weston</name>
    <name>Ed Bishop</name>
    <name>Glenn Beck</name>
    <name>Alan Gifford</name>
    <name>Ann Gillis</name>
  </actor>
  <genre>
    <name>Aventure</name>
    <name>Science-Fiction</name>
  </genre>
  <studio>
    <name>Metro-Goldwyn-Mayer (MGM)</name>
    <name>Stanley Kubrick Productions</name>
  </studio>
  <director>
    <name>Stanley Kubrick</name>
 </director>
  <country>
    <name>UK</name>
    <name>USA</name>
  </country>
  <mediainfo>
    <duration>2h 14mn</duration>
    <container>AVI</container>
    <framerate>25.000 fps</framerate>
    <aspectratio>2.2:1</aspectratio>
    <filesize>1.43 GiB</filesize>
    <videoresolution>656x304</videoresolution>
    <videocodec>Xvid</videocodec>
    <audio>ac3</audio>
    <audiocodec>2000</audiocodec>
    <audiochannels>6</audiochannels>
    <audiobitrate>384 Kbps</audiobitrate>
    <language>English</language>
    <languages>French</languages>
    <languages>English</languages>
  </mediainfo>
</movie>
----

I miss especially : sound & video codecs and container, languages and subtitles. Images, title, directors, actors, plot, imdb rating, runtime, audio channels, studio and certifications are displayed correctly.

Thanks in advance & one more time : merci :-)
Airone.
 
Title: Re: SheetMaker for Linux
Post by: bunyip on March 06, 2012, 01:03:04 AM
Hi airone,

Are you using TGMD files created by early versions of SheetMaker. If so it would be a good idea to re-generate them using the latest version. Early versions were not so good when creating the NFO data.

Cheers,
bunyip. 
Title: Re: SheetMaker for Linux
Post by: airone26 on March 06, 2012, 04:56:30 AM
Hello Bunyip,

Quote
Are you using TGMD files created by early versions of SheetMaker. If so it would be a good idea to re-generate them using the latest version. Early versions were not so good when creating the NFO data.

No, il generate TGMD files on my own from my DB and my posters and fanarts files. I used your PDF description file of the NFO format to do it. But it could be a good idea indeed to generate a TGMD file using SML and compare both files. I'm going to try that.

Thanks for Unicode anyway.
Bye.
Title: Re: SheetMaker for Linux
Post by: bunyip on March 06, 2012, 11:45:32 PM
OK, I understand now.
I'll re-check the PDF document accuracy and advise on what you need to change (or update) in your NFO files.
Title: Re: SheetMaker for Linux
Post by: airone26 on March 07, 2012, 01:20:38 AM
Hello,

I began to look at differences between my TGMD files and those created by SML.
I found a first one on langagecode/languagecodes XML elements which are not described in your PDF file
but seems required for SML to produce the flags for languages/subtitles.

Is there a place to find the complete list of langage codes (english --> en, french --> fr etc...) ?

There are also a lot of XML elements with Flag XML element enclosed in which are not described in PDF file.
Are they required too ?

Would be interesting too to put in that PDF the list of handled audio formats, video codecs and containers with
exact typo : like, is Matroska ok or should be mkv or MKV if it is case sensitive...

Thanks in advance.
I'm really near the end now, cant wait to show that to my parents, they will be amazed :-)
Title: Re: SheetMaker for Linux
Post by: bunyip on March 08, 2012, 12:48:08 AM
Hi airone,

No, the <FLAG> values in the NFO file are not, as you would think, anything to do with Country flags, just data signals.
The flags are set using the values in the <language> and <languages> values.
If your soundtrack is in English then the value would be..
 <language>English</english>

if you had two soundtracks and the second was in French then the NFO file will show..
 <language>English</english>
 <language>French</english>
 
Similarly if you had internal sub-titles then the NFO will show..
 <languages>English</english>
 <languages>French</english>

To see what flag values will work just have a look at the 'Common/countries' and 'Common/lstarflags' directories (depending on what template you are using).

Your missing values are caused by different templates expecting certain values to be in different places, so adding more tags to your NFO file should solve the problem.
(The extra tags were not included in the PDF file because I thought they were unused duplicates - guess I was wrong, although Sheetmaker does write all these values to its NFO files.).

Resolution:
Many templates use the <videoresolution> value and just print this on the sheet (e.g. 720x480), but some templates use graphical representation of the resolution 'class' (i.e LD, SD, HD, etc) and get this value from value <resolution> (e.g. 576P, 768i etc). If your template uses the 'class' method then you'll need to add the <resolution></resolution> dataset to your NFO file.

Vcodec:
It seems some templates are not using <videocodec> to display the codec but instead use <video>.
So if in the template <videocodec></videocodec> doesn't work then include a <video></video> in your NFO with the same value.

Media:
Another case of two values to choose from.
If you also include <format></format> with the same value as <container> should make your template work.

Audio:
Could be that the library used by the template doesn't have an AC3 graphic or it may be because you have the subtype-FourCCMap code instead of the main audio codec id (try changing it to AC3 or A_AC3 or the Dolby value e.g. DD51.

It can get very messy when trying to handling all possible codes and values.
I will be re-writing the PDF specs when I get onto adding the function to draw data from local sources, and I'll try to identify and explain as many values and codes as I can.
Title: Re: SheetMaker for Linux
Post by: airone26 on March 08, 2012, 01:33:22 AM
Hello Bunyip,

thanks for all these informations, I will check that soon.

Btw, about langages, I check and it seems the template I use
(ls337 Wall Subs FullFan Linux) use the languagecode/languagecodes XML
elements for flags displaying.

Bye.
Title: Re: SheetMaker for Linux
Post by: airone26 on March 22, 2012, 01:26:04 AM
Hi there,

just let you know that I finished everything and encountered
no problems with SML test version 1.26. I use Ls337 template
Wall with subs and everything is displayed correctly including
all french accents.

Thanks.
Best regards.
Title: Re: SheetMaker for Linux
Post by: bunyip on March 24, 2012, 01:34:09 AM
Thanks airone,

Many users have tried 1.26T and there have not been any difficulties or problems reported, I'll give it another week before publishing it as a full release, and then move on to the next development stage.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on April 04, 2012, 07:32:26 AM
Thanks airone,

Many users have tried 1.26T and there have not been any difficulties or problems reported, I'll give it another week before publishing it as a full release, and then move on to the next development stage.

Cheers,
bunyip.

Hey bunyip,

Yesterday i was playing around with tv series, and i noticed when i disable the creation of tgmd files. They still are created.
Second, i enabled the creation of nfo files, but none where created.

(http://img252.imageshack.us/img252/2581/schermafdrukxv.png) (http://imageshack.us/photo/my-images/252/schermafdrukxv.png/)

I haven't tested it with the creation of a movie file, will do that this evening.
Title: Re: SheetMaker for Linux
Post by: bunyip on April 04, 2012, 02:48:02 PM
Thanks DaChouffe,

I'll look into it.

bunyip.
Title: Re: SheetMaker for Linux
Post by: bunyip on April 05, 2012, 12:26:41 AM
Sorry DaChouffe,
I threw many tests at it but could not duplicate your problem. File creation/non-creation stayed true to the Options set for both TV and Movie.
That's not to say that a problem doesn't exist, it may be a 'sleeper' that occurs for a particular combination of events.
I'll keep this open as a possible problem.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on April 05, 2012, 01:02:06 PM
Sorry DaChouffe,
I threw many tests at it but could not duplicate your problem. File creation/non-creation stayed true to the Options set for both TV and Movie.
That's not to say that a problem doesn't exist, it may be a 'sleeper' that occurs for a particular combination of events.
I'll keep this open as a possible problem.

Cheers,
bunyip.

Hey bunyip,

Thanks for your reply.

I did some more testing on my system.

1st I tested it with my movie.conf with one movie in the folder. Two templates (thumbnail and mainsheet)
enabling and disabling tgmd and nfo works like a charm, in every order.

$M/folder (thumbnail)
$M/about (main sheet)

2nd I tested with my series.conf with three series in one folder and all templates filled. Enabled tv series option.

$M/../folder
$M/folder
$M/$N
$M/../fanart
$M/fanart

tgmd is always created, no matter it is enabled or disabled. nfo is never created.

metadata ($M/$N$E)
nfo ($M/$N)

3rd i tested with my movie.conf with tv series option enabled selected three series in one folder. (same configuration as nr 1)
enabling and disabling tgmd works, but the nfo is never created.

So there is something going wrong, but i can't tell you what en why..  ??? ???
Is it my configuration or is it a combination of things..  :P

I can, if you wish mail the configuration files..
I hope it gives you something more to look at..

(Anny idea when the integration of xml is on yout list.. ::) ::) )

L8er
Title: Re: SheetMaker for Linux
Post by: bunyip on April 05, 2012, 03:12:44 PM
Thanks DaChouffe,

That gives me a bit more to work with to track down the problem.

Quote
(Anny idea when the integration of xml is on yout list.. Roll Eyes Roll Eyes )

Yep, working on it now, will be included in the next release, together with a CLI version of SML.

Cheers,
bunyip.

Title: Re: SheetMaker for Linux
Post by: airone26 on April 11, 2012, 03:23:54 AM
Hi there,

I began to use SML to generate sheets for my tv shows as well and I couldn't
figure out how to generate all "no- episodes" sheets like sheet for a season or
sheet for a show. How I can do that ? If it's explained somewhere in doc just
give me the pointer please.

Thanks in advance.

PS : Moreover, I filled out a wish on SML homepage to have more flexibility on
the seasons folders naming scheme.
Title: Re: SheetMaker for Linux
Post by: rig99 on April 11, 2012, 08:48:12 AM
I am having trouble using moviesheets generated by sheetmaker on my wdtv live hub. I put moviename_sheet.jpg and moviename.jpg into the same folder as the actual video files. On the wdtv live hub I changed to moviesheet view and can only see the movie covers, not the sheets.  I am using the Black Mamba theme and it has some demo folders that work well. So I decided to see what the difference between the sheetmaker generated files and the demo files and I noticed the demo folders have moviename.xml files as well. Looking in them I notice that these additional lines:

<backdrop>moviename_sheet.jpg</backdrop>
<backdrop>moviename.jpg</backdrop>
<url cache="tmdb-.xml" function="GetTMDBThumbsById" />

None of the NFO/XML (I tried default, tvix, and xbmc formats) files generated with sheetmaker have these lines so I think that is why the sheets aren't loading.

Is this a theme-specific problem or am I doing something wrong? If it's theme-specific, can you suggest a theme that works with sheets made with sheetmaker?
Title: Re: SheetMaker for Linux
Post by: bunyip on April 13, 2012, 12:35:22 AM
Hi there,

I began to use SML to generate sheets for my tv shows as well and I couldn't
figure out how to generate all "no- episodes" sheets like sheet for a season or
sheet for a show. How I can do that ? If it's explained somewhere in doc just
give me the pointer please.

Thanks in advance.

PS : Moreover, I filled out a wish on SML homepage to have more flexibility on
the seasons folders naming scheme.

Hi airone,

Yes it can be confusing.

Simply put, to get seasons and series sheets to be generated, in the options tab, 'Extra' applies to the 'Seasons' and 'Parent' applies to the 'Series'.
- tick the 'Extra Thumbnail' box and optionally select a 'Season Thumbnail' template,
- tick the 'Extra Sheet' box and select a 'Season Sheet' template,
- tick the 'Parent Sheet' box and select a 'Series Sheet' template.
(Oddly there is no 'Parent Thumbnail' option as yet, but I'm adding that to the next version).

You can set these values when you are generating episode sheets.
Title: Re: SheetMaker for Linux
Post by: bunyip on April 13, 2012, 12:36:24 AM
I am having trouble using moviesheets generated by sheetmaker on my wdtv live hub. I put moviename_sheet.jpg and moviename.jpg into the same folder as the actual video files. On the wdtv live hub I changed to moviesheet view and can only see the movie covers, not the sheets.  I am using the Black Mamba theme and it has some demo folders that work well. So I decided to see what the difference between the sheetmaker generated files and the demo files and I noticed the demo folders have moviename.xml files as well. Looking in them I notice that these additional lines:

<backdrop>moviename_sheet.jpg</backdrop>
<backdrop>moviename.jpg</backdrop>
<url cache="tmdb-.xml" function="GetTMDBThumbsById" />

None of the NFO/XML (I tried default, tvix, and xbmc formats) files generated with sheetmaker have these lines so I think that is why the sheets aren't loading.

Is this a theme-specific problem or am I doing something wrong? If it's theme-specific, can you suggest a theme that works with sheets made with sheetmaker?

Hi rig99,

I'm not familiar with the features of the 'HUB' but it sounds like you need a special XML control file to display the sheets.
SheetMaker is currently written for the WDLXTV custom firmwares which use thumbnails and sheet files directly.

However I'm working on an enhancement now that will let the user specify and generate any custom data files. This should enable SheetMaker for use with many more media players.
Title: Re: SheetMaker for Linux
Post by: airone26 on April 13, 2012, 11:52:24 AM
Quote

Hi airone,

Yes it can be confusing.

Simply put, to get seasons and series sheets to be generated, in the options tab, 'Extra' applies to the 'Seasons' and 'Parent' applies to the 'Series'.
- tick the 'Extra Thumbnail' box and optionally select a 'Season Thumbnail' template,
- tick the 'Extra Sheet' box and select a 'Season Sheet' template,
- tick the 'Parent Sheet' box and select a 'Series Sheet' template.
(Oddly there is no 'Parent Thumbnail' option as yet, but I'm adding that to the next version).

You can set these values when you are generating episode sheets.


Thanks for that ! Works like a charm.
Have a nice week-end.
Title: Re: SheetMaker for Linux
Post by: joehc on April 18, 2012, 04:53:12 AM
Hey

First of all, I wanna say thanks for this lovely program.

I'm having troubling making a cover-thumbnail for my folder for the respective movie. Every time a generate the sheets and thumbnails for my movie, it is always the main sheet-thumbnail that is the thumbnail for the folder. This means that I see the info about the movie as thumbnail to the folder. What am I doing wrong, I want to make a cover thumbnail to the folder.

Hope you can help me

EDIT:

just saw among comments: Will the program only fully work if you have wdlxtv?

/Joe
Title: Re: SheetMaker for Linux
Post by: DaChouffe on April 18, 2012, 01:21:27 PM
Hey

First of all, I wanna say thanks for this lovely program.

I'm having troubling making a cover-thumbnail for my folder for the respective movie. Every time a generate the sheets and thumbnails for my movie, it is always the main sheet-thumbnail that is the thumbnail for the folder. This means that I see the info about the movie as thumbnail to the folder. What am I doing wrong, I want to make a cover thumbnail to the folder.

Hope you can help me

EDIT:

just saw among comments: Will the program only fully work if you have wdlxtv?

/Joe

No, it will work with all mediaplayers. I got a Mede8er and everything is just great.

Thumbnail $M/folder => Will create a folder.jpg in your movie folder
Mainsheet $M/about => Will create a about.jpg in yout movie folder

Thumbnail         $M/../folder (/samba/series/series/alcatraz/folder.jpg)
Extra Thumbnail $M/folder    (/samba/series/series/alcatraz/season 01/folder.jpg
Main Sheet        $M/$N        (/samba/series/series/alcatraz/season 01/Name of the serie 01.jpg)
Extra Sheet       $M/../fanart (/samba/series/series/alcatraz/fanart.jpg)
Parrent Sheet    $M/fanart    (/samba/series/series/alcatraz/season 01/fanart.jpg)

This is how i made it work with the mede8er, it is a bit puzzeling.
And offcourse find the right template for the different options..  ;D

I hope this will help you on your way.
Title: Re: SheetMaker for Linux
Post by: bunyip on April 20, 2012, 11:58:28 PM
Hey

First of all, I wanna say thanks for this lovely program.

I'm having troubling making a cover-thumbnail for my folder for the respective movie. Every time a generate the sheets and thumbnails for my movie, it is always the main sheet-thumbnail that is the thumbnail for the folder. This means that I see the info about the movie as thumbnail to the folder. What am I doing wrong, I want to make a cover thumbnail to the folder.

Hope you can help me

EDIT:

just saw among comments: Will the program only fully work if you have wdlxtv?

/Joe

Hi joehc,

Thanks for the compliment.
Did DaChouffe's post help you? Have you got the thumbnails working as you'd like?

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: jackie999 on May 04, 2012, 01:25:18 PM

I updated my Kubuntu to 12.04 and now find that smb4K won't mount the wdlxtv/HDD over my network. Without that, the folder isn't mounted and sheetmaker can't 'see' it.
Nautilus mounts the folder so I looked in the hidden .gvfs - but it's empty.
How are other Kubuntu 12.04 users mounting the drive?
Title: Re: SheetMaker for Linux
Post by: bunyip on May 08, 2012, 03:53:33 AM

I updated my Kubuntu to 12.04 and now find that smb4K won't mount the wdlxtv/HDD over my network. Without that, the folder isn't mounted and sheetmaker can't 'see' it.
Nautilus mounts the folder so I looked in the hidden .gvfs - but it's empty.
How are other Kubuntu 12.04 users mounting the drive?


Auto mounting seems to be problem with more than just Kubuntu these days. Have you tried making an entry in fstab and have it manually mounted to a directory of your choice?
Title: Re: SheetMaker for Linux
Post by: bunyip on May 08, 2012, 04:07:48 AM
Version 1.26 - Is Now Available  ;D

Summary of Changes/Improvements
'Sheet Editor' upgrades:
'Viewer' upgrades:
'General' upgrades:

Available from the website => http://bunyipawonga.org/sheetmaker (http://bunyipawonga.org/sheetmaker)
Title: Re: SheetMaker for Linux
Post by: DaChouffe on May 15, 2012, 04:05:23 AM
Hey bunyip,

Is it correct that the viewer only can scan  scan the first map??

/NFS/Movies/Nice Movie/Nice Movie.mkv
                                 /about.jpg
                                 /folder.jpg

I see the thumbnail (folder.jpg) but not the mainsheet (about.jpg). "Mainsheet not found"
It will appear if i enter the Nice Movie folder. Then i get the folder.jpg and when selected the about.jpg..

Your program is better looking every month.  ;D
Title: Re: SheetMaker for Linux
Post by: bunyip on May 16, 2012, 12:41:25 AM
Hey bunyip,

Is it correct that the viewer only can scan  scan the first map??

/NFS/Movies/Nice Movie/Nice Movie.mkv
                                 /about.jpg
                                 /folder.jpg

I see the thumbnail (folder.jpg) but not the mainsheet (about.jpg). "Mainsheet not found"
It will appear if i enter the Nice Movie folder. Then i get the folder.jpg and when selected the about.jpg..

Your program is better looking every month.  ;D

Thanks DaChouffe,

The Viewer uses the settings in the 'Options' tab first, and if it can't find matching files then looks for the default naming scheme.

So you can control how the viewer shows files by manipulating the options (which should generally have been done so that SheetMaker can generate the right files.).

If you want the folder and files to use the same thumbs and sheets, then use the same naming schemes in the 'Options' tab.

So in your example..

Thumbnail    = $M/folder
Extra Thumbnail = $M/folder
Main Sheet    = $M/about
Extra Sheet    = $M/about
.. would show the thumb and sheet for both the movie file and the folder.

However when generating these files using SheetMaker, although all values are set, you would only need to have 'Thumbnail' and 'Main Sheet' enabled so that you don't keep overwriting files already created.

Hope you can follow what I'm getting at here.

Cheers,
bunyip.

Title: Re: SheetMaker for Linux
Post by: DaChouffe on May 16, 2012, 05:05:41 AM

Thanks DaChouffe,

The Viewer uses the settings in the 'Options' tab first, and if it can't find matching files then looks for the default naming scheme.

So you can control how the viewer shows files by manipulating the options (which should generally have been done so that SheetMaker can generate the right files.).

If you want the folder and files to use the same thumbs and sheets, then use the same naming schemes in the 'Options' tab.

So in your example..

Thumbnail    = $M/folder
Extra Thumbnail = $M/folder
Main Sheet    = $M/about
Extra Sheet    = $M/about
.. would show the thumb and sheet for both the movie file and the folder.

However when generating these files using SheetMaker, although all values are set, you would only need to have 'Thumbnail' and 'Main Sheet' enabled so that you don't keep overwriting files already created.

Hope you can follow what I'm getting at here.

Cheers,
bunyip.



Hey bunyip,

Thanks for the quick reply.
That part i understand, the viewer takes the information of the options tab first and than the default paths.
So, if i use the settings from the option page for creating my templates the viewer should be working.

This is how i use it, and it works if i sellect the movie map with the movie in it.

So:

/NFS/Movies/Nice Movie

If i sellect the /NFS/Movies map i see the thumb, but not the maintemplate (Not found)

If i select the /NFS/Movies/Nice Movie i see the thumb and when selected i is see the main template.

The structure in the option tab is used to create my templates. So do i miss something??

I will look at it tonight..

Thanks

 
Title: Re: SheetMaker for Linux
Post by: bunyip on May 16, 2012, 04:32:57 PM
Hi DaChouffe,

Well, I set up the same structure as yours and it works for me, but you must have the 'Extra Sheet' set to '$M/about' otherwise it will not use 'about.jpg' as the folder sheet.

bunyip.
Title: Re: SheetMaker for Linux
Post by: DaChouffe on May 18, 2012, 01:23:30 PM
Hi DaChouffe,

Well, I set up the same structure as yours and it works for me, but you must have the 'Extra Sheet' set to '$M/about' otherwise it will not use 'about.jpg' as the folder sheet.

bunyip.

Thanks bunyip,

That worked, everything is fine now.   ;D

Title: Re: SheetMaker for Linux
Post by: airone26 on June 25, 2012, 12:18:38 AM
Hi there,

I installed 1.26 version some time ago, and yesterday I re-run on all my tv shows
and encountered name detection problems (No Match), as I had previously and which
should have been fixed (I tried to re-open the corresponding bug in bugs list but did
not find it).

To be specific, following show episodes were not found :

Fringe/Season 3 (VOSTFR)/03x06 - 6955 kHz.avi
Flashforward/Season 1 (VOSTFR)/1x03 - 137 Sekunden.avi
Heroes/Season 3 (VOSTFR)/03x23 - 1961.avi
CSI/Season 1 (VOSTFR)/11x10 - 418 427.avi

Seems to be a numbers problem ?
Thanks in advance.
Title: Re: SheetMaker for Linux
Post by: bunyip on June 28, 2012, 06:36:56 PM
Hi Airone,

Well I ran all your examples with no problems, all episodes where found and sheets where created correctly.
All I can suggest is that you check that you are definitely running version 1.26 or 1.26.1, and not the pre-release test version 1.26T, which doesn't contain the fix.


 
Title: Re: SheetMaker for Linux
Post by: guillaume57 on July 19, 2012, 10:34:06 PM
For those who can be interested in having sheetmaker working through a proxy, simply add the 2 lines below in collectors.pl.

In collectors.pl:

sub GetMediaDetails_imdb {
# grab the xml data for this specific movie from imdb
   ShowProcessStep($current_movie{FILENAME},"Retrieving additional data from 'imdb.com'.");
   my $config_options=shift;
   my $provider_hash=shift;
   my $imdb_id = shift;
   my $titlecheck = "";
   my $url = "";
   if ($imdb_id) {
      $url = "http://www.imdb.com/title/".$imdb_id."/";
   }
   else {
      $url = "http://www.imdb.com/title/".$provider_hash{IMDB_ID}."/";
   };

$proxyadr ="http://<proxyserver>:<proxyport>/";          # Line to be added and change with your proxyserver and proxyport

   my $ua = LWP::UserAgent->new;
$ua->proxy('http', $proxyadr) if length($proxyadr) >4;         # Line to be added
   $ua->timeout(10);
   my $dataref = $ua->get($url);
        ...
Title: Re: SheetMaker for Linux
Post by: bunyip on October 09, 2012, 02:49:02 PM
At Last  :)  - I've released the first version of the Command Line equivalent of Sheetmaker (i.e. smlcli.pl).

Available in the downloads section of the Sheetmaker web site, it comes in a bundle containing the program, documentation and an optional GUI configuration file manager.

As always, since it is the first release it could have some bugs still lurking so please submit any anomolies you find to the bugs section of the Sheetmaker web site.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: bunyip on October 13, 2012, 03:18:16 PM
Some annoying bugs have been fixed in the CLI version.
Version 1.0.2 now available.
Title: Re: SheetMaker for Linux
Post by: airone26 on November 25, 2012, 06:26:42 AM
Hi,

I finally got a chance to use the new command line version of SML. I succeeded to make it work but I cant find the option to use the tgmd file as an input instead of fetching informations from internet (as in gui version). Did i miss something ? This is an option making sense with a CLI program  think !

Thanks in advance.
Title: Re: SheetMaker for Linux
Post by: bunyip on November 25, 2012, 09:26:03 PM
Hi,

I finally got a chance to use the new command line version of SML. I succeeded to make it work but I cant find the option to use the tgmd file as an input instead of fetching informations from internet (as in gui version). Did i miss something ? This is an option making sense with a CLI program  think !

Thanks in advance.

In the configuration file it's the parameter 'PREFER_TGMD=Y'.
When using the GUI Config manager you'll find it at the bottom of the 'General' tab (you'll need to scroll down) as 'Get Movie/TV Data From TGMD file When Available'.

There is no option in the cli version to process TGMD only. This was done so as not to overly complicate the cli version which is designed to be video-file driven and capable of traversing and processing across vast storage systems unattended.

For any non-standard processing it is recommended to use the GUI version.

Having said that - if there is a cry from users to include 'TGMD only' processing (with or without corresponding video files) then this decision could be re-considered.
Title: Re: SheetMaker for Linux
Post by: airone26 on November 26, 2012, 12:05:40 PM
That's it ! You got me ! I didn't scroll enough on the General tab to see THE option. Shame on me.
To answer you, I have a TGMD file generated for every movie so the actual behaviour is perfect.

Moreover, it's very convenient to be able to handle two config files, one for movies and one for tv shows.

Once again, thanks a lot for your tremendous work on SML.
Erwan, very happy user of SML and now SML-cli.
Title: Re: SheetMaker for Linux
Post by: bunyip on November 26, 2012, 02:20:35 PM
That's it ! You got me ! I didn't scroll enough on the General tab to see THE option. Shame on me.
To answer you, I have a TGMD file generated for every movie so the actual behaviour is perfect.

Moreover, it's very convenient to be able to handle two config files, one for movies and one for tv shows.

Once again, thanks a lot for your tremendous work on SML.
Erwan, very happy user of SML and now SML-cli.

That's great, thanks.
... and I think I must be getting senile, I remember now that just before releasing the CLI version I reversed my original decision and I actually added the 'TGMD files only' option. It's in the 'Media Type to Process' option, so disregard what I said above. I really must pay more attention to what I'm doing!
Title: Re: SheetMaker for Linux
Post by: airone26 on December 29, 2012, 09:39:15 AM
Hi there,

I've got a problem not directly related to SML but cant find informations on Internet and I think guys there can have an idea so...

I'm considering going from wy WD TV Live to a home-made mini ITX server for storage and with XBMC. I took a look on XBMC documentation and it seems it provides movies sheets but automatically download all necessary informations from internet by parsing movies filenames...

Is there any option to make XBMC use movies sheets and nfos created by SML ?

Thanks in advance...
Title: Re: SheetMaker for Linux
Post by: bunyip on December 30, 2012, 05:22:11 PM
Hi there,

I've got a problem not directly related to SML but cant find informations on Internet and I think guys there can have an idea so...

I'm considering going from wy WD TV Live to a home-made mini ITX server for storage and with XBMC. I took a look on XBMC documentation and it seems it provides movies sheets but automatically download all necessary informations from internet by parsing movies filenames...

Is there any option to make XBMC use movies sheets and nfos created by SML ?

Thanks in advance...

Hi airone,

I'm doing something similar to you, although the WDTVLIVE is very good at using locally stored media it's becoming outdated since a lot of media is now available through free 'catch-up' TV services via the internet, which I would like to be able to play on the same device. Sadly WD (and many others) is not coping well with this trend so we need devices that will also play these internet channels.

Personally I'm moving to a Raspberry PI running XBMC with several addons that provide access to Australian Catchup-TV, which most device manufacturers choose to ignore.

As to picking up the existing data, my investigation so far has shown that XBMC will pick up the textual information from an existing 'nfo' file as long as it has been saved in XBMC format (optional in SML), it will pick up the thumbnail if it's named the same as the movie but with an extension of '.tbn'. Sadly it has short-comings when it comes to the fanart. It will only pick up the fanart if it is named 'fanart.jpg', so that will work only if you have each movie in its own folder. This may work for you.


I'm looking at some other options, either to have an addon 'scraper' that will recognise local filenaming schemes as used by SML and ThumbGen, or have a stand-alone script that will read existing TGMD files and load this data directly into the XBMC databases, including the paths to existing artwork.

Title: Re: SheetMaker for Linux
Post by: airone26 on December 31, 2012, 04:52:31 AM
Hi bunyip,

Hi airone,

I'm doing something similar to you, although the WDTVLIVE is very good at using locally stored media it's becoming outdated since a lot of media is now available through free 'catch-up' TV services via the internet, which I would like to be able to play on the same device. Sadly WD (and many others) is not coping well with this trend so we need devices that will also play these internet channels.

Personally I'm moving to a Raspberry PI running XBMC with several addons that provide access to Australian Catchup-TV, which most device manufacturers choose to ignore.

Yep, personnally, I needed a solution for storage and 24/7 services anyway so I looked on XBMC and it's the ability to watch TV that was my killing feature (no TV chanels for now). Also, given my needs, the Pi, while a very tempting choice was not powerful enough (my server will run snapraid too).


As to picking up the existing data, my investigation so far has shown that XBMC will pick up the textual information from an existing 'nfo' file as long as it has been saved in XBMC format (optional in SML), it will pick up the thumbnail if it's named the same as the movie but with an extension of '.tbn'. Sadly it has short-comings when it comes to the fanart. It will only pick up the fanart if it is named 'fanart.jpg', so that will work only if you have each movie in its own folder. This may work for you.

I'm looking at some other options, either to have an addon 'scraper' that will recognise local filenaming schemes as used by SML and ThumbGen, or have a stand-alone script that will read existing TGMD files and load this data directly into the XBMC databases, including the paths to existing artwork.

Yeah, I did my research and found about the same informations. Seems that the actual "best" way of managing media informations is to use a media manager (like media compation or Ember media manager, question : do you use one ?) and produce local files nfo, tbn and jpg as needed by XBMC (because when adding a data source, XBMC always prefer locally available data over internet scrapers to build its database). One thing I'm not sure yet is that XBMC NFO file for Movies seems to contain a thumb tag containing path to the thumbnail (http://wiki.xbmc.org/index.php?title=Import-export_library), then no need to follow the xxx.tbn naming scheme right ? Moreover, the XBMC NFO TV Show file contains thumb AND fanart tags (same source), so I wonder if I can set a thumb AND a fanart for Movies as well. I will try that.

Else, yes I guess, I will have to go to the One movie per folder scheme and rename my thumbs/fanarts.

Keep posted. So, anyway, I think I wont use SML anymore, no needs right ?

Bye-bye.


Thus, I guess a script taking the TGMD/NFO file
Title: Re: SheetMaker for Linux
Post by: bunyip on February 04, 2013, 03:06:03 AM
Hi airone,

Following a bit more research, I have SML and XBMC happily working together.

It turns out that if you name your sheets in the form 'moviefilename-fanart.jpg' then XBMC will pick it up, so I'm able to keep multiple movies in a single directory.

So I just get SML to automatically re-generate (from the TGMD files), the sheets and thumbs with the XBMC names and at the same time have SML regenerate the NFO files in XBMC format and presto XBMC indexes everything from the local files, without having to do anything with the current storages.
(In the default 'Confluence' theme I just set the view to 'fanart' and set 'Hide Information' because all the information is shown in the sheets.).

I have also left the original sheets and thumbs untouched so that when I fire up the WDTVLive, it still displays everthing as usual so both systems use the same storage sources.

I will be releasing a new version of SML that fits XBMC a little better, such as the option to specify the file extension and will modify some of the templates to better fit in with the XBMC themes.

I don't use Media Managers mainly because I have never found one that I liked.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: bunyip on February 20, 2013, 01:04:19 AM
Maintenance Versions of both the GUI and CLI bundles released.

GUI - Version 1.27.1 (http://bunyipawonga.org/sheetmaker/downloads.php) - Fixes missing data from the IMDB lookup, caused by recent IMDB site changes.

CLI - Version 1.0.3 (http://bunyipawonga.org/sheetmaker/downloads.php) - Fixes missing data from the IMDB lookup, fixes undersized fonts, fixes crash when using the 'Trickle Cover' templates.
Title: Re: SheetMaker for Linux
Post by: bunyip on June 12, 2013, 02:06:47 AM
Another Maintenance Version of both the GUI and CLI bundles released.

GUI - Version 1.27.2 (http://www.bunyipawonga.org/sheetmaker/downloads.php)
CLI  - Version 1.0.4 (http://www.bunyipawonga.org/sheetmaker/downloads.php)

Critical Fix - GUI and CLI...
A recently detected bug has existed since the first version where some parts of the code don't handle spaces in path names for the temporary work directory. While it doesn't cause program crashes it certainly caused the program not to work properly for many users.
These releases have fixed that problem and should now operate correctly for everyone. A special thanks to the user that raised the alert on this problem.

Also included in GUI Version...
- Fixed problem where you could only add files for processing from within the Viewer if a sheet already exists.
- Added '.divx' extension to video file detection list.
- Improved Directory Management and Cleanup
Title: Re: SheetMaker for Linux
Post by: bunyip on June 13, 2013, 04:08:27 PM
### WARNING #### Product re-call.

Do not use versions: GUI: 1.27.2 and CLI: 1.0.4

There is a potential that when cleaning up the temporary work file directory it will delete files it's not supposed to.
Title: Re: SheetMaker for Linux
Post by: bunyip on June 16, 2013, 02:29:24 AM
Another Maintenance Version of both the GUI and CLI bundles released.

GUI - Version 1.27.2
CLI  - Version 1.0.4

Critical Fix - GUI and CLI...
A recently detected bug has existed since the first version where some parts of the code don't handle spaces in path names for the temporary work directory. While it doesn't cause program crashes it certainly caused the program not to work properly for many users.
These releases have fixed that problem and should now operate correctly for everyone. A special thanks to the user that raised the alert on this problem.

Also included in GUI Version...
- Fixed problem where you could only add files for processing from within the Viewer if a sheet already exists.
- Added '.divx' extension to video file detection list.
- Improved Directory Management and Cleanup

The fixed versions are now available.
GUI - Version 1.27.3 (http://www.bunyipawonga.org/sheetmaker/downloads.php)
CLI  - Version 1.0.5 (http://www.bunyipawonga.org/sheetmaker/downloads.php)
(Uses personal working directory so it's better behaved).
Title: Re: SheetMaker for Linux
Post by: teachme on August 10, 2013, 08:32:48 AM
loving the program i am having problems getting thumbnails all the jpgs it generates looks the same and i have no thumbnails when browsing my movies the sheets are there just not a thumb.
Title: Re: SheetMaker for Linux
Post by: teachme on August 10, 2013, 08:43:08 AM
ok sorry i cant edit my post yet i am getting a thumbnail ist just the same pic as the sheet background and its smaller. so maybe i got a setting off. all the jpgs it makes looks the same. sorry i am comming from thumbgen in windows . love the program though.
Title: Re: SheetMaker for Linux
Post by: bunyip on August 10, 2013, 03:17:44 PM
loving the program i am having problems getting thumbnails all the jpgs it generates looks the same and i have no thumbnails when browsing my movies the sheets are there just not a thumb.
ok sorry i cant edit my post yet i am getting a thumbnail ist just the same pic as the sheet background and its smaller. so maybe i got a setting off. all the jpgs it makes looks the same. sorry i am comming from thumbgen in windows . love the program though.

Hi teachme,

Thanks for trying the program.

There isn't much that can go wrong with the thumbnails so the problem is a bit puzzling, unless you are using a template for the thumbnail and that could be causing the problem.

If you are using a thumbnail template, then try it without one. If it's a template issue then I can check the template code itself.

If you are not using a template then it may be some configuration setting. If so then could you post the contents of your 'conf' file here (or if you prefer, you could email it to me at sheetmaker@bunyipawonga.org ).

Cheers,
bunyip
Title: Re: SheetMaker for Linux
Post by: teachme on August 10, 2013, 06:03:01 PM
ok whats happening is its making all the pics the same. I have tried 2 templates but when i go to the sheet editor and load the tgmd file the thumb is perfect so what i am doing is making my sheets then loading the tgmd right clicking on the thumb hitting save as jpg and browsing to the folder and saving it as folder.jpg and the dark night.jpg and it works. here is my config i am sure its something i am doing wrong thanks for the fast reply. it is making all the files they just all look the same.

# SheetMaker Config Settings
CERTIFICATION=0
COLLECTOR=0
EDIT_ATTRIBUTES=0
EXSHEET_CREATE=0
EXSHEET_NAME=$M/$F_sheet
EXSHEET_OVERWRITE=1
EXSHEET_TEMPLATE=4
EXTHUMBNAIL_CREATE=1
EXTHUMBNAIL_NAME=$M/folder
EXTHUMBNAIL_OVERWRITE=1
EXTHUMBNAIL_TEMPLATE=4
LANGUAGE=5
LOGFILE=/home/teachme/Downloads/sheetmaker_1_27_3/sheetmaker.log
LOG_OPTION=1
MAINSHEET_CREATE=1
MAINSHEET_NAME=$M/$N$E_sheet
MAINSHEET_OVERWRITE=1
MAINSHEET_TEMPLATE=4
MI_TIMEOUT=20
MOVIEPARENTFOLDER=/home/teachme/Downloads/sheetmaker_1_27_3
NFO_CREATE=0
NFO_FORMAT=0
NFO_NAME=$M/$N
NFO_OVERWRITE=0
PASHEET_CREATE=0
PASHEET_NAME=$M/../$P_sheet
PASHEET_OVERWRITE=1
PASHEET_TEMPLATE=4
PLUGIN_PLAYLIST=0
PREFERTGMD=1
PREFER_FA_TGMD=0
TEMPDIR=/home/teachme/Downloads/sheetmaker_1_27_3
TEMPLATEDIR=/home/teachme/Downloads/sheetmaker_1_27_3/templates
TGMD_CREATE=1
TGMD_NAME=$M/$N$E
TGMD_OVERWRITE=0
THUMBNAIL_CREATE=1
THUMBNAIL_NAME=$M/$N
THUMBNAIL_OVERWRITE=1
THUMBNAIL_TEMPLATE=4
USEFOLDERNAMES=0
Title: Re: SheetMaker for Linux
Post by: bunyip on August 10, 2013, 06:23:10 PM
Thanks teachme,

Yes, as suspected all your template values are the same and they should not be. They are pointing to the same 'movie-sheet' template probably.

Code: [Select]
EXSHEET_TEMPLATE=4
EXTHUMBNAIL_TEMPLATE=4
MAINSHEET_TEMPLATE=4
PASHEET_TEMPLATE=4
THUMBNAIL_TEMPLATE=4

The thumbnails should be set to no template (i.e. value 0) or to one of the 'thumbnail-type' templates (e.g. 'Extreme_Movie Thumbs_CoverBox DVDCase_3_BlackBG').

So, go to the 'options' tab and set the thumbnail templates to nothing and re-run the test.

Cheers,
bunyip.
Title: Re: SheetMaker for Linux
Post by: teachme on August 11, 2013, 05:16:38 AM
Perfect worked like a charm i knew it had to be something i was doing . Thanks again great program its super fast.
Title: Re: SheetMaker for Linux
Post by: bunyip on August 11, 2013, 02:58:29 PM
Perfect worked like a charm i knew it had to be something i was doing . Thanks again great program its super fast.

Ah, that's good to hear, another happy user.  :D

Thanks,
bunyip.
Title: Re: SheetMaker for Linux
Post by: teachme on September 16, 2013, 04:25:59 PM
My sheet maker stopped working all of a sudden anything i can check ? when i click start it hangs on processing and nothing happens in bottom left corner.


just noticed this message 

INFO:   Creating a moviesheet for identity thief.mkv
*** unhandled exception in callback:
***   Can't call method "simple" without a package or object reference at ./collectors.pl line 615, <CF> line 42.
***  ignoring at SheetMaker.pl line 86, <CF> line 42.
Title: Re: SheetMaker for Linux
Post by: bunyip on September 16, 2013, 07:53:53 PM
My sheet maker stopped working all of a sudden anything i can check ? when i click start it hangs on processing and nothing happens in bottom left corner.

just noticed this message 

INFO:   Creating a moviesheet for identity thief.mkv
*** unhandled exception in callback:
***   Can't call method "simple" without a package or object reference at ./collectors.pl line 615, <CF> line 42.
***  ignoring at SheetMaker.pl line 86, <CF> line 42.

Looks like I've run out of time.

I have been working on a new release that included many upgrades but it's not yet ready to be published.

One of the upgrades was to change SheetMaker to use the new version of the API to access data from 'theMovieDB.org' because there were suggestions that they were turning off the old one sometime this month. It looks like they have already thrown the switch which means the current version will crash when trying to extract data from 'theMovieDB.org'.

I'll transfer those API upgrades to an interim release (1.28) so it gets working again and publish it over the next day or so.

The old API used XML data structures but the new one uses JSON data structures so you will need to install another CPAN module which I'll specify with the new release.

Cheers,
bunyip
Title: Re: SheetMaker for Linux
Post by: teachme on September 17, 2013, 03:25:13 AM
Hey i tested on several of my movies last night some it will still make sheets for. No rush man your software is worth the wait .
Title: Re: SheetMaker for Linux
Post by: bunyip on September 19, 2013, 04:36:10 AM
The updated Versions are now available:
GUI: 1.28  CLI: 1.0.6

They contain the switch-over to version 3 of the 'themoviedb.org' API - (The previous version has been discontinued).
NOTE: These versions require an extra CPAN module to be loaded. i.e. 'JSON::Parse'  (See the module-check programs included in the program bundle.)
Title: Re: SheetMaker for Linux
Post by: teachme on September 19, 2013, 12:42:49 PM
Thanks so much man just got the new gui one works great. Awesome Work !!!!!!
Title: Re: SheetMaker for Linux
Post by: bunyip on September 19, 2013, 03:03:29 PM
Thanks so much man just got the new gui one works great. Awesome Work !!!!!!

Thanks teachme,

I didn't have time to test this version extensively so don't hesitate to raise any data retrieval problems that you may find.

Cheers,
bunyip
Title: Re: SheetMaker for Linux
Post by: jackie999 on November 09, 2013, 03:38:29 PM
Can I get some help with this error?
Quote
sudo perl -MCPAN -e 'install JSON::Parse, '                                                                                   
Going to read '/home/jackie/.cpan/Metadata'                                                                                                         
  Database was generated on Sat, 09 Nov 2013 12:17:02 GMT                                                                                           
Running install for module 'JSON::Parse'                                                                                                             
Running make for B/BK/BKB/JSON-Parse-0.23.tar.gz                                                                                                     
Checksum for /home/jackie/.cpan/sources/authors/id/B/BK/BKB/JSON-Parse-0.23.tar.gz ok                                                               

  CPAN.pm: Going to build B/BK/BKB/JSON-Parse-0.23.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for JSON::Parse
Writing MYMETA.yml
cp lib/JSON/Parse.pod blib/lib/JSON/Parse.pod
cp lib/JSON/Parse.pm blib/lib/JSON/Parse.pm
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp  -typemap /usr/share/perl/5.14/ExtUtils/typemap  Json3.xs > Json3.xsc && mv Json3.xsc Json3.c
cc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"0.23\" -DXS_VERSION=\"0.23\" -fPIC "-I/usr/lib/perl/5.14/CORE"   Json3.c
/bin/sh: 1: cc: not found
make: *** [Json3.o] Error 127
  BKB/JSON-Parse-0.23.tar.gz
  /usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Title: Re: SheetMaker for Linux
Post by: bunyip on November 10, 2013, 12:54:27 AM
First impression is that it can't find your 'C' compiler.

Quote
/bin/sh: 1: cc: not found
I'm using 'Linux Mint 15' and the file '/usr/bin/cc' is a link file that links to another link file '/etc/alternatives/cc' which links to yet another link file '/usr/bin/gcc' which finally links to the compiler executable '/usr/bin/gcc-4.7'.

It's possible that the linkages are broken on your system or the compiler itself is missing.

Try just typing 'cc' on a command line and see what you get.
Title: Re: SheetMaker for Linux
Post by: jackie999 on November 10, 2013, 08:30:11 AM
Quote
cc
The program 'cc' can be found in the following packages:
 * gcc
 * clang
 * pentium-builder
 * tcc
Try: sudo apt-get install <selected package>

I'm running (K)ubuntu 13.10

I installed gcc and it's good to go now! Thanks so much!!

I still am unable to access my samba networked HDD thru the sheetmaker GUI...if anyone has some tips for that I'm all ears :)
Title: Re: SheetMaker for Linux
Post by: bunyip on November 10, 2013, 01:57:56 PM
I still am unable to access my samba networked HDD thru the sheetmaker GUI...if anyone has some tips for that I'm all ears :)

You just need to find the path to where the Share has been mounted.

If you have it mounted via an 'fstab' entry then just navigate to the mount point from within the SheetMaker GUI (but I suspect that this is not the case).

If on the other hand the Share has been auto-mounted by the system then you need to find where its been mounted.
The first place to check is in the file '/etc/mtab' which shows currently mounted drives/filesystems.
Most likely you will see an entry beginning with 'gvfsd-fuse', the second field on this line will show a path to a mount area which could be something like '/run/user/jackie/gvfs' or '/home/jackie/.gvfs'.

Try navigating to this directory from within SheetMaker and you should see the share.

Personally, I find it better to manually mount my external drives at boot time and map them to the standard '/media' mount directory.

for example, I have a 'WD MyBook' 2TB drive and to have it mounted on boot I have added this entry to the '/etc/fstab' file.
Code: [Select]
# MyBook Mount
//192.168.0.6/Public /media/TwoTB cifs users,rw,auto,uid=1000,password= 0 0
(of course substitute with your drive's IP address and share name)

Cheers,
bunyip
Title: Re: SheetMaker for Linux
Post by: bunyip on January 10, 2014, 12:45:07 AM
New bug-fix releases available:

GUI: 1.28.2
CLI: 1.0.8
 
Title: Re: SheetMaker for Linux
Post by: bunyip on March 20, 2014, 03:20:40 AM
Another bug-fix release available:

GUI: 1.28.3
CLI: 1.0.9
Title: Re: SheetMaker for Linux
Post by: bunyip on April 28, 2014, 04:07:36 PM
New Modified Versions are available.
GUI: 1.29.0 (http://bunyipawonga.org/sheetmaker/downloads.php)
CLI: 1.1.0 (http://bunyipawonga.org/sheetmaker/downloads.php)

Basically these versions have been adjusted to comply with library changes that exist in some recent Linux releases (notably Ubuntu 14.04).

The documentation has also been upgraded to show simpler methods of installing missing modules using mostly 'deb' or 'rpm' files.

bunyip.
Title: Re: SheetMaker for Linux
Post by: bunyip on May 20, 2014, 04:50:26 PM
New Modified Versions are available.
GUI: 1.29.1 (http://bunyipawonga.org/sheetmaker/downloads.php)
CLI: 1.1.1 (http://bunyipawonga.org/sheetmaker/downloads.php)


Fixes broken link to 'theMovieDB.org' fan-art files.

bunyip.