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::Stats(3pm) User Contributed Perl Documentation Audio::MPD::Common::Stats(3pm)NAME
Audio::MPD::Common::Stats - class representing MPD stats
VERSION
version 1.120881
DESCRIPTION
The MPD server maintains some general information. Those information can be queried with the mpd modules. Some of those information are
served to you as an Audio::MPD::Common::Stats object.
An Audio::MPD::Common::Stats object does not update itself regularly, and thus should be used immediately.
Note: one should never ever instantiate an Audio::MPD::Common::Stats object directly - use the mpd modules instead.
ATTRIBUTES
$stats->artists;
Number of artists in the music database.
$stats->albums;
Number of albums in the music database.
$stats->songs;
Number of songs in the music database.
$stats->uptime;
Daemon uptime (time since last startup) in seconds.
$stats->playtime;
Time length of music played.
$stats->db_playtime;
Sum of all song times in the music database.
$stats->db_update;
Last database update in UNIX time.
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::Stats(3pm)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)