The time now is Thu 23 May 2013, 01:52
All times are UTC - 4 |
| Author |
Message |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Mon 01 Jun 2009, 11:17 Post subject:
request from Flash - organize audio books |
|
from:
http://www.murga-linux.com/puppy/viewtopic.php?t=42979&start=15
Hey, Mark, since you're writing a filemanager anyway, could you include the ability to display a truncated tree view?
| Quote: | | I have a lot of mp3 audio books, and there is no good way to display them in any file manager. I'd like a tree view which shows all the authors, and beneath each author the folders containing the books that author wrote, but without showing the actual mp3 files in the tree view. There is a program called "tree" which can do what I want, but changing its font so that it is readable for me is difficult. I just thought that it might be a useful thing to include in a file manager the ability to show a truncated tree view. |
Hi Flash,
ok, this will need some messages, so I start a new thread for it.
I could write a utility like the picturebrowser:
http://www.murga-linux.com/puppy/viewtopic.php?t=41919
Got a call, will be back later...
_________________ my recommended links
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 02 Jun 2009, 17:05 Post subject:
|
|
Flash,
I'm a step further.
Please have a look at this program (you can use it without Puppybrowser)
http://www.murga-linux.com/puppy/viewtopic.php?p=311757#311757
EmbeddedBookmarks shows categories in a tree.
So you could add things like:
- author A
-- book a
-- book b
- author B
-- book a
-- book b
-- book c
Then when you click on a book, Rox-filer would be opened with the corresponding folder.
The tree in this case is not created dynamically from a folderstructure, but it is created from a configfile.
But this file is so simple, that it could be generated by a script, that scans your mp3 folder.
Let me know, if this would be ok for you, then I would write such a script.
It would be interesting to know, how your mp3 folder look like.
Please run this command:
cd /to-your-mp3folder
find . * > /root/MU.txt
gzip /root/MU.txt
Then send me /root/MU.txt.gz attached to a personal message.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9847 Location: Arizona USA
|
Posted: Wed 03 Jun 2009, 18:35 Post subject:
|
|
OK, I'll try to get that done sometime this evening and report the results. (It's on a different computer from the one I use online.) Thanks!
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 04 Jun 2009, 02:10 Post subject:
|
|
ok, received your folder.
Please install EmbeddedBookmarks 0.3.
http://www.murga-linux.com/puppy/viewtopic.php?p=303882#303882
Then edit:
/usr/local/EmbeddedBookmarks/audiobook-example/generate-config
You must set here the path of the folder, that contains your books:
| Code: | | audiofolder=/usr/local/EmbeddedBookmarks/audiobook-example/examplefolder/audiobooks |
Then run "audiobooks" from the "multimedia" menu in Puppy.
If you do not change the path, an example folder is used (it contains no mp3s, it just demonstrates how the folders are converted).
Then you should see a result as on the attached screenshot.
The "audiobooks" are started from a script:
/usr/local/EmbeddedBookmarks/audiobook
It looks like this:
| Code: | #!/bin/bash
cd /usr/local/EmbeddedBookmarks
mkdir $HOME/.EmbeddedBookmarks 2>/dev/null
/usr/local/EmbeddedBookmarks/audiobook-example/generate-config
./EmbeddedBookmarks audiobooks.txt Books
|
So it first runs the "generate-config", the script, that converts folders to a configfile for the Tree.
Then it launches the tree. The options mean: the tree will use "audiobooks.txt" as configfile, and the default word "category" in the view is replaced with "Books".
| Quote: | | If a truncated (leaving out the files) tree view were available in a file manager that allowed me to drag folders from the tree view folder to my mp3 player ... well, that's too much to ask for. |
The tree has no drag'n''drop yet, maybe I can add it next week, when I will be offline to visit my mother in northern germany
You also requested:
| Quote: | Author 1
Title 1
Title 2
Perhaps the Title 2 folder contains some folders
etc. ...
Author 2
Title 1
Title 2
etc. ... |
"Perhaps the Title 2 folder contains some folders"
This is not possible with the current concept.
This would require a tree, that "really" browses folders like the Picturebrowser.
It will take longer, to enhance the picturebrowser, so that it can be used for this purpose.
Mark
| Description |
|
| Filesize |
30.57 KB |
| Viewed |
736 Time(s) |

|
_________________ my recommended links
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 04 Jun 2009, 02:36 Post subject:
|
|
I uploaded the pet again, with a small change:
the titles now are sorted alphabetically (the screenshot still shows the older, unsorted version).
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6825 Location: Chatham, Kent, UK
|
Posted: Sun 19 Jul 2009, 13:06 Post subject:
|
|
OOOH
Mark
I like the look of this
Is there a pet for this alphabetical folder search/browser bookmarks thingie?
I just love the intuitive simplicity of alphabetic search
PLEASE..... can this feature be made mainstream, Barry!!
Aitch
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6856 Location: Perth, Western Australia
|
Posted: Mon 20 Jul 2009, 02:09 Post subject:
|
|
Already done. It's in pups 416/417.
Needs to be tested though.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6825 Location: Chatham, Kent, UK
|
Posted: Mon 20 Jul 2009, 14:30 Post subject:
|
|
Great, thanks
Here's to your continued good health, and enthusiasm....
Aitch
| Description |
|
| Filesize |
7.35 KB |
| Viewed |
656 Time(s) |

|
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9847 Location: Arizona USA
|
Posted: Mon 20 Jul 2009, 20:06 Post subject:
|
|
Maybe I missed something. As far as I could figure out, I still have to click each author individually to see what books are in that author's folder. How do I have it open all the author folders at once, the way Tree shows the library?
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|