I have added my script to AUR. You can find that at http://aur.archlinux.org/packages.php?ID=47118 . Its a CLI tool to search and get details about your favorite movies.
New version adds colored output [Thanks graysky ] and "similar title" suggestions.
Last edited by webofunni (2011-06-06 19:49:19)
thanks man :-)
Its a command line application and it cannot display the poster or fan arts. And its in its beginning state. I am trying to bring caching in future releases, so that the script will cache and previous queries and will use the cache and thus will save time and bandwidth.
I am really sorry, but I didn't get your idea completely. Can you please tell me what exactly you like to see in the script.
more details here: http://www.imdb.com/help/show_leaf?usedatasoftware
All design goals must be phrased in such a way that it is hard to use them as slogans to justify stupidity.
I don't think this script comes under that. This is just like using browser to see IMDB movie page. in fact it is a browser ( lynx ). I usually stick to cli, so I am using it just to see movie info without opening my browser.
belongs to "Community Contributions"
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
new version available at AUR
Last edited by webofunni (2011-06-06 19:40:05)
Hi, thanks for the work
Can you fix this please.
Done some quick fixes. Pls try the new package @ https://aur.archlinux.org/packages.php?ID=47118 . Currently I dont have access to a arch system, so the package is not tested. I will do that within few hours.
new feature request: Language of Movie (lets me know whether its german or korean or spanish or what)
and if we could just do `imdb-mf "moviename"` so that the -t wasn't required everytime, it would be awesome
Thanks for the input. I will add the language option.
The script need to differentiate bt diff options, thats why -t is there . U can just add an alias to bash rc and fix it .
echo "alias imdb-mf=\"imdb-mf -t\"" >> $HOME/.bashrc source .bashrc
Here's a thunar custom action;
terminal --geometry=80x24 --hold -e "imdb-mf -t %n"
Although parsing different file names seems to be tricky. file_name.avi seems to work but file.name.avi seems not. I guess one can fix this with sed but I'm not that good at it.
why not use:
declare -rx LYNX=`which lynx` declare -rx CAT=`which cat` declare -rx SED=`which sed` declare -rx EGREP=`which egrep` declare -rx GREP=`which grep` declare -rx UNIQ=`which uniq` declare -rx HEAD=`which head` declare -rx SORT=`which sort`
declare -rx LYNX="/usr/bin/lynx" declare -rx CAT="/bin/cat" declare -rx SED="/bin/sed" declare -rx EGREP="/bin/egrep" declare -rx GREP="/bin/grep" declare -rx UNIQ="/usr/bin/uniq" declare -rx HEAD="/usr/bin/head" declare -rx SORT="/usr/bin/sort"
-->$ whereis egrep;cat /etc/issue | cut -f1 -d '\'
egrep: /usr/bin/egrep /usr/share/man/man1/egrep.1.gz
Last edited by MreDD (2012-07-21 11:58:54)
:Go Away & Give My Pillow Back!!:
aur pkgbuilds - mostly fortune-mod's & fonts
It doesn't seem to parse properly anymore:
imdb-mf -t "Big Fish" Title : 2003 Year : 2003 Rating : 8.1/10 Director : Tim Burton Writers: Director: Tarsem Singh Stars: Director: John Boorman Stars: Director: Wolfgang Petersen Stars: Director: Kenneth Branagh Stars: Director: Rob Cohen Stars: Director: Gabor Csupo Stars: Director: Dave McKean Stars: Director: Spike Jonze Stars: Director: Ang Lee Stars: Director: Robert Zemeckis Stars: Director: Chris Noonan Stars: Director: Rob Reiner Genres : Cast : Ewan McGregor, Albert Finney, Billy Crudup Lee Pace, Catinca Untaru, Justine Waddell Nigel Terry, Helen Mirren, Nicholas Clay Noah Hathaway, Barret Oliver, Tami Stronach Chris Hemsworth, Anthony Hopkins, Natalie Portman Dennis Quaid, Sean Connery, Dina Meyer Josh Hutcherson, AnnaSophia Robb, Zooey Deschanel Stephanie Leonidas, Jason Barry, Rob Brydon Max Records, Catherine O'Hara, Forest Whitaker Suraj Sharma, Irrfan Khan, Adil Hussain Tom Hanks, Helen Hunt, Paul Sanchez James Cromwell, Magda Szubanski, Christine Cavanaugh Wil Wheaton, River Phoenix, Corey Feldman Plot : IMDB movie URL : http://www.imdb.com/title/tt0319061/ Poster URL : ==============Other similar Titles============= Big Fish (2003) Use above key words to know more about them
I specifically looked for something to do exactly what your script does. Pleasantly surprised to see an Arch-ster created it! Works great! Thanks.