Author Topic: Allow to change the used port to connect to avsproxy  (Read 881 times)

hinterwaeldler

  • Newbie
  • *
  • Posts: 15
Allow to change the used port to connect to avsproxy
« on: June 01, 2012, 02:15:53 PM »
hi there,

as i don't like the behaviour, that it's only possible to start only one instance of avsproxy connection i changed the source code accordingly to allow to change the port.

until now i have not figured out how to use the translation files accordingly, so this part is still missing (QR_TR_NOOP is the part isn't it?). maybe someone could help me out.
in addition i think it would be nice, if you're able to change the used port each time you call "connect to avisynth", so i append a configuration to allow this. but the implementation part of the gui is still missing. hope i could do this the next days.
a command line parameter is already able to do this.

the appended file is the patch based on a simple git diff. hope this is the correct way to submit a patch

hope you like this too :)
excuse my bad english

hinterwaeldler

ps. the bootstrap.bash file should be change to not delete the last generated source (at least i think so) and use a parralel behaviour which depends on the users cpu:
'$(echo $(grep MHz /proc/cpuinfo | wc -l) +1 | bc)'
only a quick hack but a large speed up during compiling :)

/€ edit says 2 little bugs not seen, corrected now
« Last Edit: June 01, 2012, 05:32:50 PM by hinterwaeldler »

hinterwaeldler

  • Newbie
  • *
  • Posts: 15
Re: Allow to change the used port to connect to avsproxy
« Reply #1 on: June 21, 2012, 02:13:47 AM »
hi again,

after found some time i have modified svn version of 2.5 too.

hinterwaeldler

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9059
Re: Allow to change the used port to connect to avsproxy
« Reply #2 on: January 08, 2013, 07:31:45 PM »
I missed that post
Could you resend the patch ?

hinterwaeldler

  • Newbie
  • *
  • Posts: 15
Re: Allow to change the used port to connect to avsproxy
« Reply #3 on: January 14, 2013, 12:48:06 AM »
sry for the delay, was a bit out of time.
Patch for both version appended.

The localization part is still missing, but hope this is easy to fix, as i don't know how to do this.

The patch for version 2.6 allows to load avisynth files from command line, which was not possible before (as described http://www.avidemux.org/admWiki/doku.php?id=using:avsproxy