Replacement / Equivalent of twonkymedia command for v7.x
-
- Posts:14
- Joined:Thu Dec 31, 2009 4:31 am
- AV Hardware:PlayOnHD
Hello,
What is the equivalent command replacement of twonkymedia command for Twonky 7.x please?
I would like to do some changes in twonkyserver-default.ini parameters entries by using the command line.
This below is for Twonky server before v7.x version:
/mnt/array1/share/twonky/twonkymedia -enableweb 2 -httpremoteport 9100 -dyndns http://yourwanipaddress:9100 &
Thanks for any advice.
Best Regards, Arc.
What is the equivalent command replacement of twonkymedia command for Twonky 7.x please?
I would like to do some changes in twonkyserver-default.ini parameters entries by using the command line.
This below is for Twonky server before v7.x version:
/mnt/array1/share/twonky/twonkymedia -enableweb 2 -httpremoteport 9100 -dyndns http://yourwanipaddress:9100 &
Thanks for any advice.
Best Regards, Arc.
-
- Posts:9
- Joined:Thu Jun 21, 2012 1:09 am
- AV Hardware:Buffalo LS-XL
Re: Replacement / Equivalent of twonkymedia command for v7.x
I don't know whether this will help you:
# ./twonkyserver -?
Twonky Version 7.0.9
usage: ./twonkyserver
all params from the .ini file can be used as an option, preceded by a -
e.g. ./twonkyserver -v 255
-inifile path and filename of ini file
-inipath path to ini file
-ininame filename of ini file
For image conversion and scaling the TwonkyServer utilizes ImageMagick. For details on the license please see ./cgi-bin/convert-readme.txt
^C
So look in twonky/twonkydb/twonkyserver.ini or whatever the equivalent is on your system.
# ./twonkyserver -?
Twonky Version 7.0.9
usage: ./twonkyserver
all params from the .ini file can be used as an option, preceded by a -
e.g. ./twonkyserver -v 255
-inifile path and filename of ini file
-inipath path to ini file
-ininame filename of ini file
For image conversion and scaling the TwonkyServer utilizes ImageMagick. For details on the license please see ./cgi-bin/convert-readme.txt
^C
So look in twonky/twonkydb/twonkyserver.ini or whatever the equivalent is on your system.
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Re: Replacement / Equivalent of twonkymedia command for v7.x
Prior to 6.x
twonkymediaserverwatchdog launched twonkymediaserver
Prior to 7.x
twonkymedia launches twonkymediaserver
in 7.x twonkymediaserverwatchdog or twonkymedia is now twonkystarter
all the rules of how to apply switches still work
twonkystarter launches twonkyserver
just about all of the settings in the twonkyserver.ini can be used as startup switches
For example, this would start it with port 9000
which would overide what was in the twonkyserver.ini
./twonkystarter -httpport 9000
Note:
Remote access in 7.x does not work as far as I have tried
But it is possible to make it work they way it should
I put up a post on how to do that if your interested
Custom Web Interface Relative Links
http://www.twonkyforum.com/viewtopic.ph ... 627#p40577
twonkymediaserverwatchdog launched twonkymediaserver
Prior to 7.x
twonkymedia launches twonkymediaserver
in 7.x twonkymediaserverwatchdog or twonkymedia is now twonkystarter
all the rules of how to apply switches still work
twonkystarter launches twonkyserver
just about all of the settings in the twonkyserver.ini can be used as startup switches
For example, this would start it with port 9000
which would overide what was in the twonkyserver.ini
./twonkystarter -httpport 9000
Note:
Remote access in 7.x does not work as far as I have tried
But it is possible to make it work they way it should
I put up a post on how to do that if your interested
Custom Web Interface Relative Links
http://www.twonkyforum.com/viewtopic.ph ... 627#p40577
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
-
- Posts:14
- Joined:Thu Dec 31, 2009 4:31 am
- AV Hardware:PlayOnHD
Re: Replacement / Equivalent of twonkymedia command for v7.x
Thanks Colin and Phibertron... I will have a look at the advices and try to apply.
I've never thought that the twonkyserver-default.ini is not the ini file anymore to modify.
Thanks again.
I've never thought that the twonkyserver-default.ini is not the ini file anymore to modify.
Thanks again.
-
- Posts:14
- Joined:Thu Dec 31, 2009 4:31 am
- AV Hardware:PlayOnHD
Re: Replacement / Equivalent of twonkymedia command for v7.x
Problem... I tried as advised. And I got this error:
sh: twonkystarter: command not found
I ran it from inside twonky folder after cd /mnt/HD/HD_a2/ffp/opt/twonky
My NAS is Dlink DNS-320 model.
May i ask what's the problem, please?
Thanks again.
BR, Arc.
sh: twonkystarter: command not found
I ran it from inside twonky folder after cd /mnt/HD/HD_a2/ffp/opt/twonky
My NAS is Dlink DNS-320 model.
May i ask what's the problem, please?
Thanks again.
BR, Arc.
-
- Posts:9
- Joined:Thu Jun 21, 2012 1:09 am
- AV Hardware:Buffalo LS-XL
Re: Replacement / Equivalent of twonkymedia command for v7.x
It looks like your twonky folder is not in your PATH. This is normal. You need to put the "./" at the beginning.
Try:
cd /mnt/HD/HD_a2/ffp/opt/twonky
./twonkystarter -enableweb 2 -httpremoteport 9100
or
/mnt/HD/HD_a2/ffp/opt/twonky/twonkystarter -enableweb 2 -httpremoteport 9100
Try:
cd /mnt/HD/HD_a2/ffp/opt/twonky
./twonkystarter -enableweb 2 -httpremoteport 9100
or
/mnt/HD/HD_a2/ffp/opt/twonky/twonkystarter -enableweb 2 -httpremoteport 9100
-
- Posts:9
- Joined:Thu Jun 21, 2012 1:09 am
- AV Hardware:Buffalo LS-XL
Re: Replacement / Equivalent of twonkymedia command for v7.x
twonkyserver-default.ini is used to create twonkyserver.ini if it doesn't exist (usually the first time twonky is started). After that it isn't looked at again.archie1810 wrote:I've never thought that the twonkyserver-default.ini is not the ini file anymore to modify.
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Re: Replacement / Equivalent of twonkymedia command for v7.x
I would add, that it is also used if one does a twonky reset, same result as aboveColinTaylor wrote: twonkyserver-default.ini is used to create twonkyserver.ini if it doesn't exist (usually the first time twonky is started).
After that it isn't looked at again.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
-
- Posts:14
- Joined:Thu Dec 31, 2009 4:31 am
- AV Hardware:PlayOnHD
Re: Replacement / Equivalent of twonkymedia command for v7.x
Nope - still failed
Here is what I have...
sh-4.1# ./twonkystarter -remotehttpport 9003
Twonky Version 7.0.9
22:39:31:847 [Startup] - LOG_SYSTEM: upnp_ini_file_init_DATA_Dir : AppData
e accessed or not writable.
22:39:31:847 [Startup] - LOG_SYSTEM: Error: 2 No such file or directory
--- keep repeating the above again and again --- so I stop the telnet session.
I think I will drop the 7.0.9 - and change to 6.0.34 and will test again.
Thanks.
Here is what I have...
sh-4.1# ./twonkystarter -remotehttpport 9003
Twonky Version 7.0.9
22:39:31:847 [Startup] - LOG_SYSTEM: upnp_ini_file_init_DATA_Dir : AppData
e accessed or not writable.
22:39:31:847 [Startup] - LOG_SYSTEM: Error: 2 No such file or directory
--- keep repeating the above again and again --- so I stop the telnet session.
I think I will drop the 7.0.9 - and change to 6.0.34 and will test again.
Thanks.
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Re: Replacement / Equivalent of twonkymedia command for v7.x
1.
Does /var/twonky exist, it looks like it doesnt?
the correct swtich to use is httpremoteport
but there is not point, as remote access doesnt work as expected in 6.x or 7.x
If you want to have remote access work as intended, without having to use any ini changes
have a look at this post, Custom Web Interface Relative Links
http://www.twonkyforum.com/viewtopic.ph ... 627#p40577
3.
use the twonkyserver.ini as a reference as to what switches would be valid to use to start the server
Does /var/twonky exist, it looks like it doesnt?
2.LOG_SYSTEM: upnp_ini_file_init_DATA_Dir : AppData e accessed or not writable.
the correct swtich to use is httpremoteport
but there is not point, as remote access doesnt work as expected in 6.x or 7.x
If you want to have remote access work as intended, without having to use any ini changes
have a look at this post, Custom Web Interface Relative Links
http://www.twonkyforum.com/viewtopic.ph ... 627#p40577
3.
use the twonkyserver.ini as a reference as to what switches would be valid to use to start the server
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497