Re: Change in stream URL, then crash

2013-11-10 Thread Myriam Schweingruber
Hi Valorie,

On Mon, Nov 11, 2013 at 7:18 AM, Valorie Zimmerman
 wrote:
> This station used to work; that said I haven't used amarok to listen
> to it for awhile, since my phone has a built-in FM tuner and I've been
> using that instead. But I wanted to set it up again in Amarok.
>
> King FM in Seattle gives me this as the stream URL:
> http://filesource.abacast.com/king/mp3.m3u
>
> By the way, this URL brings up VLC through the browser, where it plays fine.
>
> I use the Playlist > Add Media dialog, and paste the URL in. Amarok
> changes it to http://sc1.abacast.com:8246 (displayed in the playlist)
> and doesn't play it. If I double-click, Amarok crashes.
>
> Not sure if this is a bug, and if so exactly what I should file
> against it. Here is the end of the output from -d --nofork:

Is it reproducible? The run it in gdb, get a backtrace and make a bug report.


Regards, Myriam
-- 
Proud member of the Amarok and KDE Community
Protect your freedom and join the Fellowship of FSFE:
http://www.fsfe.org
Please don't send me proprietary file formats,
use ISO standard ODF instead (ISO/IEC 26300)
___
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel


Change in stream URL, then crash

2013-11-10 Thread Valorie Zimmerman
This station used to work; that said I haven't used amarok to listen
to it for awhile, since my phone has a built-in FM tuner and I've been
using that instead. But I wanted to set it up again in Amarok.

King FM in Seattle gives me this as the stream URL:
http://filesource.abacast.com/king/mp3.m3u

By the way, this URL brings up VLC through the browser, where it plays fine.

I use the Playlist > Add Media dialog, and paste the URL in. Amarok
changes it to http://sc1.abacast.com:8246 (displayed in the playlist)
and doesn't play it. If I double-click, Amarok crashes.

Not sure if this is a bug, and if so exactly what I should file
against it. Here is the end of the output from -d --nofork:

BEGIN: void EngineController::slotMetaDataChanged()
amarok: [EngineController] slotMetaDataChanged() triggered
by phonon, but we've already seen exactly the same metadata recently.
Ignoring for now.
amarok:   END__: void EngineController::slotMetaDataChanged() [Took: 0s]
amarok:   BEGIN: void ScriptManager::notifyFetchLyrics(const
QString&, const QString&)
amarok: SCRIPT "LyricWiki" :  "request URL:
http://lyrics.wikia.com/api.php?action=query&prop=revisions&rvprop=content&format=xml&titles=Http://www.king.org:Classical";
amarok: BEGIN: static QScriptValue
Downloader::init(QScriptContext*, QScriptEngine*, bool)
amarok: END__: static QScriptValue
Downloader::init(QScriptContext*, QScriptEngine*, bool) [Took: 0s]
amarok:   END__: void ScriptManager::notifyFetchLyrics(const
QString&, const QString&) [Took: 0.003s]
amarok:   MPRIS2: Album image location is KUrl("")
amarok:   BEGIN: void Dynamic::BiasedPlaylist::startSolver(int)
amarok: [BiasedPlaylist] BiasedPlaylist in: 139842673854400
amarok: [BiasedPlaylist] solver already running!
amarok:   END__: void
Dynamic::BiasedPlaylist::startSolver(int) [Took: 0.001s]
amarok:   [EngineController] slotStateChanged from 1 to 4
amarok:   MPRIS2: Queueing up a PropertiesChanged signal
amarok:   BEGIN: void EngineController::slotMetaDataChanged()
amarok: [EngineController] stampStreamTrackLength():
m_lastStreamStampPosition: 0 currentPosition: 152
amarok: [EngineController] updateStreamLength(): emitting
currentMetadataChanged( QMap(("xesam:mediaDuration",
QVariant(qlonglong, 152) ) ( "xesam:url" ,  QVariant(QUrl,
QUrl("http://sc1.abacast.com:8246";) ) ) )  )
amarok: BEGIN: void
Context::ContextView::slotMetadataChanged(Meta::TrackPtr)
amarok: END__: void
Context::ContextView::slotMetadataChanged(Meta::TrackPtr) [Took: 0s]
amarok: BEGIN: void CurrentEngine::metadataChanged(Meta::TrackPtr)
amarok: END__: void
CurrentEngine::metadataChanged(Meta::TrackPtr) [Took: 0s]
amarok: MPRIS2: Album image location is KUrl("")
amarok: BEGIN: void OSDWidget::show(const QString&, const QImage&)
amarok: END__: void OSDWidget::show(const QString&, const
QImage&) [Took: 0s]
amarok: [EngineController] slotTrackFinishedPlaying(
"http://www.king.org"; - "Classical KING FM" - "Classical" , 1 )
amarok: [lastfm] scrobble(): refusing track
"http://sc1.abacast.com:8246"; - played time ( 0 * 1 s) shorter than 30
s
amarok: [EngineController] slotMetaDataChanged(): new
meta-data: QMap(("xesam:album", QVariant(QString, "Classical KING FM")
) ( "xesam:author" ,  QVariant(QString, ":Organ Loft: Segment 1") ) (
"xesam:genre" ,  QVariant(QString, "Classical") ) (
"xesam:mediaDuration" ,  QVariant(int, 0) ) ( "xesam:title" ,
QVariant(QString, "11/10/13") ) ( "xesam:url" ,  QVariant(QUrl,
QUrl("http://sc1.abacast.com:8246";) ) ) )
amarok: BEGIN: void
Context::ContextView::slotMetadataChanged(Meta::TrackPtr)
amarok: END__: void
Context::ContextView::slotMetadataChanged(Meta::TrackPtr) [Took:
0.001s]
amarok: BEGIN: void CurrentEngine::metadataChanged(Meta::TrackPtr)
amarok: END__: void
CurrentEngine::metadataChanged(Meta::TrackPtr) [Took: 0s]
amarok: [WikipediaEngine] Fetching langlinks:
KUrl("https://en.wikipedia.org/w/api.php?action=query&prop=langlinks&titles=%3AOrgan%20Loft%3A%20Segment%201&format=xml&lllimit=100&redirects=1";)
amarok: MPRIS2: Album image location is KUrl("")
amarok: BEGIN: void OSDWidget::show(const QString&, const QImage&)
amarok: END__: void OSDWidget::show(const QString&, const
QImage&) [Took: 0s]
amarok:   END__: void EngineController::slotMetaDataChanged()
[Took: 0.011s]
amarok:   BEGIN: void
EngineController::slotNewTrackPlaying(const Phonon::MediaSource&)
amarok: [EngineController] Using gain of 0 with relative peak of 0
amarok: BEGIN: virtual bool
Podcasts::GpodderProvider::possiblyContainsTrack(const KUrl&) const
amarok: END__: virtual bool
Podcasts::GpodderProvider:

