vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm) (https://vborg.vbsupport.ru/showthread.php?t=175378)

Digital Jedi 12-11-2008 12:10 PM

Hrm, I'm getting the same error message you reported here: http://labs.divx.com/WebPlayerCodeGenerator. There may be a problem with the file you've posted.

Let's try a smaller video from DIVX.com and see if that works. Try uploading the video in the ZIP file and see if that works any different.

macc 12-11-2008 12:19 PM

here is this test2.divx - http://libar-libar.com/libar/vb/show...=2405#post2405


works ... i hope ... it is few sec but work ...


my test.divx file is from here http://download.divx.com/divxlabs/Ap...20-12Mbps.divx
and i downloaded and just change name to test.divx and upload to my root!


reg

macc

edit: now is link for downloaded divx ok

Digital Jedi 12-11-2008 12:23 PM

Yup, that's working properly. Large DIVX files, at least in my experience, have a tendency to get corrupted easily. Try downloading the file again and see if you get the same error, because the modification appears to be working properly.

macc 12-11-2008 12:30 PM

i tested this link http://download.divx.com/divxlabs/Ap...20-12Mbps.divx on codegenerator and works fine (mean divx file )


i will try download again and upload again for test ...

thanks and regards

macc

realmr 12-16-2008 05:49 AM

can you add supernovatube.com into the list ?

dduane 12-16-2008 02:35 PM

Hey there! (waves "hi" from Ireland)

I've just installed AME2.0 on my vB 3.7.4. Works just fine without the additional definitions.

However, just downloaded the master XML definition list, and on attempting to import it using the AME cp, I'm getting:

"XML Error: no error at line 0"

Any thoughts as to what this might mean?

Thanks! -- D.

Digital Jedi 12-16-2008 10:26 PM

Quote:

Originally Posted by realmr (Post 1686417)
can you add supernovatube.com into the list ?

I'll add it to the list of sites to include, provided there are no problems getting it to work.


Quote:

Originally Posted by dduane (Post 1686679)
Hey there! (waves "hi" from Ireland)

I've just installed AME2.0 on my vB 3.7.4. Works just fine without the additional definitions.

However, just downloaded the master XML definition list, and on attempting to import it using the AME cp, I'm getting:

"XML Error: no error at line 0"

Any thoughts as to what this might mean?

Thanks! -- D.

I've not seen that before, but it could be the download got corrupted and you got an incomplete file. Try downloading it again.

Vitaly 12-20-2008 01:25 AM

DJ, may be i'm stupid, but what the hell does AME with ampersands in regular expressions? I need to define "&q=" pаttern in thе middle of URL. Somerthing like "(.+)(&q=)(.*)". But it trigger only when i set "(.+)(q=)(.*)". Tryed (.*)(&q=)(.*) with the same result.

What's wrong? Pattern is 100% correct, and test samples pass ok in preg debugger. I've rolled back to 2.0.2 but situation is the same. Any ideas?

Link example:
http://www.google.ru/search?hl=ru&newwindow=1&q=%D0%BF%D0%BE%D0%B8%D1%8 1%D0%BA+%D0%B2+%D0%B3%D1%83%D0 %B3%D0%BB%D0%B5&btnG=%D0%9F%D0%BE%D0%B8%D1%81%D0%B A&lr=&aq=f&oq=

http://www\.google\.[\w]{2,4}/search\?(.+)(q=[\w\d%+]+)(.*) - works, but catches wrong parameter (&aq=f)

http://www\.google\.[\w]{2,4}/search\?(.+)(&q=[\w\d%+]+)(.*) - doesn't works (brokes parceing and even shows plaint text instead of link).

Digital Jedi 12-20-2008 02:55 AM

Is this the link? I notice there's a space in the one you posted.

http://www.google.ru/search?hl=ru&newwindow=1&q=%D0%BF%D0%BE%D0%B8%D1%8 1%D0%BA+%D0%B2+%D0%B3%D1%83%D0%B3%D0%BB%D0%B5&btnG =%D0%9F%D0%BE%D0%B8%D1%81%D0%BA&lr=&aq=f&oq=

For ampersands, I always have to use the ampersand command, but then make it optional: &[amp;]* I never get the links to parse unless I change all my ampersands to this.

Also, I avoid using brackets if I can. [\w]+ will match any of Google's extensions without going past the backslash /search?. Brackets have a tendency to cause a parsing error, which is what the problem with IGN definition was.

Try this instead. I presume your trying to get three groupings?

Code:

http://www\.google\.[\w]+/search\?(.+)(&[amp;]*q=)([\w&;=]*)

Vitaly 12-20-2008 01:53 PM

DJ, thanks a lot.

Your example was not exact, but very usefull. I've waisted 8 hours without it for experiments :)

&[apms;]*(q=... can skip spoilers between "&" and "q" but this one seems to works as required:

(?:&|&)(q=...

Do I understand right, that preg must match BOTH link text and address in "URL"? Is it the reason, that pattern should allow both single "&" and encoded "&" ?

I've attached "letmegooglethatforyou" macros. Enjoy! type any URL with google search results and see what happens :) . Expression can be a bit improved, will do it later.

In nearest days will see, as promissed, what can i fo with google maps.


All times are GMT. The time now is 08:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01810 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete