You are not logged in.
Hi archers,
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)
Regads,
Unni
http://www.mutexes.org/
My AUR packages
Offline
Nice script! I posted a comment (bug) on your webpage.
Last edited by graysky (2011-03-06 12:20:18)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Sorry, but you're not allowed to scrape the imdb pages. Sucks.
TMDB provides an open API that you can use freely, see http://api.themoviedb.org/2.1
Offline
graysky,
thanks man :-)
dmz,
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.
Regads,
Unni
http://www.mutexes.org/
My AUR packages
Offline
more details here: http://www.imdb.com/help/show_leaf?usedatasoftware
Offline
bangkok_manouel,
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.
Regads,
Unni
http://www.mutexes.org/
My AUR packages
Offline
hey graysky,
I fixed the bug. I am in the process of upgrading the arch package. I will update the forum after that. Thanks again for pointing out that :-) .
Regads,
Unni
http://www.mutexes.org/
My AUR packages
Offline
graysky,
The updated script is at http://aur.archlinux.org/packages.php?ID=47118 . Please try it :-)
Regads,
Unni
http://www.mutexes.org/
My AUR packages
Offline
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.
Douglas Adams
Offline
Yes Rasi,
I didn't noticed that. But I cannot find an option to move this thread. I guess somebody from the moderator team needs to do that.
Regads,
Unni
http://www.mutexes.org/
My AUR packages
Offline
new version available at AUR
http://www.mutexes.org/2011/06/06/imdb- … version-4/
Last edited by webofunni (2011-06-06 19:40:05)
Regads,
Unni
http://www.mutexes.org/
My AUR packages
Offline
Hi, thanks for the work
I want to report a bug with the "Cast" item. I have the html(javascript?) code rather than just the information.
Can you fix this please.
Thx again.
Offline
Thanks tuxg,
I was busy with my office works. Working on cast/director code rt now. Will patch and upload the code soon. Thanks again for using it :-)
Regads,
Unni
http://www.mutexes.org/
My AUR packages
Offline
Nice work
Bug Report: Rating doesn't seem to work atm.
Offline
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.
Thanks.
Regads,
Unni
http://www.mutexes.org/
My AUR packages
Offline
yay!
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
Offline
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
Regads,
Unni
http://www.mutexes.org/
My AUR packages
Offline
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.
Offline
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`
instead of:
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
Arch Linux
Last edited by MreDD (2012-07-21 11:58:54)
...MikereDD
:Go Away & Give My Pillow Back!!:
aur pkgbuilds - mostly fortune-mod's & fonts
Offline
New version is out. Updated package build.
Regads,
Unni
http://www.mutexes.org/
My AUR packages
Offline
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
Offline
I specifically looked for something to do exactly what your script does. Pleasantly surprised to see an Arch-ster created it! Works great! Thanks.
Offline