I wish to create a command line util using some of the xbmc code which basilcly gets imdb id and a folder where to put the nfo.
From the id it should scrape imdb and save the data into a nfo which will be picked up by xbmc.
Goal is to offload scraping on a pc server.
Any inspiration from a dev knowing the source?
ultrabrutal
Posting Freak Posts: 954 Joined: Feb 2005 Reputation: 0 Location: South of Heaven |
2008-09-30 17:32
Post: #1
|
| find quote |
joebrady
Team-XBMC Forum Moderator Joined: Apr 2007 Reputation: 6 Location: Floyds Knobs, IN |
2008-09-30 17:39
Post: #2
It's not command line, but have you looked into XBMC Media Companion?
Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules. For troubleshooting and bug reporting, make sure you read this first |
| find quote |
Gamester17
Team-XBMC Forum Moderator Joined: Sep 2003 Reputation: 9 Location: Sweden |
2008-09-30 18:09
Post: #3
http://www.meedios.com/forum/viewtopic.php?t=2238
Might give you some ideas ![]() ...or if you mean to get at XBMC database then see http://sqlite.org Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
ultrabrutal
Posting Freak Posts: 954 Joined: Feb 2005 Reputation: 0 Location: South of Heaven |
2008-09-30 18:24
Post: #4
Joe, I know it exists, but this is for use with MyMovies only when a movie is not in the database (read not available on physical media)
Cool tnx gamester, will look into it
|
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2008-09-30 18:51
Post: #5
IF you would still like to make that tool (preferably cross platform) i'm ready to guide you all the way. our scraper devs are really missing such a thing
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
ultrabrutal
Posting Freak Posts: 954 Joined: Feb 2005 Reputation: 0 Location: South of Heaven |
2008-09-30 22:57
Post: #6
spiff, yes I still wanna code it but using Visual Studio 2008 Express Edition.
My idea was to use as much of the existing code and just clue it together. No need to reinvent the wheel here. I have made a few patches for xbmc, but most of the source is uncharted territory, so a few pointers from a dev could save some time. I have no idea how do code command line tools for neither Linux nor Mac though - not my platforms, but when pc version is done, porting should be easy. Maybe the code could be put in svn. Maybe I can catch you on irc some evening? |
| find quote |
Gamester17
Team-XBMC Forum Moderator Joined: Sep 2003 Reputation: 9 Location: Sweden |
ultrabrutal Wrote:yes I still wanna code itC++ programming language, or? ...that would be great! ![]() ultrabrutal Wrote:I have no idea how do code command line tools for neither Linux nor Mac thoughI am not a programmer myself but may I suggest that you have a look at the build environment of MediaInfo (which is C++ open source) as it not only and can be compiled into a CLI (Command-Line Interface) tool but also a .dll (Dynamicly Linked Library) on Windows, .so (Shared Object) on Linux, and .dynlib (Dynamic Library) on Mac. That way it would even be possible for other third-party software applications to utilize it as well, all sharing the same source code. ultrabrutal Wrote:Maybe I can catch you on irc some evening?http://wiki.xbmc.org/?title=Appendix_D:_...ct_methods We would all love to to have a multi-platform scraper tool
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2008-10-01 17:14
Post: #8
just try to talk to me on irc, worst case scenario i'm not there/available
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
ultrabrutal
Posting Freak Posts: 954 Joined: Feb 2005 Reputation: 0 Location: South of Heaven |
2008-10-01 18:47
Post: #9
gamester, yes it would be c++ inorder to reuse existing code base properly.
I just wanted to do it simple... input imdb id + a folder output: nfo xml file with the scrapped data from imdb I think in theory without knowing the codebase too well, this is more or less a matter of calling a few functions. I know one of them nfofile.save hehe supporting multiple scrapers would probably need different input params spiff, last two times I tried to msg you on irc you weren't there hehe. will try again |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,564 Joined: Oct 2003 Reputation: 138 |
2008-10-01 22:18
Post: #10
Feel free to msg me if I'm around as well. I shall endeavour to idle in #xbmc from time to time.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |


...that would be great! 
![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help