Re: Review Request 113777: Lazy load scriptable service tracks

2013-11-10 Thread Anmol Ahuja


> On Nov. 10, 2013, 3:24 p.m., Matěj Laitl wrote:
> > Looks good to me, but please test that scriptable service tracks that are 
> > (remote) playlists do play right away when you double-click on them. (with 
> > play on double-click enabled)

Okay


> On Nov. 10, 2013, 3:24 p.m., Matěj Laitl wrote:
> > src/services/scriptable/ScriptableServiceMeta.h, line 96
> > 
> >
> > Please initialize (to false, probably) this basic type in constructor 
> > as it is random otherwise.

It's set in the setUidUrl method, but I'll move it to the constructor.


- Anmol


---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113777/#review43325
---


On Nov. 10, 2013, 2:51 a.m., Anmol Ahuja wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113777/
> ---
> 
> (Updated Nov. 10, 2013, 2:51 a.m.)
> 
> 
> Review request for Amarok.
> 
> 
> Repository: amarok
> 
> 
> Description
> ---
> 
> Prevent all the scriptable services from loading playlists at Amarok launch.
> 
> 
> Diffs
> -
> 
>   src/services/scriptable/ScriptableServiceMeta.h 2db3951 
>   src/services/scriptable/ScriptableServiceMeta.cpp 8e96785 
> 
> Diff: http://git.reviewboard.kde.org/r/113777/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Anmol Ahuja
> 
>

___
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel


Re: Review Request 113777: Lazy load scriptable service tracks

2013-11-10 Thread Matěj Laitl

---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113777/#review43325
---


Looks good to me, but please test that scriptable service tracks that are 
(remote) playlists do play right away when you double-click on them. (with play 
on double-click enabled)


src/services/scriptable/ScriptableServiceMeta.h


Please initialize (to false, probably) this basic type in constructor as it 
is random otherwise.


- Matěj Laitl


On Nov. 9, 2013, 10:21 p.m., Anmol Ahuja wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113777/
> ---
> 
> (Updated Nov. 9, 2013, 10:21 p.m.)
> 
> 
> Review request for Amarok.
> 
> 
> Repository: amarok
> 
> 
> Description
> ---
> 
> Prevent all the scriptable services from loading playlists at Amarok launch.
> 
> 
> Diffs
> -
> 
>   src/services/scriptable/ScriptableServiceMeta.h 2db3951 
>   src/services/scriptable/ScriptableServiceMeta.cpp 8e96785 
> 
> Diff: http://git.reviewboard.kde.org/r/113777/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Anmol Ahuja
> 
>

___
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel