📄 peercast-enqueue-in-xmms.pl.svn-base
字号:
#!/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 + -