Bug 93477 - nspluginviewer doesn't detect realplayer
Summary: nspluginviewer doesn't detect realplayer
Status: RESOLVED WORKSFORME
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: KDE (show other bugs)
Version: Beta 4
Hardware: All All
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-22 12:18 UTC by Marcus Meissner
Modified: 2007-07-12 10:17 UTC (History)
7 users (show)

See Also:
Found By: Component Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
xx.txt (930 bytes, text/plain)
2006-03-30 12:10 UTC, Marcus Meissner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Meissner 2005-06-22 12:18:12 UTC
This is blocking the current security update. 
 
For NLD 9 the KDE RealPlayer integration is pretty broken. 
 
- The desktop file does not have all the RealPlayer specific mimetypes. 
  audio/x-pn-realaudio is definitely missing. 
 
        Add them. 
 
- The player does not get embedded in KDE. 
 
  (sample site: sputnik7.com, open Music download, open any Music item). 
 
        Unclear why. 
 
 
- Heiko is observing segfaults occasionaly in KDE. 
 
        Heiko, did you had a clear how-to-reproduce? 
 
- realplay.sh contains "break" statements which do not belong there 
  and lead to visible warnings. 
 
        Just delete the lines with "break".
Comment 1 Marcus Meissner 2005-06-22 12:18:32 UTC
from rommel: 
 
>       Heiko, did you had a clear how-to-reproduce? 
> 
 
No, I can't. 
The only thing that I can say is that it appeared at the same time the syntax 
errors got printed on the console. 
 
However, I see a different bug in Konqueror: 
 
When going to the sample site above for the first time, there's no 
audio/x-pn-realaudio defined. 
This seems to get added automatically (looks like "on demand"). 
The entry itself looked incomplete (since it does not apply to *.rpm or 
*.RPM). 
If I remove that entry the "application/octet-stream" is removed, too. 
This should not happen (and can't be done manually since the remove button 
is greyed out). 
 
Comment 2 Stephan Kulow 2005-06-23 08:08:24 UTC
hmm, the realaudio mimetype was there with the old realplayer, no? So updating 
the package shouldn't trigger the removal of it. 
Comment 3 Heiko Rommel 2005-06-23 15:27:12 UTC
The mimetype audio/x-pn-realaudio is present but empty, i.e. there are no file
extensions associated with it.

That's one thing.

I can not reproduce the "application/octet-stream" bug however. I tried but
failed ...
Comment 4 Heiko Rommel 2005-06-27 08:40:07 UTC
I just checked.
On NLD-i386 GA, the mimetype audio/x-pn-realaudio was present but empty, too.
Embedded play with www.sputnik7.com did not work.
Comment 5 Marcus Meissner 2005-06-27 08:46:38 UTC
since it was there before, it will no longer block this update.  
 
neithertheless it needs to be fixed! 
Comment 6 Stanislav Brabec 2005-06-27 09:30:41 UTC
File x-pn-realaudio.desktop seems to be present and non-empty in version 10.0.5,
which was just released as security update. Can you verify it?
Comment 7 Stanislav Brabec 2005-06-27 10:04:10 UTC
To KDE maintainers:

In STABLE RealPlayer 10.0.5 contains audio/x-pn-realaudio definition in
/etc/opt/kde3/share/mimelnk/audio/x-pn-realaudio.desktop, kdelibs3 contains
incorrect one in /opt/kde3/share/mimelnk/audio/x-pn-realaudio.desktop (missing
Patterns).

I don't know, whether it can cause problems, but it needs to be fixed in kdelibs3.

Please fix kdelibs3 or remove Real definitions from kdelibs3. Note the related
bug 62568.
Comment 8 Stephan Kulow 2005-06-27 10:14:28 UTC
we surely don't want *.rpm to be recongized as real audio. We rely on the web  
server to provide the real mimetype and that works very much without patterns.  
  
The opposite is true: the realplayer mimetype is wrong - e.g. not translated  
(at least on 9.3). And it works fine without this mimetype 
Comment 9 Stanislav Brabec 2005-06-27 10:39:54 UTC
Well, we should copy existing translation to RealPlayer MIME types.

In STABLE:

Real audio/x-pn-realaudio contains: Patterns=*.ram;*.rmm

KDE audio/x-pn-realaudio does not contain any pattern.
Comment 10 Ryan Gammon 2005-06-27 18:08:41 UTC
FWIW, 
- I found that audio/x-pn-realaudio is in our upstream realplay.desktop file.
- The embedded player works in konq for me, albeit without scriptability due to
a lack of npruntime support in konq last time I checked
- realplay.sh contains break's -- not something we have upstream. Maybe this is
the kfmclient stuff.

