Neuros Forums
Home | Active Topics | Search | FAQ
 All Forums
 Neuros Feedback
 Positron
 Anyone interested in a Perl sync manager?
 Forum Locked  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

darren
Posting is for Closers

67 Posts

Posted - 03/27/2004 :  10:23:15 AM  Show Profile
I'm developing a perl sync manager. Why, you ask? Why not?

Anyhow, I'd just like to gauge the interest. Anyone up for testing yet another sync manager?

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)

Cool4u2view
Neuros Audio Team
Posting Mania

3397 Posts

Posted - 03/27/2004 :  10:28:09 AM  Show Profile  Visit Cool4u2view's Homepage  Send Cool4u2view an AOL message  Click to see Cool4u2view's MSN Messenger address  Send Cool4u2view a Yahoo! Message
If it could be made as an internet based sync manager where all you have to do to run it is go to a certain website from wherever you are... now that would be cool.

-Jeff

edit: corrected some ebonics

Edited by - Cool4u2view on 03/27/2004 10:28:50 AM

Your quick response to this post: (1 total votes)
I agree (100%)
I disagree (0%)
Go to Top of Page

TBone
Posting Profoundly

124 Posts

Posted - 03/29/2004 :  10:54:25 AM  Show Profile  Visit TBone's Homepage  Send TBone an AOL message  Send TBone an ICQ Message
I'd be up for checking it out. Perl roxors.

More sync managers = more better.

However, I don't really see the utility in a web-based sync manager. That'd be a whole lot of data to pass through the 'net. Plus the real meat would probably have to be in Java anyway for such a thing to work.

-- OVER the underpass! UNDER the overpass! Around the FUTURE and BEYOND REPAIR!!

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

Chameleon
Posting Mania

1396 Posts

Posted - 03/29/2004 :  1:55:52 PM  Show Profile  Visit Chameleon's Homepage  Send Chameleon an AOL message  Send Chameleon an ICQ Message  Send Chameleon a Yahoo! Message
Hmm, it'd be cool to integrate with NetJuke, gnump3d and/or another similar streamer somehow.

-- 'I switched to Vorbis and saved a bunch on my hard-disk space!'

Edited by - Chameleon on 03/29/2004 1:57:08 PM

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

woodyd
Likes to Post

15 Posts

Posted - 04/01/2004 :  10:43:14 AM  Show Profile
i'd really like another non-java linux sync manager...esp. if it supported things like PC Library, and HISI (i know this is not possible)

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

darren
Posting is for Closers

67 Posts

Posted - 04/03/2004 :  07:02:36 AM  Show Profile
Thanks for the replies everyone. Unfortunately, to date, I don't have any of those features.

Here's a list of what's currently "working". Note the quotes as this is still pre-alpha code. If this interests anyone, say so and I'll upload it somewhere.

Features:
1) All music formats are supported (mp3, ogg, wav, wma). All native file tags are supported.
2) Full m3u playlist support. All associated files are added and a playlist entry is created on the Neuros.
3) Files without id3 or equivalent tags can be tagged by directory layout if they are organized on disk by Genre/Artist/Album/etc. Note: This tagging is done solely to the Neuros. The file itself is not modified. (see configuration file)
4) Sort by title on artists, genres and songs. Sort by track number on albums. No sorting on playlists (list order).
5) Maintains directory/file names as well as file access/modification times during sync.
6) Moving of recordings to user specified directory.
7) Foreign language accents in tags are handled (converted to the nearest English equivalent). This is required by the Neuros as it doesn't support accents.
8) Handling of duplicate title names. Appends a number in parenthesis "(2)" or "(3)" to the title.
9) Crossplatform support (works with latest ActivePerl on Windows).

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

saliola
Posting is for Closers

46 Posts

Posted - 04/03/2004 :  10:21:38 AM  Show Profile  Visit saliola's Homepage  Click to see saliola's MSN Messenger address
I would like to take a look at the code.

