Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - meriator

Pages: [1]
1
The script I currently trying to do
includes URLS
with POST and GET methods
and the site does not accept
POST instead of GET and vice versa
(http://www.filmportal.de)

I should be able to get the URL of the searchresults list
that was choosen/clicked before the download starts
to parse it and return the correct method.

I tryed everything without success,
no way to get this URL  before GetDownloadMethod is executed


the earlist state to get the URL is after download
but this of cource fails either with ...

HTTP/1.1 400 Bad Request
 (GET instead of POST)
or
HTTP/1.1 405 Method Not Allowed
 (POST instead of GET)

Is there a way ?

thanks

cu meriator

2
Feature Suggestions / my wishlist
« on: December 22, 2011, 12:46:02 am »
hi all

I would like to see the following features

additional movie fields
   * msID (aka website id) Table:wwwMIDs[MID, site(s.text/base_url), msID(s.text)] msID=mostly an integer but not allways
   * critic (memo)
   * notice (memo)
   * independent movie template (filename) ( would be nice for series, category, generes)
   
  comment:  [msID]: this would make it much easier to decide whether a movie is allready listet or not
 
   
additional person fields
   * psID (aka website id) Table:wwwPIDs[PID, site(s.text/base_url), psID(s.text)]
   * gender (integer)
   * critic (memo)
   * notice (memo)
 *** custom fields
 
  comment:  [psID]: this would make it much easier to decide whether an actor is allready listet or not
   

additional movie image fields
   * (PIDs)   to link a person to an image
   * hint    (short text)
   * sort    (integer) to sort images
   
  comment:  if * (PIDs on images) then there should be a function
 in persons imageview MODE, aka (show him/her on screens) to make sense
   
additional actor/crew fields
   * sort    (integer) to sort by importance
   * mainA   (boolean) to mark their importance and maybe to have a criteria for a shortlist on skinning
              true:main actor (default:false)
additional crew fields
   ( by importance )
 *** cinematographer
 *** cutter
 *** sound
  ** novel
  ** screenplay
   * effects
   * make-up
   * costume design
   * production design
   * lights
   * wardrobe
   * stunts
   * set decoration
   * requisite
   
   
programm behaivor
 [scripting feature] (* AddFieldValueToLastActor / * AddFieldValueXMLToLastActor)
 when adding an actor via movie import
 * the posibility to fill additional field data for the last added actor
 
 [scripting feature] (* AddFieldValueToLastEpisode / * AddFieldValueXMLToLastEpisode)
 when adding a episode via via movie import
 * the posibility to fill additional field data for the last added episode
 
 [scripting feature] (* AddFieldValueToLastMovie / * AddFieldValueXMLToLastMovie)
 when adding a movie via persons filmogarphy import
 * the posibility to fill additional field data for the last added movie

 [scripting feature] 
* real RegEx
* a php like funtion flip array which changes key/val to val/key is sometimes very helpful
* posibility to share functions withhin an extern script file
 so i dont have to rewrite them al the time

 [Option]
 when adding an actor via movie import
 * add new ones; on existing ones only overwrite role and add url
 
 [plugin settings]
  * custom plugin settings via batch import
   ( this means the settings of a plugin can different from main settings
     when it is called via batch import
     so it will behave diffrent from calling it directly
     I would need this in a lot of cases)
 
  [screenshoots, poster...]
  * image sorting (let be the first image the default one)
 
  [Option}
  when viewing movies (a limited "clear fields" option aka "clear persons")
  * delete all persons from this movie/s
 
  [Option}
  when viewing movies (a limited "clear fields" option aka "clear connections")
  * delete all connections from this movie/s
 
  [skinning]
  * background images
  * box, image shaddows (like browser behaivior)
  * popup tabs buttons (like double click on screenshoots, poster ... with fadeIn,fadeOut would be great)
   
  [generally]
  it would be a very nice thing to have a ini file 
  aka "new_databas.ini"
  * where all customfield are stored
    so when we generate a new empty DB
    all those fields will be generated automaticly
  * also for default list-items
  * also for visible data-fields
  * and for plugin-settings
  * .... image-path etc.
 
  if we would have independent movie templates
  [assign templates]
  * assign independent template to selected movies
  * assign independent template to all episodes
  * assign independent template by category, genere ....
 
  thats my pers. wishlist so far
 
 
  and once again
, thanks nostra
  thanks for the app
  the best p.MovieDatabase I know out there
 
  cu meriator
 
PS. minor bug on
[skinning]
when a costum field is assigned to the main tab or any other tab
then custom tab disapears completly

3
Scripts and Templates / Zweitausendeins Filmlexikon DE (movies, screens.)
« on: December 21, 2011, 10:18:45 pm »
hi all
I've yust finished this scripts  ;)
Zweitausendeins Filmlexikon DE
http://www.zweitausendeins.de/filmlexikon/

it was a little difficulty the way we have to search this site
but i found a way .....

mostly you may not get any result on orig. title,  if it is not a german made move
so we will have todo a second search with the (visible) title

in this case any :space ->": " is replaced to +-+
because the standard way to separate
main movie title: sub movie title
= in german more common like
main movie title - sub movie title

badly they use encodeURI(chr) requests in their post method
so it took me much more time to figure this out ....
then to make a function to encode the query this way

on doing a second search the script will not add the orig. title to your DB
in fact of .. this is a little unsave comparing to IMDB ..
execpt you force it to do so
eq. the title will only be change if you force if

there are alot of movies without  posters .. and  or images
if there are any you can decide an images as poster
either the first or last out of xx images
can be downloaded if you wish
Note: posters, if any, are mostly at the end


This site it self  is very basicly, 
but one of the best german movie pages with short but good descriptions
and mostly correct data (I think IMDB has more data errors then this site)
on more than 54.000 movies, bascily german, european ones.
A fundamental research, so  that lot of other website use to quote them.
This was the fact for me to do this script.

zweitausendeins_DE.psf the movie script
curent version: 0.1.0.1

zweitausendeins_DE_screenshots.psf  the screenshot script
curent version: 0.1.0.1

the webpage has no personaly infos on actors
except their filmography
(so I thought for me, that there is no important reason for a person script)


edit:found a little bug
archive updated

zweitausendeins_DE_screenshots.psf  the screenshot script
curent version: 0.1.0.2
cu meriator


[attachment deleted by admin]

4
Scripts and Templates / Filmstarts_DE (movie,screens.,poster)
« on: December 19, 2011, 07:59:41 am »
..and here 3 new scripts  for http://www.filmstarts.de

filmstarts_DE.psf the movie script
curent version: 0.1.0.1
similar to the zelluloid script
features
most of PVDs standard fields
1 aditional credit
aditional crew members, based on level of importance
( "Mr.Xxx" -- "___cinematographer___") or ( "Mr.Xxx" -- "___Kamera___")
... language based ...
similar movies as connection list ( *** read code below)
search page navigation
awards are not liste by this site   :(
Code: [Select]
//OPTIONS
 SEARCH_w_PIC    = TRUE;  //represents the search results with covers
 DO_CREDITS      = TRUE;  //get actor /crew data
 DO_CRITICS      = TRUE;  //this will get the critic
 DO_RATINGS      = TRUE;  // not supported yet (dont know wether i need this)
 DO_TECHNIC      = TRUE;  // get budget / money info if any
 DO_POSTER       = TRUE;  // download the poster
 DO_bigPoster    = TRUE;  // try to get the big poster
 DO_EXTRAS       = TRUE;  // get additional crew members
 DO_CUSTOMS      = TRUE;  //Set to False if you do not want custom-fields being filled
                          //this will allso affect others
 DO_CREW_RANG    = 5;     //this will get additional crew members by importance from 0-5
                          //0=higest importance, 5=lowest importance
 DO_CRITIK_AT    = 2;     //1= custom field cf_kritik
                          //2= comment field

 DO_SIMILARS     = TRUE;  //this will add a connection list for up to 10 similar movies
                          //(in normal mode we can grab only the title but these may not match
                          // to a corresponding existing title of an other movie site,
                          // so its less save for a consistent DB)
 DO_SIM_PRO      = FALSE;  //this loads the similar movies site first
                          //to get the org.title and the year before adding
                          //( but there are max. 3 items with urls (:-( javascript) )
                          //( items without org.title will be skipped )

 DO_numDates     = TRUE;  //this converts name of month to numeric value
 JOB_LANGUAGE    = 'de';  // curently only  'de' or 'en'
 //end OPTIONS

 //start language independent
 //you may change the followings values to your language
 // the following will mark crew members (Kamera, Sound...)
 JOB_PREFIX   = '___'; // what ever you like
 JOB_SUFIX    = '___'; // what ever you like

 //coustom field names      setup here the names for requierd custom-fields
 cf_fstartID    = 'ID FStart';              //Kurzer Text
 cf_primeDE     = 'deut.Erstausstrahlung';  //Kurzer Text
 cf_FSK         = 'FSK';                    //Kurzer Text
 cf_kritik      = 'Kritik';                 //Memo
 cf_news        = 'News';                   //Memo
 cf_notiz       = 'Notiz';                  //Memo
 //end coustom field names

 //end language independent

the options and their setting values are discriped inside the script like above


filmstarts_DE_poster.psf the poster script
curent version: 0.1.0.1
......
the options and ..... inside the script


filmstarts_DE_screenshots.psf
the screenshot script
curent version: 0.1.0.1
......
the options and ..... inside the script

(copy+pasted)

I tried to explain all options and their setting values inside each of the scripts
 
*** NOTE: if you change any of the options
***or if you use the scripts for the first time
*** PLEASE  try on an empty test database first

cu meriator



[attachment deleted by admin]

5
Scripts and Templates / Kino + Video DE
« on: December 18, 2011, 05:36:27 am »
here I are 5 scripts i wrote

kino DE movie script
curent version: 0.1.0.1
kino DE screenshot script
curent version: 0.1.0.1

video DE movie script
curent version: 0.1.0.1
video DE screenshot script
curent version: 0.1.0.1

and a combination script
just for fun but it does work
kino+video DE movie script
curent version: 0.1.0.1

they are all similar to the zelluloid script

the kino+video DE movie script has one known bug
if have got  your infos from video.db
you have do a search for the movie again for updates
because we cant have 2 base_urls

(copy+pasted)

I tried to explain all options and their setting values inside each of the scripts
 
*** NOTE: if you change any of the options
***or if you use them for the first time
*** PLEASE  try on an empty test database first

cu meriator

[attachment deleted by admin]

6
Scripts and Templates / Tatort Episoden DE
« on: December 18, 2011, 05:18:30 am »
here is a script that will only work on single Tatort Episoden
but in batch one after one
do not use it for any ohter movie

It loads its Infos from to different sites
http://www.tatort-fundus.de
http://de.wikipedia.org/wiki/Liste_der_Tatort-Folgen
http://www.daserste.de/tatort/sendung.asp

and it is able to merge the infos together
but you should first get the movie Tatort
and its episodes via IMDb
we need the titles and the release-dates first

I have corrected the most of these data  on IMDb allready
so it should get correct results

it gets Infos actors and a screenshot as Poster
and certain other data

Please try this on an empty DB first

the descsription of the options and their setting values
and the custom-fields and field-types
are are stored inside the script


cu meriator
(I know this one is very special, may be no one needs that)





[attachment deleted by admin]

7
Feature Suggestions / accessing valueconvert directly
« on: January 31, 2011, 10:28:48 am »
Is it possible
to add the capability to change the translations directly
with the values stored in valueconvert.cfg ?
Without using an other import plugin.
and without the needs to go online.
Only matching values should be translated
all others should stay as the are.
this would be great !!

by the way
-----------------------
mfAwardWon    = 81;
mfAwardEvent  = 82;
mfAwardCat     = 84;
81|Edda Awards|Edda Filmpreis
82|Edda Awards, Iceland|Edda Filmpreis (Island)
84|Best Motion Picture – Drama|Bester Film – Drama

are not matched,
no change

and its seems that
person values are not matchable at all
----------------------
any way
thx meriator

8
Scripts and Templates / may be a Bug & some questions
« on: January 01, 2010, 03:56:44 pm »
...first happy new year to all of you

@nostra
1. may be a Bug?
I currently working on a script parsing a german TV-Eipsode-Guide page
it seems that I can't add a season with number zero (0) via executing a script,
except the case that this zero season is the only one I'm trying to add.
If I add more then one season, the episodes of this zero-season
will be inserted as episodes of the first-season
and then
the desciription will be overwritten with the episodes-desciription of the first-season

...but I can do so manually via PVD
... or having two script-types
 one parses the zero-season if there is on
 and a second one parsing normal seasons ( means number > 0)
 
2. is there a way to display a short Status-messages while the script is running
   the reason is , there are TV-soaps with more then 700 episodes in a single season
   so my script is running a long time, while I do not know whats goinig on
   I use the taskmanger to see that there is still action
  but I do not know, weather the script does its job or running in an endless loop.
of course I can use the ShowMessage function
but this is not very comfortable in this case

3. is there a way to get the mid of the last inserted episode
   to change /add other values of the episode in the same loop
   or is this imposible because of using transaction/rollback mechanism of firebird

4. a while ago i asked for RegEx support via ScriptEngine
    is there any future for this

thanks so far  meriator

9
Development / scripting-engine callback function
« on: December 16, 2008, 09:30:28 am »
hi nostra
the script i currently working on should
import/update title and description (in german) for movie-episodes only
(may be later the cover-images too)
the movie has to be allready in the db
I imported my test-movies from IMDb
(its very boring job, to update a lot of episodes manualy)

the source-page for the new script is http://www.fernsehserien.de
this page is a kind of a german episode-guide

while writing this script
I have a problem
I need the MID for giving the orginal title of the episode from the db
because the season- and episode-numbers do not match
to IMDb but the orignalTitle does
so my question is.
Is it posible to implement a callback-function to the scripting-engine
which gives back the MID of an episode (of the current selected Movie),
in exchange
like
getEpisodeMID(orignalTitle of Movie-Episode)
may be we need
getMovieMID(current selected Movie) too
to do it this way
getEpisodeMID(currentMovieMID, orignalTitle of Movie-Episode)

and a function which will change movie-episode fields
like updateMovieField (MID, field-name, field-value)
this would be very great

thanks meriator

ps:I know you might be very busy, sorry

10
Development / StringReplace - RegEX ?
« on: September 03, 2008, 06:25:26 am »
my Question:
does the function StringReplace accept for Patterns a RegExpression ?
something like '/<(FSK:|fsk:)(.*?)(,|<)/s'
and which syntax for the RegEX is used C-like or PHP-like or orPerl-like or does Delphi has a diffrent Syntax
or is ther an other function via scripting engine that accept RegExes
it's easier to ask then trying all Night long

my Sricpt for zelluloid.de is almost finished
 
thx
cu meriator

11
Development / german language corrections
« on: August 19, 2008, 12:11:55 am »
I noticed that
some of the german phrases are either incomplete, mistakable or wrong
Code: [Select]
6200, "Databank öffnen"
 6237, "Bild vom Scanner holen"
 6565, "CD-Vorderhülle {IFCTRL}:"
 6567, "Abspann-Text"
 6880, "Zeige Personen aus den Filmabspännen"
 7156, "Hintergrund-Modus für alle Plugins (keine Benutzereingaben erforderlich)"
 7158, "Keine Personen aus Auszeichnungen hinzufügen wenn sich nicht in den Filmen gelistet werden"
 7512, "Screenshot Erstellung öffnen"
 7926, "Kein TWAIN-Quelle gefunden."
 7928, "Keine Personen gefunden :("
 8000, "Person auswählen"
 8021, "Gruppiere Personen nach %s"

a good reference for the german language
could be found at  http://www.leo.org/

thx again
cu meriator

Pages: [1]