Please remove the kdelibx3 .desktop files and let RealPlayer supply them --
there are a couple of things about the kdelibs versions that were wrong IIRC.

audio/x-pn-realaudio != RPM, == RAM
audio/x-pn-realaudio-plugin == RPM

This association should only appear in the browser's about:plugins, not in the
kde configuration.

Re: associating on .rpm vs on mime type only, the test case here would come from:

There's no type= attribute required in the <embed> attribute unfortunately,
which means an extension association is required in the browser plugin.

http://service.real.com/help/library/guides/realone/ScriptingGuide/HTML/htmfiles/embedint.htm#20984
<EMBED NAME=javademo
    SRC="demo.rpm"
    WIDTH=220 HEIGHT=180
    CONSOLE=one
    CONTROLS=ImageWindow
    BACKGROUNDCOLOR=white
    CENTER=true
    >
Comment 11 Stanislav Brabec 2006-02-20 17:19:36 UTC
I really don't know, what I can do there. I guess that it should be handled by the plugin mechanism, so it should not have anything to do with desktop files?

In firefox, audio/x-pn-realaudio-plugin is reported by about:plugins and the web page works.

Konqueror reports:

kio (KMimeType): WARNING: KServiceType::offers : servicetype audio/x-pn-realaudio-plugin not found

Trying to explicitly rescan plugins reports:
The nspluginscan executable cannot be found. Netscape plugins will not be scanned.

I have also tried to add audio/x-pn-realaudio-plugin to desktop files, but it does not help, too.
Comment 12 Marcus Meissner 2006-03-29 13:04:39 UTC
can we have the current status for SLED 10?

Will it work better?
Comment 14 Dirk Mueller 2006-03-29 13:21:58 UTC
a way to find out is 

ktradertest 'audio/x-pn-realaudio-plugin' 'KParts/ReadOnlyPart'

it lists nsplugin for me just fine, but its 2nd choice. 
Comment 16 Adrian Schröter 2006-03-30 08:16:41 UTC
we do ship kaffeine.

However, we could remove the real mime type from the kaffeine desktop file, if it is a problem.
Comment 17 Marcus Meissner 2006-03-30 09:37:44 UTC
I created a new user.

the sputnik7.com site was pretty confused and tried to load the .ram file in a konqueror window.


Then I started RealPlayer, and clicked through the initial config.

Afterwards suddenly konqueror embedded Realplayer!?!?!?!?

Why does behaviour change with starting Realplayer? This should not be the case.
Comment 18 Joachim Werner 2006-03-30 11:24:25 UTC
Less than optimal, but as I see it, the Netscape plugin is only configured correctly during the first time RealPlayer is run. Probably not easy to fix because we are not supposed to change the registration and config dialog.
Comment 19 Dirk Mueller 2006-03-30 11:34:49 UTC
markus, can you give me your output of

ktradertest 'audio/x-pn-realaudio-plugin' 'KParts/ReadOnlyPart'

?

I think given that the kaffeine we ship probably doesn't have the codecs to handle most of the realaudio stuff out there, I think its better to remove those mimetypes. adrian, your opinion as well?
Comment 20 Marcus Meissner 2006-03-30 12:10:05 UTC
Created attachment 75747 [details]
xx.txt

requested ktradertest output
Comment 21 Dirk Mueller 2006-03-30 12:35:01 UTC
hmm, so its your only pick. I'm not sure if I can do something about that other than disabling this configuration dialog on first startup
Comment 22 Dirk Mueller 2006-05-18 09:44:01 UTC
should I add a .realplayerrc containing rpregistered=1 to /etc/skel?
Comment 23 Marcus Meissner 2006-05-18 13:34:43 UTC
license question I guess. -> JW
Comment 24 Juergen Weigert 2006-05-18 14:43:58 UTC
What would rpregistered=1 mean?
Would it prevent realplayer from showing the EULA?
If so, we need to present the EULA text during installation.
Comment 25 Dirk Mueller 2006-05-22 14:32:48 UTC
don't we do that already anyway? 
Comment 26 Juergen Weigert 2006-05-22 15:22:33 UTC
Adding Maintainer of realplayer. 
Stano, please see comments #24 and #25.
Comment 27 Stanislav Brabec 2006-08-17 16:54:14 UTC
I guess that installation does not contain click-wrap license. Only first run contains it. But if it is reproducible with RealPlayer 10.0.8, we should report it upstream.
Comment 28 Thomas Biege 2006-10-13 11:21:46 UTC
What is the current status of this one?
Comment 29 Dirk Mueller 2006-11-09 13:27:38 UTC
I can not reproduce the issue with 10.2 beta2 anymore.