Have you implemented the rebuild database command? If so, would it be possible to extract just that code into a small script? This is the only feature that I use, and I wouldn't mind a perl script that did just that. Oh, and I wouldn't mind a script that takes text playlists and creates neuros playlists out of them.

Thanks,
Franco

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

gsker
Likes to Post

17 Posts

Posted - 04/03/2004 :  8:57:00 PM  Show Profile
I wrote a ogg2mdb perl program. It reads the ogginfo using Ogg::Vorbis::Header and build the database. The reason I wrote is was so I could include playlists based on regular expressions.

It's a little obfuscated, but it's fast and simple. I don't have mp3 support in it yet, but will eventually. It shouldn't be too hard.

The other thing I really wanted was to be able to build the database on the PC and then copy it to the Neuros. Having the software copy things to the neuros just doesn't work for me. I can manage files myself fine. I just needed some way to build the databse.

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

saliola
Posting is for Closers

46 Posts

Posted - 04/03/2004 :  10:45:41 PM  Show Profile  Visit saliola's Homepage  Click to see saliola's MSN Messenger address
gsker,

I wouldn't mind looking at your perl program as well. Want to send it to me?

Franco

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

gsker
Likes to Post

17 Posts

Posted - 04/04/2004 :  09:20:27 AM  Show Profile
I sent it off to saliola. If it's of wider interest, I'll need to find a public place to put it.

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

darren
Posting is for Closers

67 Posts

Posted - 04/05/2004 :  04:54:24 AM  Show Profile
Ok, my script has finally been released. I really despise the sourceforge interface, so I put it up on Yahoo groups. You should be able to post messages at the group if you have any issues or ideas. I hope this thread hasn't been too off-topic for all the positron users.

I call the script Sorune and it's available here:
groups.yahoo.com/group/sorune/

Happy syncing.

Update: Forgot to mention that Sorune has rebuild support now.

Edited by - darren on 04/05/2004 05:12:08 AM

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

darren
Posting is for Closers

67 Posts

Posted - 04/19/2004 :  10:38:51 PM  Show Profile
I've added a GUI front-end to Sorune. It's written in Perl Tk. Before you say it must be ugly if it's written in Tk, please give it a look. It's really not that bad.

You can check out snapshots and download version 0.2 at the group.

groups.yahoo.com/group/sorune

Update: Sorune 0.2.2 now includes Album under Artist support. Also, the flash backpacks should be working now!?!

Edited by - darren on 04/24/2004 8:25:50 PM

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

8thNote
Posting Mania

258 Posts

Posted - 04/24/2004 :  9:06:04 PM  Show Profile  Visit 8thNote's Homepage  Send 8thNote an AOL message  Click to see 8thNote's MSN Messenger address  Send 8thNote a Yahoo! Message
What are the advantages of this over the two current sync managers?

Daniel J. Lewis

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

darren
Posting is for Closers

67 Posts

Posted - 04/25/2004 :  12:22:07 AM  Show Profile
quote:
Originally posted by 8thNote
What are the advantages of this over the two current sync managers?



If this was any other thread, I'd assume the two are NSM and NDBM. This is the Positron thread though, so I'll briefly mention all three.

NSM doesn't work on Linux and doesn't support syncing from multiple computers (at least not well).

NDBM is a fine solution. It worked great for me up until I started Sorune. Haven't tried it lately, but I'm sure it's even better now. I suppose the lack of Java in Sorune may appeal to some people?

Positron is missing a GUI. I like the command line more than most people, but GUIs are awfully nice. From the comments in this thread, I think Sorune may have more features and support more formats than Positron. However, I haven't used Positron so I could be mistaken.

I guess it would be nice to compile a table of what each program can do. Perhaps it could be included at the neurosfaq site?

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

gsker
Likes to Post

17 Posts

Posted - 04/25/2004 :  10:49:56 AM  Show Profile
quote:
Originally posted by darren

Update: Sorune 0.2.2 now includes Album under Artist support. Also, the flash backpacks should be working now!?!



