Yes! Thank you KDF. Netcat was exactly what I was looking for!
Is there a handy internet acronym for "thank you for figuring out what
I was trying to ask, even though I was too dense to have really thought
the question through..." ?
Anyway, this is now working perfectly for me for triggering
Hey netcat is great. Also for doing remote batching via the cli. I am
just thinking about it. I like cli Interfaces much more than guis and
if one polishes the cli a bit one can do all sorts of things with it.
Thanks kdf.
--
jaysung
--
my apologies. I'd still suggest a remote trigger, rather than relying
on html commands.
Of course, as I mentioned first, all you need to do is send 'rescan'
through port 9090. You have a much better chance at have that last
longer than a url. I'm sure you'll find many options (like netcat)
th
Hi,
Kdf, don't you realise? It is remote! You can't use any scanner.exe on
the windows system since it is not there! One could actually run a
shell script on the linux machine:
#!/bin/bash
mainloop {
MUSICDIR=$1
SIZEOFMUSICDIR=`du -b`
while $SIZEOFMUSICDIR -eq `du -b $1`; do
sleep 300;
done
# Now
Using scanner.exe/scanner.pl with command line args as your shortcut
would avoid any problems due to changes in the url.
-kdf
--
kdf
kdf's Profile: http://forums.slimdevices.com/member.php?userid=7
View this thread: http:/
OK, this seems to correctly trigger a new-music rescan on a remote
slimserver:
Code:
wget -q -O - http://your_ss_ip:9000/Classic/settings/server/basic.html
--post-data="language=EN&audiodir=/your_music_path&playlistdir=/your_playlists_path&rescantype=1rescan&rescan=R
kdf;228384 Wrote:
> why not simply call the scanner directly in a shortcut:
>
> "c:\program files\slimserver\server\scanner.exe" -- rescan c:\path\to
>
> \music
>
> -kdf
Because the server is a remote, linux machine.
--
gharris999
--
Actually, I think it might be:
Code:
wget http://slim_minuet:9000/Classic/settings/server/basic.html
--post-data="rescantype=1rescan&rescan=Rescan"
I'll have to wait awhile, before trying this, though, since the wipe
rescan currently running takes
On 19-Sep-07, at 10:24 PM, gharris999 wrote:
>
> Actually, now that I think about it, I think my question is a little
> more involved.
>
> Goal: create a windows short-cut (or batch file) that when
> double-clicked, causes slimserver to do a new music scan.
why not simply call the scanner direct
Actually, now that I think about it, I think my question is a little
more involved.
Goal: create a windows short-cut (or batch file) that when
double-clicked, causes slimserver to do a new music scan.
Why: I use scripts to mass prepare newly ripped music on my ripping
machine (reflac, embed cues
'rescan' causes SlimServer to rescan the entire music library
'rescan causes SlimServer to rescan only the playlist folder
'wipecache' causes SlimServer rescan its music library, reloading the
music file information. This differs from the "rescan" command in
that it first clears the tag databas
Is there a way to do a "Look for new and changed music" rescan via the
CLI? Didn't find anything the the CLI doc or in a forum search.
Thanks.
--
gharris999
gharris999's Profile: http://forums.slimdevices.com/member.php?
12 matches
Mail list logo