INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: SHN plugin v0.15 for MJ8 / MC9 released!  (Read 6014 times)

ssamadhi97

  • Regular Member
  • Recent member
  • *
  • Posts: 29
  • in_shn dev
SHN plugin v0.15 for MJ8 / MC9 released!
« on: June 15, 2003, 03:50:27 pm »

SHN plugin version 0.15 for MJ8 and MC9 posted.  

+ supports internal seektables
+ supports external seektables in same folder as .shn file
+ supports brute-force forward and instant backward seeking in "unseekable" shn files (note that forward seeking can be VERY slow in these cases!! this is not a bug, but out of necessity.)


- does not support external seektables in remote locations yet
- does not support tagging yet

plugin for MJ8: download it from the MJ8 Input Plugins Page!

plugin for MC9: download it from the MC9 Input Plugins Page!

Please break it and report bugs and failures here.

- - - - - - - - - - - - -

For those who don't know the Shorten (.shn) file format: it is a lossless audio compression scheme that is extremely popular in the online concert trading scene.

for details see http://research.umbc.edu/~hamilton/shnfaq.html
Logged

ssamadhi97

  • Regular Member
  • Recent member
  • *
  • Posts: 29
  • in_shn dev
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #1 on: June 16, 2003, 11:46:43 am »

By the way, is there any point in maintaining an MJ8 version of the plugin anyway?
Logged

zevele10

  • Guest
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #2 on: June 16, 2003, 11:56:05 am »

Yes ,as far as i know.

Thank you for the work.

Now ,we have to start a pool:

Do you have any  SHN on your HD ?

Logged

ssamadhi97

  • Regular Member
  • Recent member
  • *
  • Posts: 29
  • in_shn dev
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #3 on: June 16, 2003, 12:09:41 pm »

Quote
Yes ,as far as i know.
Now ,we have to start a pool:

Do you have any  SHN on your HD ?

Sure, go nuts.. I for one have some 60-80 GB worth of shns on my hd (from the top of my hat), which is far from atypical for an avid concert trader.
Logged

LisaRCT

  • Guest
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #4 on: June 16, 2003, 12:17:01 pm »

Pardon my ignorance, but what is an SHN ?
Logged

ssamadhi97

  • Regular Member
  • Recent member
  • *
  • Posts: 29
  • in_shn dev
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #5 on: June 16, 2003, 12:26:27 pm »

A SHN (.shn) is a Shorten file. Shorten is a popular (albeit slightly outdated) lossless music compression scheme which is widely used among concert traders.

For detalis see http://research.umbc.edu/~hamilton/shnfaq.html

(I just added this bit of info on SHN format to the first post in this thread as well..)
Logged

Warlock

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 83
  • nothing more to say...
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #6 on: June 16, 2003, 01:43:34 pm »

You are quick!  Thanks for taking the time to put this together.   I'll try it tonight.  I have about 60 GB of shn files, so I will put it through its paces.  Thanks.
Logged

Warlock

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 83
  • nothing more to say...
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #7 on: June 17, 2003, 07:32:17 am »

Thanks again for putting this together.  It worked great.  I didn't have any playback problems at all.  The only thing I noticed, which is more a limitation of SHNs themselves, is an inability to actually tag the file itself.  Are SHNs taggable at all?  
Logged

salsbst1

  • Regular Member
  • World Citizen
  • ***
  • Posts: 244
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #8 on: June 17, 2003, 08:59:45 am »

Quote
Thanks again for putting this together.  It worked great.  I didn't have any playback problems at all.  The only thing I noticed, which is more a limitation of SHNs themselves, is an inability to actually tag the file itself.  Are SHNs taggable at all?  


I'm not a SHN expert, but I believe that tagging the file might throw off one of the format's features, which is in-built MD5 checksums.  You touch the file and the checksum changes.  The trading communities will then see this as a "different" file from the one that you downloaded, which is not a good thing.  On the other hand, I may be wrong.
Logged

