Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

audio::mpd::common::item(3pm) [debian man page]

Audio::MPD::Common::Item(3pm)				User Contributed Perl Documentation			     Audio::MPD::Common::Item(3pm)

NAME
Audio::MPD::Common::Item - a generic collection item VERSION
version 1.120881 SYNOPSIS
my $item = Audio::MPD::Common::Item->new( %params ); DESCRIPTION
Audio::MPD::Common::Item is a virtual class representing a generic item of mpd's collection. It can be either a song, a directory or a playlist. Depending on the params given to "new", it will create and return an Audio::MPD::Common::Item::Song, an Audio::MPD::Common::Item::Directory or an Audio::MPD::Common::Playlist object. Currently, the discrimination is done on the existence of the "file" key of %params. METHODS
my $item = Audio::MPD::Common::Item->new( %params ); Create and return either an Audio::MPD::Common::Item::Song, an Audio::MPD::Common::Item::Directory or an Audio::MPD::Common::Playlist object, depending on the existence of a key "file", "directory" or "playlist" (respectively). AUTHOR
Jerome Quelin COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Jerome Quelin. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-04-01 Audio::MPD::Common::Item(3pm)

Check Out this Related Man Page

Audio::MPD::Common(3pm) 				User Contributed Perl Documentation				   Audio::MPD::Common(3pm)

NAME
Audio::MPD::Common - common helper classes for mpd VERSION
version 1.120881 DESCRIPTION
Depending on whether you're using a POE-aware environment or not, people wanting to tinker with mpd (Music Player Daemon) will use either POE::Component::Client::MPD or Audio::MPD. But even if the run-cores of those two modules differ completely, they are using the exact same common classes to represent the various mpd states and information. Therefore, those common classes have been outsourced to Audio::MPD::Common. This module does not export any methods, but the dist provides the following classes that you can query with perldoc: o Audio::MPD::Common::Item o Audio::MPD::Common::Item::Directory o Audio::MPD::Common::Item::Playlist o Audio::MPD::Common::Item::Song o Audio::MPD::Common::Stats o Audio::MPD::Common::Status o Audio::MPD::Common::Time o Audio::MPD::Common::Types Note that those modules should not be of any use outside the two mpd modules afore-mentioned. SEE ALSO
You can look for information on this module at: o Search CPAN http://search.cpan.org/dist/Audio-MPD-Common <http://search.cpan.org/dist/Audio-MPD-Common> o See open / report bugs http://rt.cpan.org/NoAuth/Bugs.html?Dist=Audio-MPD-Common <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Audio-MPD-Common> o Git repository http://github.com/jquelin/audio-mpd-common.git <http://github.com/jquelin/audio-mpd-common.git> o AnnoCPAN: Annotated CPAN documentation http://annocpan.org/dist/Audio-MPD-Common <http://annocpan.org/dist/Audio-MPD-Common> o CPAN Ratings http://cpanratings.perl.org/d/Audio-MPD-Common <http://cpanratings.perl.org/d/Audio-MPD-Common> You may want to look at the modules really accessing MPD: o Audio::MPD o POE::Component::Client::MPD AUTHOR
Jerome Quelin COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Jerome Quelin. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-04-01 Audio::MPD::Common(3pm)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Trouble with UNIX tr (translate) function

UNIX script - problem. I want the spaces in my Item variable to be replaced with a question mark. Can you tell me what I am doing wrong? This is the whole code line. Item | tr -s " " "?" Why is this not making any changes to the Item value? Thanks for any help you can give! tg (2 Replies)
Discussion started by: by_tg
2 Replies

2. Shell Programming and Scripting

Pivoting Dynamic rows into columns

Original file we are getting ....... Item Period Amt P1 106 1000 P1 206 1500 P1 106 2000 P2 256 5800 P2 650 7500 My output should be like this Item 106 206 256 650 ............ P1 1000 1500 0 ... (1 Reply)
Discussion started by: dprakash
1 Replies

3. UNIX and Linux Applications

Tip: get MPD to remember the last played song for all playlists

Hi to all MPD users or those who are willing to use it! If you don't already know what is MPD, it is the Music Player Daemon, which is very easy to use and has tons of good clients to manage it. It loads all your music collection database instantly (mine is about 50GB!) into the memory, is... (3 Replies)
Discussion started by: teresaejunior
3 Replies

