gerardfp / labelfs

Automatically exported from code.google.com/p/labelfs
0 stars 0 forks source link

Cannot play MP3's. #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some weird problem in the 'read' code?

What steps will reproduce the problem?
1. ln -s ~/Music ~/labels
2. use a file browser 
3. browse to ~/labels/mytune.mp3, to click on it

What is the expected output? What do you see instead?
I expect it to begin playing the music, as it does when I click on the same 
file in ~/Music/mytune.mp3

Movie player says: cannot read from resource.

What version of the product are you using? On what operating system?
ubuntu 11.04. 

Please provide any additional information below.

Original issue reported on code.google.com by informa...@gmail.com on 22 Aug 2011 at 3:27

GoogleCodeExporter commented 9 years ago
Thanks for the bug report!
I'm glad someone has tested this project.

The problem was that now python-fuse requires the dedicated file class to be 
specified: self.file_class=self.myfileclass

I paused the development of the program, but you bug report motivates me again. 
Thanks!

Original comment by gerar...@gmail.com on 15 Oct 2011 at 2:37

GoogleCodeExporter commented 9 years ago
glad to encourage you.  The more code is made, the richer we all are!

fwiw, posting zip files sucks.  If someone else wants to contribute a
patch, we have to send you a .cdiff or a new tar. blech.  Version
control is a very useful thing that is worth your time learning about.
 If you want people interested, it's a lot better to post the code
properly in a version control system.  The "normal" thing for me to do
would be to use git or hg to pull down your fix.  but that doesn't
work, as you didn't put any code under version control.  It also uses
less space, because only the diff  is stored, rather than multiple
mostly redundant zip files.

Original comment by informa...@gmail.com on 16 Oct 2011 at 1:02

GoogleCodeExporter commented 9 years ago
Thanks for your advice. Now I use git.

I'm going to work on a web-gui to use labelfs. My idea is to make the action of 
tagging like using an old dymo labeler.

Original comment by gerar...@gmail.com on 30 Oct 2011 at 7:00

GoogleCodeExporter commented 9 years ago
there is a posix API that is standard for this.  use setxattr, apply
the extended attributes directly to the files.
just use the data base/shelf to accelerate retrieval.  If it ever gets
corrupted, an fsck-like walk can re-build the index.  The use of the
standard mechanism gives you a command line interface, without the
need for an API at all.  makes it much more usable by application
software.

all documentation is gone now?  cannot find user guide any more.

Original comment by informa...@gmail.com on 1 Nov 2011 at 12:30

GoogleCodeExporter commented 9 years ago
I looked for xattr, but I rejected it because it does not come by default in 
the usual distros. It's a thing to do, if xattr are available it should be used.

What do you think of the prototype of the API? (it's my first Gtk App)

And again, many thanks for your comments

Original comment by gerar...@gmail.com on 4 Nov 2011 at 6:01

GoogleCodeExporter commented 9 years ago
what do you mean it doesn't come by default.
It's on everything I've looked at?

Original comment by informa...@gmail.com on 4 Nov 2011 at 7:07

GoogleCodeExporter commented 9 years ago
Aggh! I was wrong (what I looked for was viewing xattrs in nautilus). I'll try 
to implent your suggestion. But before, I want to make sure that an application 
to organize files with labels can be useful. I like the google docs approach.

Original comment by gerar...@gmail.com on 4 Nov 2011 at 11:09

GoogleCodeExporter commented 9 years ago
yes, none of the GUI tools support it, it has only been a few years
since all the shipping file systems supported it.  the bug for xattr
support in nautilis dates from 2002.

https://bugzilla.gnome.org/show_bug.cgi?id=68353

Original comment by informa...@gmail.com on 4 Nov 2011 at 11:42