gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get complete, recursive file list?


From: Mariano Draghi
Subject: Re: Get complete, recursive file list?
Date: Tue, 3 Jun 2008 15:58:00 -0300

Hi Powel,

On Tue, Jun 3, 2008 at 3:36 PM, Pawel Kot <address@hidden> wrote:
>
> Hi,
>
> On Tue, Jun 3, 2008 at 7:13 PM, Mariano Draghi <address@hidden> wrote:
> > Is it possible to get the full, complete list of files of the memory
> > card and/or external memory of the phone?
>
> No, gnokii doesn't allow this at the moment.
>
> > Can someone give me a better idea? Is there any undocumented flag /
> > swtich to get what I whant?
>
> What is your phone? Perhaps it supports Obex protocol?

It's a Nokia 6131, and yes, I suppose it supports Obex protocol.
But I thought that Obex protocol was something related (exclusively)
with Bluetooth filetransfers...

Anyway, ¿would it be possible to read the filesystem using Obex, while
the phone is connected with the USB cable in "standard" (*no*
data-transfer) mode?

I'll try to explain in more detail what I am trying to do: I want to
create playlists on the phone. Unfortunately, you can't create
playlists directly with the phone, and Nokia doesn't provide software
to do that under Linux. You need the Nokia Audio Manager component of
Nokia PC Suite.

The playlists are regular "m3u" playlists, *but* they must be stored
in the internal memory, in
  A:\predefgallery\predefplaylist

The media player only search that specific location.

I already have writen a helper script in python that uses gnokii to
create a playlist with the audio files contained in a specific
directory in the MiscroSD card on the phone  (see
http://chaghi.com.ar/archivos/nokia_m3u.py)

In a nutshell, with that script I can do something like:

$ nokia_m3u.py  E:/Jukebox/Some_artist/Some_album > some_album.m3u

and then

$ gnokii --putfile some_album.m3u A:/predefgallery/predefplaylist/some_album.m3u

But now I want to write a real "playlist manager", with a proper GUI,
that get all the audio files in the memory card, all the playlists,
put them in a couple of pannels, and let me edit / add / delete
playlists and theirs content, drag audio files to a playlist, etc.

So I need to access both the microSD card, using the drive letter /
path convention that uses the phone (i.e., not the /media/disk/foo/bar
that I might get if I connect the phone in data-transfer mode), and
also the internal memory (A:). It would be nice to do that without
asking the user to switch modes, or protocols, or whatever...

Sorry for the long post, bat maybe with all that background someone
can offer a better idea...

Thank you very much!


--
Mariano / el cHagHi [ http://chaghi.com.ar/blog ]
PyAr - Python Argentina [http://python.org/ar ]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]