Darren, Where did you get the specs for the database? I'd like to update my little script, but I can't find anything about the database changes for Album under Artist. (My Neuros is at out for USB2 update now, but I'd like to get started anyway.)

Gerry

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

darren
Posting is for Closers

67 Posts

Posted - 04/25/2004 :  4:54:37 PM  Show Profile
quote:
Originally posted by gsker

Darren, Where did you get the specs for the database?




I haven't seen the new database specs either. For now, it looks like not much has changed but I've read that Sean is rewriting his db code so there must be something big coming???

For now, it's implemented like this:
Albums mdb still includes all album names as it's primary data. However, it has two access keys now. It has an All access key pointing to itself and an Artists access key pointing to a new ArtistAlbum mdb.
ArtistAlbum mdb (the new child of Albums mdb) contains all artist names as it's primary data.
ArtistAlbum parent index points to the individual artist's albums (in Albums mdb) which in turn points to the master (root) index.

So you end up with the following:
Albums->All->Legacy Album List
Albums->Artists->Artist Name->Individual Album List

I'm hoping this new database does or will eventually support:
Artists->Artist Name->Individual Album List

I've thought about how to get that to work under the current spec and I don't think it can be done. I'd love to be proven wrong though.

So, to surmise, I don't see what's changed. At least this implementation of album under artist was possible under the current spec. I haven't tried putting 2.13 fw back on my Neuros to see if it will in fact work with this multiply nested database. That's because 2.14 seems much more responsive to me and I like that a lot! So, I'm guessing the firmware wouldn't have supported the multiple level nesting and requiring a 2.14 level of firmware in Sorune.

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

K-Man666
Posting Profoundly

156 Posts

Posted - 04/25/2004 :  5:19:30 PM  Show Profile  Send K-Man666 an AOL message  Send K-Man666 an ICQ Message  Click to see K-Man666's MSN Messenger address  Send K-Man666 a Yahoo! Message
Could you just post any license (at best GNU GPL) to your scripts?

Kaspar (The German Guy)

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

gsker
Likes to Post

17 Posts

Posted - 04/25/2004 :  5:25:26 PM  Show Profile
quote:
Originally posted by darren

quote:
Originally posted by gsker
Darren, Where did you get the specs for the database?



I haven't seen the new database specs either. For now, it looks like not much has changed but I've read that Sean is rewriting his db code so there must be something big coming???
[SNIP]
So, I'm guessing the firmware wouldn't have supported the multiple level nesting and requiring a 2.14 level of firmware in Sorune.


Got it! Thanks for the details! So there's no change in the XI part of the database either?



Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

Sean Starkey
Posting Mania

848 Posts

Posted - 04/25/2004 :  5:48:42 PM  Show Profile  Send Sean Starkey an AOL message  Send Sean Starkey an ICQ Message  Click to see Sean Starkey's MSN Messenger address  Send Sean Starkey a Yahoo! Message
The big difference in the new firmware is the subdatabase support.

I don't know if the XI menus have changed. I haven't looked at them yet.

gsker, my reply mail to you bounced. Don't know why, it didn't like my return address (which is perfectly valid.)

Come see me on IRC if you want some quick responses to questions.

Sean Starkey - Project Manager for Neuros Database Manipulator - http://neurosdbm.sourceforge.net

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

darren
Posting is for Closers

67 Posts

Posted - 04/25/2004 :  10:38:39 PM  Show Profile
Kaspar: Sorune is under the GPL. All of the 3rd party modules are under the Perl Artistic License. Both licenses are compatible with the OSI: www.opensource.org/licenses/index.php

Gerry/Sean: The XI menus have not changed with 1.45 of NSM. As far as I know there's no spec on them.

Edited by - darren on 04/25/2004 10:39:56 PM

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

awh
Just Posting

6 Posts

Posted - 04/26/2004 :  10:49:38 AM  Show Profile
I can't figure out why doing "rebuild" is so slow... Positron can rebuild my Neuros in a matter of 10 minutes or so; this software was at 4% after a half hour.

- awh

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Neuros Forums Go To Top Of Page
Snitz Forums 2000