Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'playing'

1661839 - rdtnudrytm: cards playing
  1. http://huugz.sqweebs.com/ - fytjrftikrf
  2. http://huugz.sqweebs.com/sitemap.html - ftgurfdtu
900104 - inkydropz: mpd now playing
  1. #!/usr/bin/perl
  2. use IO::Socket::INET;
  3. my $host = shift || "127.0.0.1"; # change if you don't have localhost/other host default
  4. my $port = shift || 6600;
  5. my $sock = IO::Socket::INET->new(PeerHost => $host, PeerPort => $port, Timeout => 3)
  6.         or die("mpd is not running/failed to connect to $host:$port ($!)\n");
  7. if (!$sock) { return weechat::PLUGIN_RC_OK; }
  8. print $sock "currentsong\n";
  9.  
worth-right
fantasy-obligation