Warlock

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 83
  • nothing more to say...
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #9 on: June 17, 2003, 11:29:58 am »

That is a good point, and one I overlooked.  Changing the MD5s would be a very bad thing.
Logged

ssamadhi97

  • Regular Member
  • Recent member
  • *
  • Posts: 29
  • in_shn dev
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #10 on: June 17, 2003, 12:28:09 pm »

Quote
On the other hand, I may be wrong.

And you are wrong:

First of all, Shorten files don't have built-in md5 hashes. (As a matter of fact, they nearly don't have anything built-in. It's a really dodgy minimalistic format.)

SHN filesets are usually distributed with an external .md5 file containing hashes of every single file, the hash list in this md5 file is used to verify the set of shn files at hand.


Warlock is spot-on, the file format is not inherently taggable anyway, and affixing tags to the actual shn file would definitely not only screw up the md5 hash, but it would seriously throw off existing shn decoders and quite probably cause seektable support to break.


However, there is a way to circumvent those problems. A later version of the plugin will support SHN tagging by storing the tags in external .tag files (as apev2 tags for the tagging / developing nerds among you)

This will enable shn users to make use of what is considered the best tagging format available, while leaving the original shn files intact and making the tags very easily removable.

(only drawback is that you'll litter your harddisk with a bunch of sub-1kb files :P)
Logged

ssamadhi97

  • Regular Member
  • Recent member
  • *
  • Posts: 29
  • in_shn dev
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #11 on: June 17, 2003, 12:33:57 pm »

Besides, this kind of tagging for Shorten files is already supported by the foobar2000 audio player, so it's not entirely nonstandard. Incidentially I was involved in the development of the foobar2000 shn plugin :P Go figure.

(note to self: bug shn plugin devs for winamp and xmms to implement this kind of tagging support as well)


Thursday is a public holiday here.. maybe I'll have the time to implement tagging support then :)
Logged

salsbst1

  • Regular Member
  • World Citizen
  • ***
  • Posts: 244
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #12 on: June 17, 2003, 01:01:38 pm »

ssamadhi97, thanks for the correction and further info, and for making this plugin!
Logged

ssamadhi97

  • Regular Member
  • Recent member
  • *
  • Posts: 29
  • in_shn dev
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #13 on: June 19, 2003, 05:47:47 am »

no prob.


Here's a sort of known issue with the plugin:

When installing the plugin, it looks like the shn file type is not automatically added to MC's "import media" function and to its list of supported file types. At least that's what happens to me here.

I honestly have no idea whether that's actually normal behaviour for MC9, let alone whether there's any way to manually add the file type or have it added by the plugin or installation script.

I'm investigating and asking around, but I have yet to get any answers.

Until then you'll have to add SHN files to MC by dragging & dropping them into the window, using regular File -> Open Media File or stuff like that. No automatic importing. :(

Sorry 'bout that, but I can't remedy this at the moment.
Logged

newruler

  • Regular Member
  • Recent member
  • *
  • Posts: 12
  • nothing more to say...
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #14 on: June 20, 2003, 11:35:29 am »

The latest version of MediaCenter, 9.1.203 fixes the issue of importing SHN files by adding it to the list of importable files.
Logged

ssamadhi97

  • Regular Member
  • Recent member
  • *
  • Posts: 29
  • in_shn dev
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #15 on: June 22, 2003, 01:59:51 pm »

I didn'thave a chance to play with the new version yet.. guess they fixed importing of "3rd-party-supported" files in general then.. excellent :)  Those guys are quick.

I hope I'll get around to work more on the shn plugin this week, 'tis promising to be quite the busy one though :-/
Logged

jeffh

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 94
  • nothing more to say...
Re: SHN plugin v0.15 for MJ8 / MC9 released!
« Reply #16 on: July 04, 2003, 11:44:50 am »

With the lastest MC build I am now able to import shn files, but when I try and play them I get an error. Are others able to import and play the files out of the library?
Logged
Pages: [1]   Go Up