Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Possible to play zips and rars with music in them?
« previous next »
  • Print
Pages: [1]

Author Topic: Possible to play zips and rars with music in them?  (Read 1770 times)

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Possible to play zips and rars with music in them?
« on: March 13, 2010, 11:47:00 AM »
I've often wondered if it was possible to play zips or rars with music files in them like foobar can?

Would it be too cpu intensive decompressing then playing it back?
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Possible to play zips and rars with music in them?
« Reply #1 on: March 13, 2010, 11:55:41 AM »
Right now there's no way to do so, and I'm not entirely sure the devs want to add that kind of support. Decompressing zip and rar files is something better done on a PC (or Mac) rather than on a DAP since most DAPs don't have very fast processors. Plus, I don't think most music files compress very well anyway (I know MP3s don't compress well at all from personal experience), so you're ultimately not saving much in the way of hard drive space if that's what your intention is...
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: Possible to play zips and rars with music in them?
« Reply #2 on: March 13, 2010, 12:06:16 PM »
It's possible to skip the compression part when creating zip/rar, so it becomes simple archiving (like UNIX tar).

Like you said karashata it's useless to compress files already compressed (with any codec for example).

Supporting that kind of files would be doable without much trouble on the CPU side, though I'm not sure how cleanly it could be implemented in rockbox: the complex part would be how to separate 1 file (the zip/rar) into several audio files which potentially use different codecs.

My opinion is that it's pointless to support such files when they can be decompressed easily when copying from the computer:
Instead of drag&drop, do right button drag&drop and unzip here, not even an additional single mouse click needed (works with winzip/winrar/7zip)
Logged
a wise man said: "a wise man said"

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Possible to play zips and rars with music in them?
« Reply #3 on: March 13, 2010, 12:10:52 PM »
Quote
It's possible to skip the compression part when creating zip/rar, so it becomes simple archiving (like UNIX tar).

Yeh, thats what i was thinking of, so all the files are in one file.

It would be useful for listening to zips and rars of free albums and mixes available online. Would save having to extract the files everytime, but I can understand it could be too cpu intensive.
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Possible to play zips and rars with music in them?
« Reply #4 on: March 13, 2010, 12:37:16 PM »
TAR style archives that don't use compression could probably be done, but it would be a lot of work to integrate into rockbox.
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Possible to play zips and rars with music in them?
« Reply #5 on: March 13, 2010, 12:53:11 PM »
Would kind of defeat the purpose of useability if you could only use TAR's! Be even more of a pain converting normal zips and rars to TARs wouldnt it?  ;D
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Possible to play zips and rars with music in them?
« Reply #6 on: March 13, 2010, 01:04:16 PM »
Quote from: iPodFoo on March 13, 2010, 12:53:11 PM
Would kind of defeat the purpose of useability if you could only use TAR's! Be even more of a pain converting normal zips and rars to TARs wouldnt it?  ;D

"TAR style archives that don't use compression" not "TAR and nothing else".
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Possible to play zips and rars with music in them?
« Reply #7 on: March 13, 2010, 01:04:37 PM »
I think the main point here is not which format to use, but just that it is a lot of work for negligible gain.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Possible to play zips and rars with music in them?
« Reply #8 on: March 13, 2010, 01:45:07 PM »
Fair enough  ;)
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Possible to play zips and rars with music in them?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.1 seconds with 17 queries.