?? peercast-enqueue-in-xmms.pl
字號:
#!/usr/bin/perl# Peercact URL handler for xmms.# By Romain Beauxis <toots@rastageeks.org># Usage: peercast-enqueue-in-xmms.pl <peercast://foo># This script search for a string in the following mask: peercast://pls/HASHNUMBER# And then call xmms to enqueue the URL: http://127.0.0.1:7144/stream/HASHNUMBER# WARNING: this does not handle any parametrs like ?foo after the HASH, # But xmms seems to accept it.my $args = shift;$args =~ /peercast:\/\/pls\/(\w*)/;my $regex = $1;exec("xmms --enqueue \"http://127.0.0.1:7144/stream/$regex\"")
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -