perl-Media-LibMTP-API - Low-level interface to libmtp

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Media-LibMTP-API-0.04-alt4.1.i586.rpm
Package name perl-Media-LibMTP-API
Package version 0.04
Package release alt4.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 356.07 KB
Installed size 356.07 KB
Media::LibMTP::API provides a low-level interface to
libmtp (, which is an Initiator
implementation of the Media Transfer Protocol (MTP) in the form of a
library suitable primarily for POSIX compliant operating systems.
libmtp is not included with Media::LibMTP::API; you must install it
=for use-when-Media-LibMTP-released
You probably want to use the Media::LibMTP manpage instead.  It wraps this
module in a higher-level, more Perl-like interface.
Media::LibMTP::API follows the libmtp API closely, even when that's
not very Perlish.
Media::LibMTP::API is a thin wrapper around libmtp.  It follows the
libmtp API closely, even when that's not very Perlish.  For example,
many functions return 0 on success.  Media::LibMTP will be a
higher-level, more Perl-like interface built on top of
Media::LibMTP::API, but it's not yet ready for release.  You can
follow or help with Media::LibMTP's development at
This module is not well documented.  Consult the libmtp documentation
(which can be generated by Doxygen, and should have been installed
along with libmtp).  All functions that take a pointer to a libmtp
struct as their first parameter are implemented as a method on the
corresponding Perl object.  Not all functions are currently implemented;
consult the source for details.
Many libmtp functions return a linked list of structures.  In
Media::LibMTP::API, you get the next struct by calling an accessor
method.  You must preserve the reference to the first struct returned
by libmtp until you are done with all the structures in the list,
because when that reference is dropped, the entire list will be
deleted.  This is the purpose of the AlbumList, FileList, FolderList,
MTPDeviceList, PlaylistList, and TrackList subclasses: they have a
destructor that cleans up the list.  For example, the
`Get_Album_List' method returns an AlbumList object (a subclass of
Album), but `$album->next' returns an Album object.


Package Version Architecture Repository
perl-Media-LibMTP-API-0.04-alt4.1.x86_64.rpm 0.04 x86_64 Autoimports
perl-Media-LibMTP-API - - -


Name Value
/usr/lib/perl5 - - - - - - -
perl( -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -


Name Value
perl(Media/LibMTP/ = 0.040
perl(Media/LibMTP/API/ -
perl(Media/LibMTP/API/ = 0.040
perl-Media-LibMTP-API = 0.04-alt4.1


Type URL
Binary Package perl-Media-LibMTP-API-0.04-alt4.1.i586.rpm
Source Package perl-Media-LibMTP-API-0.04-alt4.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] i586 autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Media-LibMTP-API rpm package:
    # sudo apt-get install perl-Media-LibMTP-API



See Also

Package Description
perl-MediaWiki-DumpFile-0.2.2-alt3.1.i586.rpm Process various dump files from a MediaWiki instance
perl-Memcached-libmemcached-1.001801-alt3.1.i586.rpm Thin fast full interface to the libmemcached client API
perl-Memoize-Once-0.002-alt2.1.i586.rpm memoise expression on first execution
perl-Memphis-0.01-alt1.i586.rpm Cairo based OSM renderer, it draws OpenStreet Maps
perl-MersenneTwister-1.0.1-alt4.1.i586.rpm perl module MersenneTwister
perl-Method-Lexical-0.30-alt6.i586.rpm private methods and lexical method overrides
perl-MicroECC-0.04-alt1.1.i586.rpm Perl extension for the micro-ecc library
perl-Mknod-0.02-alt4.1.i586.rpm perl module Mknod
perl-MobaSiF-Template-0.02-alt1.i586.rpm Very fast Template module written by XS
perl-Modem-VBox-0.051-alt4.1.i586.rpm Perl module for creation of voiceboxes
perl-Module-Build-FFI-0.52-alt1.i586.rpm Build Perl extensions in C with FFI
perl-Mojo-Base-XS-0.07-alt4.1.i586.rpm very fast Mojo-styled accessors
perl-MsgPack-Raw-0.05-alt1.i586.rpm Perl bindings to the msgpack C library
perl-Msgcat-1.03-alt3_20.i586.rpm Msgcat, a small Perl module for XPG4 message catalog functions
perl-MusicBrainz-DiscID-0.06-alt1.i586.rpm Perl interface for the MusicBrainz libdiscid library