Author Topic: For XBMC some request  (Read 12766 times)

0 Members and 1 Guest are viewing this topic.

Offline Zacca

  • User
  • ***
  • Posts: 117
    • View Profile
For XBMC some request
« on: November 01, 2009, 05:34:58 pm »
Now for the totally compatibility of the XBMC export i v 2 requests...
1) The ID of imdb....    <id>tt000000</id>
2)The resolution split.... not 800x600 <width>800</width><height>600</height>

Very very tnx ;)

Offline CAD

  • Older Power User
  • *****
  • Posts: 168
  • I've got my eye on you!
    • View Profile
Re: For XBMC some request
« Reply #1 on: November 13, 2009, 11:39:01 am »
i've tried - i don't think it can be done.
pvd doesn't have the scripting capabilities
three fingered salutation

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: For XBMC some request
« Reply #2 on: November 13, 2009, 06:30:21 pm »
It's a feature request, CAD. I would particularly like to see (1) available as a variable that could be used in scripts and Web searches (many sites use it as a reference to identify a movie).

Offline CAD

  • Older Power User
  • *****
  • Posts: 168
  • I've got my eye on you!
    • View Profile
Re: For XBMC some request
« Reply #3 on: November 14, 2009, 12:24:39 am »
i have had this discussion with Nostra in previous posts
i dont think it is high on his todo list.
He would need to build a complete scripting language into PVD to be able to extract unknown variables.
 
three fingered salutation

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: For XBMC some request
« Reply #4 on: November 14, 2009, 03:17:19 am »
Quote
i dont think it is high on his todo list.

Perhaps, but it's on my nag list... ;)

All of these (web) searches use the %s variable for the movie Original title. Still on my wish list is a variable for the IMDb page number, as discussed here. A number of searches would be much more accurate using that, and it would permit some that are not presently possible. It would also help to be able to pass Title, Year, Director and Barcode to searches.

I assume you mean a scripting language is required to extract the "page number" from the URL in the movie record. If this can't be done (easily) by the program, it can by the plugin. Maybe the answer is to have the plugin get this, and save it in a separate field.

Offline CAD

  • Older Power User
  • *****
  • Posts: 168
  • I've got my eye on you!
    • View Profile
Re: For XBMC some request
« Reply #5 on: November 14, 2009, 03:52:12 am »
Quote
I assume you mean a scripting language is required to extract the "page number" from the URL in the movie record. If this can't be done (easily) by the program, it can by the plugin. Maybe the answer is to have the plugin get this, and save it in a separate field.

i mean stuff like "if" "else" "then" type functionality. This would need to be built into the program.
truly useful - yes
difficult to implement - yes

i dont think it can be done by plugin - would have to check with Nostra / programmers  :D


 
three fingered salutation

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: For XBMC some request
« Reply #6 on: November 14, 2009, 04:28:42 am »
Quote
i dont think it can be done by plugin

Sure it can—it's part of the URL of each page the plugin extracts information from. It occurs about a hundred times on a main page, so it shouldn't be too hard to find. ;)

Offline CAD

  • Older Power User
  • *****
  • Posts: 168
  • I've got my eye on you!
    • View Profile
Re: For XBMC some request
« Reply #7 on: November 14, 2009, 11:07:06 am »

im trying to extract only imdb No from url
http://www.imdb.com/title/tt1190080/

i havnt found a way to filter this only.
Especially if there are other urls (from allmovie for instance)

if you know a way to do this, it would be appreciated.
three fingered salutation

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: For XBMC some request
« Reply #8 on: November 14, 2009, 11:52:38 am »
You mean in a template? From the URL field? I have no idea. I assume nostra would have to provide a function to do that.

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: For XBMC some request
« Reply #9 on: November 15, 2009, 02:10:01 am »
I will try to provide needed functionality in the next version of the export plugin
Gentlemen, you can’t fight in here! This is the War Room!

Offline patch

  • Older Power User
  • *****
  • Posts: 250
    • View Profile
