Webpage with the "rescan" button only?

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
BillyPilli
Posts:3
Joined:Thu Aug 23, 2007 4:48 pm
Webpage with the "rescan" button only?

Post by BillyPilli » Thu Aug 23, 2007 4:58 pm

Hi guys,

what I want to have it a small weppage with the "rescan" button. I have Twonky on my ICY NAS and I run into this problem http://www.twonkyforum.com/viewtopic.ph ... ight=sleep
It was the rescan & HDD hibernate...this means...if I set it to -1 the HDD will never go into sleep mode.
So the best way in may case is the manual scan.
I thought I can do this with my PDA (MDA Vario) or my Smartphone but it's very difficult to browse on the regular configuration page (to many frames).

It would be great if someone can make this page...please help.
If it's necessary...my local IP is 192.168.1.131:9000

thanks a lot!

User avatar
mgillespie
Posts:1222
Joined:Fri Jul 08, 2005 1:19 pm
AV Hardware:TwonkyMedia AV UPnP Mediaserver (Marvell Kirkwood ARM Sheevaplug with Debian Squeeze).
2x Noxon V2 audio client
1x PS3 Slim 500GB Audio/Video UPnP client.
1x Sony VGF-CP1 Wireless Photoframe.
Location:UK

Post by mgillespie » Thu Aug 23, 2007 6:35 pm

Please note: Moderators here are voluntary and do not work for PacketVideo or Twonky, please do not attack us. Any posts are personal opinion, and may not be those of PV/Twonky.

BillyPilli
Posts:3
Joined:Thu Aug 23, 2007 4:48 pm

Post by BillyPilli » Thu Aug 23, 2007 8:17 pm

mgillespie,

this is exactly what I'm looked for...
With this link I don't have to make a small webpage. I made a bookmark on the Today-screen of my MDA and now I can make a database refresh with one click.

Thanks dude!

BTW...is there a overview with some other interesting parameters?

User avatar
mgillespie
Posts:1222
Joined:Fri Jul 08, 2005 1:19 pm
AV Hardware:TwonkyMedia AV UPnP Mediaserver (Marvell Kirkwood ARM Sheevaplug with Debian Squeeze).
2x Noxon V2 audio client
1x PS3 Slim 500GB Audio/Video UPnP client.
1x Sony VGF-CP1 Wireless Photoframe.
Location:UK

Post by mgillespie » Thu Aug 23, 2007 9:11 pm

Commands:

/rpc/rebuild
/rpc/resetclients
/rpc/reset
/rpc/restart

Info:

/rpc/version
/rpc/info_status
/rpc/info_clients
/rpc/info_nics
/rpc/get_clients
Please note: Moderators here are voluntary and do not work for PacketVideo or Twonky, please do not attack us. Any posts are personal opinion, and may not be those of PV/Twonky.

BillyPilli
Posts:3
Joined:Thu Aug 23, 2007 4:48 pm

Post by BillyPilli » Fri Aug 24, 2007 6:30 am

Great...now I know what I have to do. I'll make a small local page for my MDA and PSP with all this commands. On this way it's much easier to control the Twonky device.

User avatar
Briain
Posts:478
Joined:Thu Jan 03, 2008 8:07 pm
AV Hardware:Linn Klimax DS
Linn Majik DS-I
Linn Sneaky DS
WDTV Live Hib
Sonos 80
Location:Edinburgh, Scotland

Re: Webpage with the "rescan" button only?

Post by Briain » Wed Mar 04, 2009 2:50 pm

Hi

Does anyone know if there's a rpc/stop command to stop the scan or even to stop the server?

Bri

TheBrad
Posts:10
Joined:Fri Jan 04, 2008 11:08 am

Re: Webpage with the "rescan" button only?

Post by TheBrad » Wed Mar 04, 2009 3:36 pm

You are not kidding, are you? Ever tried http://ip-address:9000/rpc/stop ?

watsonr93
Posts:2
Joined:Mon Mar 21, 2011 12:12 pm
AV Hardware:f secure

Re: Webpage with the "rescan" button only?

Post by watsonr93 » Mon Mar 21, 2011 12:20 pm

It a small webpage with the "rescan" button. I have Twonky on my ICY NAS .It was the rescan & HDD hibernate...this means...if I set it to -1 the HDD will seldom go in to sleep mode. I thought I can do this with my PDA (MDA Vario) or my Smartphone but it is hard to browse on the regular configuration page .

User avatar
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: Webpage with the "rescan" button only?

Post by phibertron » Mon Mar 21, 2011 5:17 pm

watsonr93 wrote:It a small webpage with the "rescan" button. I have Twonky on my ICY NAS .It was the rescan & HDD hibernate...this means...if I set it to -1 the HDD will seldom go in to sleep mode. I thought I can do this with my PDA (MDA Vario) or my Smartphone but it is hard to browse on the regular configuration page .
Not sure what your asking here

Are you asking for a webpage that only has one thing, a button to rescan ?
You could accomplish this with the following

http ://<server_ip_address>:9000/rpc/rescan

You could attmempt to do the following idea
set scantime=0
create a scheduled task or write a script
to periodically run the command http ://<server_ip_address>:9000/rpc/rescan
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

User avatar
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: Webpage with the "rescan" button only?

Post by phibertron » Mon Mar 21, 2011 5:43 pm

If you wanted to create a list of web shortcuts for twonky management

There is a good list of rpc commands here

http://twonkyforum.com/viewtopic.php?f=2&t=9364

Note:
Earlier in this thread the use of http ://<server_ip_address>:9000/rpc/stop
was mentioned
I would be carefull with that one, as once it is stopped
You cannot start it via the twonky rpc commands, as it is really stopped
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

Locked