Bug 280993 - Missing filetype (audio/x-mod) in list of supported filetypes
Summary: Missing filetype (audio/x-mod) in list of supported filetypes
Status: RESOLVED FIXED
Alias: None
Product: phonon-backend-vlc
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 0.4-git
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: 0.4.2
Assignee: Harald Sitter
URL:
Keywords:
: 281001 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-29 12:29 UTC by Mathias Panzenböck
Modified: 2012-11-13 19:53 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.6.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Panzenböck 2011-08-29 12:29:13 UTC
Version:           0.4-git (using KDE 4.6.5) 
OS:                Linux

Back when I reported missing tracker file types in the list of supported file types I missed to mention *the* tracker file type: audio/x-mod (.mod)

Could you please add this? VLC supports it. Thanks.

Reproducible: Always

Steps to Reproduce:
Try to play a .mod file in Amarok.

Actual Results:  
Amarok thinks it's not supported and refuses to play it.

Expected Results:  
Music!
Comment 1 Torrie Fischer 2011-08-29 14:02:22 UTC
*** Bug 281001 has been marked as a duplicate of this bug. ***
Comment 2 Shlomi Fish 2011-08-29 14:12:37 UTC
@Trever: why was bug #281001 marked as a duplicate of this bug? .mod and .flv are different filetypes - one is a module file tracker format and the other one is a video file. I admit I am affected by this bug as well, but people who read this bug, may be unaware of the need to also add support for .flv files. Let me copy my bug report:

Version:           0.4.1 (using KDE 4.7.0) 
OS:                Linux

If you download this file:

http://www.shlomifish.org/Files/files/video/Berry%20Sacharof%20-%20Mefaneh%20Maqom.flv

to the hard disk, and try to drag and drop it from Konqueror/Dolphin to Amarok,
then Amarok will refuse to enqueue it when using Phonon-VLC. It works fine in
Phonon-gstreamer. It happens with all .flv files I tried that I downloaded
using youtube-dl from YouTube.

I can successfully drag, drop and play the file from the Firefox web-service to
Amarok, where it is displayed as a stream.

Reproducible: Always

Steps to Reproduce:
1. Download the file to the hard disk.
2. Start Amarok.
3. Start dolphin.
4. Drag and drop the file from Dolphin to the Amarok playlist.

Actual Results:  
Nothing happens.

Expected Results:  
Amarok should enqueue and play the file.

I'm on Mageia Linux Cauldron.
Comment 3 Torrie Fischer 2011-08-29 14:59:44 UTC
Sorry, I should have been a bit clearer.

This bug actually affects libphonon itself. Currently, applications are expected to ask phonon for a list of 'supported' mime-types and then make the decision if something is supported or not. The problem is that mime-types are not codecs. A file of type application/mp4 might actually contain a theora stream. No way to tell by mere mime types of a file.

The real solution is for the application to ask phonon if some file is supported or not. The list of 'supported' mime-types shouldn't be accessible to the application since that is entirely unreliable.
Comment 4 Shlomi Fish 2011-08-29 15:18:08 UTC
Trever:

(In reply to comment #3)
> Sorry, I should have been a bit clearer.
> 
> This bug actually affects libphonon itself. Currently, applications are
> expected to ask phonon for a list of 'supported' mime-types and then make the
> decision if something is supported or not. The problem is that mime-types are
> not codecs. A file of type application/mp4 might actually contain a theora
> stream. No way to tell by mere mime types of a file.
> 
> The real solution is for the application to ask phonon if some file is
> supported or not. The list of 'supported' mime-types shouldn't be accessible to
> the application since that is entirely unreliable.

in that case, what should be done about https://bugs.kde.org/show_bug.cgi?id=267319 ? Is it part of the same symptom? Should it be reassigned as a bug of Amarok? What?
Comment 5 Harald Sitter 2012-09-09 10:50:48 UTC
Git commit 8d50f486ab842bf364abd8ecfaf28a2194346daa by Harald Sitter.
Committed on 09/09/2012 at 12:50.
Pushed by sitter into branch 'master'.

add mimetype audio/x-mod

M  +1    -0    MimeTypes.cmake

http://commits.kde.org/phonon-vlc/8d50f486ab842bf364abd8ecfaf28a2194346daa