Re: For XBMC some request
« Reply #10 on: November 15, 2009, 03:35:22 am »
if you know a way to do this, it would be appreciated.
It would be trivial with RegExps which PVD already uses in the file scanner.
I wonder if adding similar functionality to the plugin would offer a general solution?

Of course I have no idea what the implementation difficulty would be so don't know how practical I'm being :-\
I suspect it is sufficiently different to need to wait for a later major revision.
« Last Edit: November 15, 2009, 03:36:54 am by patch »

Offline Zacca

  • User
  • ***
  • Posts: 117
    • View Profile
Re: For XBMC some request
« Reply #11 on: February 23, 2010, 07:40:21 pm »
Now for the totally compatibility of the XBMC export i v 2 requests...
1) The ID of imdb....    <id>tt000000</id>
2)The resolution split.... not 800x600 <width>800</width><height>600</height>

Very very tnx ;)


Thanks for the new versions...great work ;D
...but some news for my old request ???

mgpw4me@yahoo.com

  • Guest
Re: For XBMC some request
« Reply #12 on: February 23, 2010, 08:28:09 pm »
If you want full control of the output and can't wait...

- Install php5 from php.net (command line interface - CLI, with interbase support)
- copy fbclient.dll from the pvd directory into the php directory and rename to gds32.dll
- copy the 3 'icu...'.dll files from pvd to the php directory
- if you add pvd to your path variable you can skip the previous 2 steps (delete gds32.dll from php directory)
- you can associate .php files with php.exe so you don't need a command window
- always use a command window when testing or you won't get any error messages

When done, php will have full access to the database and you can use it's output facilities to write files.  If you export to csv, then use php to create the extra info, you can use excel to add the columns created.  If you want to get fancy, php also has access to the COM api, so you can use it to fire up excel with your export csv and insert the necessary data directly into the spreadsheet (some VBA knowledge would be useful, but examples are everywhere if you google).

Too much work?  All things come to he who waits (for Nostra).

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: For XBMC some request
« Reply #13 on: February 24, 2010, 01:38:40 am »
I am still trying to find some time to spend on the export plugin. An improved plugin will be released as soon as possible.
Gentlemen, you can’t fight in here! This is the War Room!

Offline deazo

  • Older Power User
  • *****
  • Posts: 283
    • View Profile
Re: For XBMC some request
« Reply #14 on: February 24, 2010, 05:10:06 pm »

 For your information, while waiting for a nice plugin from Nostra for export to XBMC I am using ember media manager to generate all the needed info for inclusion in XBMC.
 I use a simple export from pvd that only export poster, imdb URL as well as original title.
 Then Ember scrapes all missing info (it is SUPER fast) without me having to interact with it too much during that process.
 That way I am getting fanarts that can look very nice in XBMC, as well as trailer links.

 To be honest, on a daily basis I still use pvd to choose and watch my movies, as it is way more complete than XBMC which is mainly an eye candy. There is no easy way to search the data in XBMC and use filters and so on.

 I'm only using XBMC when I want to "show off" with family and friends... ;D
 The day pvd will offer a nice fancy theatre view I will definitely give up XBMC for my movies.

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: For XBMC some request
« Reply #15 on: February 24, 2010, 07:17:51 pm »
Quote
The day pvd will offer a nice fancy theatre view I will definitely give up XBMC for my movies.

So why not use J. River Media Center? The PvdImport plugin provides seamless automatic integration with PVD. Some quibble the "eye candy" quality of it's Theatre View is not quite on par with that of XBMC, it's far more functional. If you have music and/or photo collections as well, it's a no-brainer.

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: For XBMC some request
« Reply #16 on: March 30, 2010, 02:54:59 pm »
Quote
Now for the totally compatibility of the XBMC export i v 2 requests...
1) The ID of imdb....    <id>tt000000</id>
2)The resolution split.... not 800x600 <width>800</width><height>600</height>

The new values are available in export plugin version 0.7.0.0
Gentlemen, you can’t fight in here! This is the War Room!