4. Shell Programming and Scripting

Need help with generating m3u files in numbered directories

Hello: First, I have no idea what to search for on this task, so I'll just spell it out. I have the Bible in Audio format and each book is in a directory of it's own. 01 to 66 accordingly. I need a script to walk through each of them and ls *.mp3 > directory|book.m3u without the preceding... (2 Replies)
Discussion started by: Habitual
2 Replies

5. Shell Programming and Scripting

nested grouping in Python

HI All Is there a way of nested grouping in python I wish to format a file as given below Input File: Item: 1 sub1 A,10,x,5 B,345,v,7 C,67,u,9 sub2 A,09,9,.09 B,65,3..34 C,8,8,1 Item: 2 sub1 A,10,x,5 B,345,v,7 (6 Replies)
Discussion started by: Abid
6 Replies

6. UNIX for Dummies Questions & Answers

Script Question (find, rsync)

Hello all, I'm using rsync to maintain two copies of a music library on my main workstation and a server running MPD. I'm wondering about using the script below as a basis for cron to update my MPD db if new files have been added or existing files modified: find -type f -iname 'FILENAME' -mmin... (9 Replies)
Discussion started by: pmicka
9 Replies

7. Shell Programming and Scripting

Help with Playlist creation script

Hello. I am hoping to have an automated way to create Playlist files from Genre txt files I'll be making with my music collection. This is for use with my WD Live player, and is so that certain albums / artists can live in multiple genre directories when I browse to them from my WD Live player. ... (4 Replies)
Discussion started by: Davinator
4 Replies

8. Shell Programming and Scripting

Check whether a Directory is empty or not

1.pls tell me the command for checking whether a given directory is empty or not . 2. can i check what is the last copied item in a directory . and i yes , i want to move that last copied item in another directory . pls help me with shell code for these two tasks thanks (1 Reply)
Discussion started by: upvan111
1 Replies

9. UNIX for Dummies Questions & Answers

Script to Count the Numeric Values and get the Total

Can anyone help me in this? Here is the Secenario. I need to count the Numerical vaues from the below output Item processed: 1401 Item processed: 2839 Item processed: 1261 Item processed: 2584 Item processed: 2 Item processed: 988 Item processed: 1 Item processed: 2119 ... (3 Replies)
Discussion started by: Padmanabhan
3 Replies

10. OS X (Apple)

I don't know how to put this, an Apple Audio HW bug?

Hi guys and gals... Apologies for any typos... Well I have a major problem and I don't know how to take it further so I need your advice AND help... Found from the AudioScope.sh calibration method(s)... I think I have found a HW bug in Apple gear... This has been checked so far on a... (7 Replies)
Discussion started by: wisecracker
7 Replies

11. What is on Your Mind?

Programming With The lowest Common Denominator

Read the rest of this article here --> Computer Things (Programming With The Lowest Common Denominator) I found this interesting, what do you think? Do you agree, disagree, don't care, etc :-) (1 Reply)
Discussion started by: ni2
1 Replies

12. OS X (Apple)

An Audio Function Generator...

Ok guys, gals and geeks... As from today I am starting to learn awk in earnest doing something totally different. I am going to create a pseudo-Audio_Function Generator centred around OSX 10.11.x minimum. The code below is a tester to see what the possibilities are. All waveforms will be... (11 Replies)
Discussion started by: wisecracker
11 Replies

13. What is on Your Mind?

GIF Anim of my AMIGA real Oscilloscope.

Firstly I don't know where to put this so if it is the wrong forum then chastise me... ;oD I built the hardware and wrote the software for an Audio Oscilloscope DC-100KHz in 2001 for the A1200(HD) via the AMIGA parallel port. It clocks the port at 200KHz, although 250KHz was easy enough via a... (4 Replies)
Discussion started by: wisecracker
4 Replies

14. Programming

My first PERL incarnation... Audio Oscillograph

Hi all... Well guys and gals, I jumped in at the deep end and found things that PERL cannot do by default. Many tricky terminal escape codes are not catered for so I had to create workarounds. One thing I searched for was this: Passing perl variable to shell command AND, @Neo this was... (15 Replies)
Discussion started by: wisecracker
15 Replies