Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2006
    Posts
    2
    Plugin Contributions
    0

    Default How do I keep MP3 ID3 tags on sold MP3s?

    How come when ever a customer downloads an mp3 then plays it in itunes or media player it has lost all the data i saved with it (artist, album title etc)

    Somehow this gets stripped away on download.

    Any ideas?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: How do I keep MP3 ID3 tags on sold MP3s?

    Are they getting the file as a ZIP or as an MP3 ?
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2006
    Posts
    2
    Plugin Contributions
    0

    Default Re: How do I keep MP3 ID3 tags on sold MP3s?

    As mp3s, I tried it with zip files and the id3 tags are fine. Still I can`t understand why the tags are removed, Iv seen other zencart shops that sell mp3 so it must be possible.

  4. #4
    Join Date
    Apr 2005
    Posts
    52
    Plugin Contributions
    0

    Default Re: How do I keep MP3 ID3 tags on sold MP3s?

    What's the solution to this? i can't find any option to fix this.

    Why is zen cart messing with the files anyway?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: How do I keep MP3 ID3 tags on sold MP3s?

    Zen Cart doesn't change the file in any way.

    What is your setting for "Download by Redirect", and "Download by Streaming" when this happens?

    If redirect is on, then it hands the file over to apache to serve it via a symlink from the pub folder.
    If redirect is off and streaming is off, then it lets apache serve it directly from the download folder.
    If redirect is off and streaming is on, then Zen Cart drops generic MIME data into headers to tell it to download the upcoming file, and then loads the file in 2K blocks and sends it in chunks to your browser.

    There are no intentional code modifications by Zen Cart.
    It's hard to tell what Apache might be doing on its own.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Apr 2005
    Posts
    52
    Plugin Contributions
    0

    Default Re: How do I keep MP3 ID3 tags on sold MP3s?

    Re-direct was true, streaming is false. I turned re-direct off and the ID3v2 tags are back but not ID3v1.

    i also noticed that the downloads usually get to 100% (99% in IE) according to the browser but don't actually complete, they just stop there and don't close the connection (The option to pause the download is still there in firefox for example). If you just leave it alone they usually complete but it takes several minutes, about 5-7. This problem is still there even with re-direct off.

    The new problem i see with redirect off is that IE is trying to name them all 'index' when downloaded. This occurs if i click the download button or right-click and 'save target as'.

    The download files are definitely different. the redirect download i just tested is 6020 bytes larger and all tags have been stripped, including an embedded jpg. the non-redirect file seems to be 5532 bytes larger.

    i'll do some more testing...

    EDIT: typo

  7. #7
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: How do I keep MP3 ID3 tags on sold MP3s?

    Did you try with streaming on and redirect off?
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: How do I keep MP3 ID3 tags on sold MP3s?

    Quote Originally Posted by Veazer View Post
    The new problem i see with redirect off is that IE is trying to name them all 'index' when downloaded. This occurs if i click the download button or right-click and 'save target as'.
    If it's trying to name the file as "index" then either a timeout is occurring when the file contents are being sent, or the headers are not being recognized properly by your browser (specifically the header that indicates the filename of the file being sent).
    If it's happening right away, then it's not a timeout, which would then suggest that your server's Apache configuration might have something awry. Perhaps check the MIME type settings in the server's master config?
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Apr 2005
    Posts
    52
    Plugin Contributions
    0

    Default Re: How do I keep MP3 ID3 tags on sold MP3s?

    Firstly, re-direct seems to be fully working now and not stripping anything anymore. I don’t know why it was previously and I’m a bit nervous about this inconsistent behaviour.

    Quote Originally Posted by DrByte View Post
    Did you try with streaming on and redirect off?
    With streaming off, attempting to download a large file (100mb) eventually times out. With streaming enabled, it removes 2 downloads from the counter and I instantly get a page not found error.
    Other than that, it seems to act the same as with streaming off.

    Quote Originally Posted by DrByte View Post
    If it's trying to name the file as "index" then either a timeout is occurring when the file contents are being sent, or the headers are not being recognized properly by your browser (specifically the header that indicates the filename of the file being sent).
    If it's happening right away, then it's not a timeout, which would then suggest that your server's Apache configuration might have something awry. Perhaps check the MIME type settings in the server's master config?
    It happens immediately, so i guess we can assume it's not a time out.

    if it's a MIME issue in Apache, would it occur in both browsers and not just IE? I don't believe i have access to these settings on my server (i assume) - is there anything specfically i can ask the host to look for / change /etc.?

    It looks like others have had this issue (thread 31752 & 50851), unfortunately there was no clear solution posted.

    At this point I guess I’ll leave re-direct on unless this presents a problem. As always Dr. Byte you’re welcome to have admin access and poke around a bit, but I know you’re likely overwhelmed with other things.

    Thanks for your support.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: How do I keep MP3 ID3 tags on sold MP3s?

    1. Have you tried clearing your IE cache? If your allowed cache space is already "used", IE sometimes plays tricks.

    2. Which version of IE?

    3. Is the page running in SSL mode when you're attempting to do the download?
    If yes, try disabling SSL (/includes/configure.php) temporarily and do another test.

    4.a. Do you have GZip compression enabled in Admin->Configuration->GZip ? If yes, try turning it off.
    4.b. Is GZip enabled automatically on your site by your server? You can check this here:
    http://www.whatsmyip.org/mod_gzip_test/
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v139h How do I keep Sold Items from appearing on new products?
    By mooncavecrystals in forum General Questions
    Replies: 4
    Last Post: 30 Jun 2012, 02:07 PM
  2. Keep product display while sold out
    By Tom_Ace in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 24 Mar 2011, 11:11 PM
  3. Customizing Sold Out Tags
    By andrewps in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Feb 2009, 08:15 PM
  4. Do not show sold out product but keep its url working
    By cochlear in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 18 Jun 2008, 02:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg