Does anyone know how to listen audio-CD in Amarok?

Does anyone know how to listen audio-CD in Amarok?

Postby macxi » Aug 9th, '11, 19:17

Hi,

Can anyone give tips on how to listen to audio CD in Amarok. I ask it because Amarok doesn't open audio CD in a Mageia 1 (Amarok 2.4.1, KDE 4.6.3. or in Mandriva 2010.2 (Amarok 2.3.1, KDE 4.4.3).

If I put an audio CD in the drive, it loads and appears on the warning panel to open. I click on it and it opens automatically in Amarok (there isn't other options, like KsCD) and I play and it plays the song's default Amarok, I try to add the CD to listen and there's no way, not in Amarok.

I then go to the menu and click on another application,KsCD and I can hear the CD perfectly (and also got to hear the songs on audio CD with Clementine, VLC and Kaffeine).

Amarok is working fine, accesses music files on HD. ie, there isn't error in Amarok for music files. The CD also carries ok and I can hear in other applications, such as KsCD, Clementine, VLC and Kaffeine, but I don1t understand why the audio CD in Amarok does not open automatically and opens in KsCD.

The problem with Mageia 1 is that clicking on the panel to open the CD, just have one option: to open by Amarok, which does not open the CD. This is terrible for a beginner.. With Mandriva 2010.2, there are several options, including KsCD and it opens the simplest form the audio CD.

I found on Wiki Amarok a FAQ that says:

    How do I play audio-CDs? When you insert an audio CD, it will be shown as a local collection.
I click on "Local Collection" and nothing happens.

I found a topic in Debian (06/07/2011) claiming the same mistake that Amarok 2.4.1 and Juk 3.6.1 are not able to open audio CD. I tried here with Juk and did not open well, but with KsCD open ok.

Does anyone have any suggestions?

Cheers :)
Macxi
Last edited by macxi on Aug 9th, '11, 19:26, edited 2 times in total.
macxi
 
Posts: 462
Joined: Apr 22nd, '11, 02:54
Location: Portugues of Brazil

Re: Does anyone know how to listen audio-CD in Amarok?

Postby doktor5000 » Aug 9th, '11, 19:25

Audio CD is currently not working with Amarok, because of the change from HAL to udisks.
You can only open up a bugreport, and see if mikala can figure this out, possibly this is related to:
https://bugs.kde.org/show_bug.cgi?id=261175 and was only fixed like three weeks ago.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Does anyone know how to listen audio-CD in Amarok?

Postby macxi » Aug 9th, '11, 19:35

doktor5000 wrote:Audio CD is currently not working with Amarok, because of the change from HAL to udisks.
You can only open up a bugreport, and see if mikala can figure this out, possibly this is related to:
https://bugs.kde.org/show_bug.cgi?id=261175 and was only fixed like three weeks ago.


Doktor5000,

One suggestion could be to add other options in tray in the bottom panel (notification devices) to open the audio-CD with other applications, like KsCD.
I'll take a look at bug
thanks :)

Note: I've added this reply on topic in Forum MageiaBrasil. thanks
macxi
 
Posts: 462
Joined: Apr 22nd, '11, 02:54
Location: Portugues of Brazil

Re: Does anyone know how to listen audio-CD in Amarok?

Postby doktor5000 » Aug 9th, '11, 19:54

I thought you wanted to know why Amarok is not working?

You can add that entry yourself, if you want to. Do you want?
Then just create the following file:

/usr/share/apps/solid/actions/kscd-playaudiocd
Code: Select all
[Desktop Entry]
X-KDE-Solid-Predicate=OpticalDisc.availableContent & 'Audio'
Type=Service
Actions=open;

[Desktop Action open]
Name=Open with KsCD
Exec=kscd
Icon=kscd


Now pop in an audiocd and see if you get an additional action for KsCD.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Does anyone know how to listen audio-CD in Amarok?

Postby macxi » Aug 9th, '11, 20:13

doktor5000 wrote:I thought you wanted to know why Amarok is not working?
You can add that entry yourself, if you want to. Do you want?
Then just create the following file:
/usr/share/apps/solid/actions/kscd-playaudiocd
Now pop in an audiocd and see if you get an additional action for KsCD.


Doktor5000,

Yes, both.I would like to use Amarok in Mageia 1, which is standard aplication to open audio CD in Mageia 1 and in this moment does not work.
And I wanted another option by default to open the audio CD in Mageia 1, which could be the KsCD.
Thanks for your tips :)
I will test and notice here.
macxi
 
Posts: 462
Joined: Apr 22nd, '11, 02:54
Location: Portugues of Brazil

Re: Does anyone know how to listen audio-CD in Amarok?

Postby doktor5000 » Aug 9th, '11, 20:26

macxi wrote:Yes, both.I would like to use Amarok in Mageia 1, which is standard aplication to open audio CD in Mageia 1 and in this moment does not work.


doktor5000 wrote:You can only open up a bugreport, and see if mikala can figure this out, possibly this is related to:
https://bugs.kde.org/show_bug.cgi?id=261175 and was only fixed like three weeks ago.


;)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Does anyone know how to listen audio-CD in Amarok?

Postby macxi » Aug 9th, '11, 22:23

doktor5000 wrote:
macxi wrote:Yes, both.I would like to use Amarok in Mageia 1, which is standard aplication to open audio CD in Mageia 1 and in this moment does not work.

doktor5000 wrote:You can only open up a bugreport, and see if mikala can figure this out, possibly this is related to:
https://bugs.kde.org/show_bug.cgi?id=261175 and was only fixed like three weeks ago.

;)


Doktor5000,

Yes I'll report a bug, but think it's important to understand why the file already exists there that doesn't work.

The file is usr/share/apps/solid/actions/kscd-play-audiocd.desktop

Code: Select all
[Desktop Entry]
X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Audio' ]
Type=Service
Actions=open;

[Desktop Action open]
Exec=kscd -s
Icon=kscd
Name=Play Audio CD with KsCD
Name[ar]=شغل أقراص صوتية بـ KsCD
Name[ast]=Reproducir el CD d'audio con KsCD
Name[bg]=Изпълнение на звукови дискове с KsCD
Name[ca]=Reprodueix CD d'àudio amb el KsCD
Name[ca@valencia]=Reprodueix CD d'àudio amb el KsCD
Name[cs]=Přehrát audio CD v KsCD
Name[da]=Afspil lyd-cd med KsCD
Name[de]=Audio-CD mit KsCD wiedergeben
Name[el]=Αναπαραγωγή CD ήχου με το KsCD
Name[en_GB]=Play Audio CD with KsCD
Name[es]=Reproducir el CD de audio con KsCD
Name[et]=Audio-CD esitamine KsCD-ga
Name[fi]=Toista ääni-CD:tä KsCD:llä
Name[fr]=Lire les CD audio avec KsCD
Name[ga]=Seinn Dlúthdhiosca Fuaime le KsCD
Name[gl]=Reproducir CD de audio con KsCD
Name[he]=נגן תקליטור מוזיקה באמצעות KsCD
Name[hu]=Hang-CD-lejátszás a KsCD-vel
Name[is]=Spila hljóðdisk með KsCD
Name[it]=Riproduci i CD audio con KsCD
Name[ja]=KsCD でオーディオ CD を再生
Name[kk]=Аудио CD-ні KsCD-де орындау
Name[km]=ចាក់​ស៊ីឌីអូឌីយ៉ូ​ដោយ​ប្រើ KsCD
Name[ko]=KsCD로 오디오 CD 재생하기
Name[lv]=Atskaņot Audio CD izmantojot KsCD programmu
Name[nb]=Spill lyd-CD med KsCD
Name[nds]=Klang-CD mit KsCD afspelen
Name[nl]=Speel audio-cd af met KsCD
Name[nn]=Spel lyd-CD med KsCD
Name[pa]=KsCD ਨਾਲ ਆਡੀਓ ਸੀਡੀ ਚਲਾਓ
Name[pl]=Odtwarzaj płyty CD z KsCD
Name[pt]=Tocar o CD de Áudio com o KsCD
Name[pt_BR]=Reproduzir CD de áudio com o KsCD
Name[ro]=Redă CD Audio cu KsCD
Name[ru]=Воспроизвести с помощью KsCD
Name[sk]=Prehrať zvukové CD v KsCD
Name[sl]=Predvajaj glasbeni CD s KsCD
Name[sr]=Пусти аудио ЦД КсЦД‑ом
Name[sr@ijekavian]=Пусти аудио ЦД КсЦД‑ом
Name[sr@ijekavianlatin]=Pusti audio CD KsCD‑om
Name[sr@latin]=Pusti audio CD KsCD‑om
Name[sv]=Spela ljud-cd med Kscd
Name[th]=เล่นแผ่นซีดีเสียงด้วย KsCD
Name[tr]=Ses CD'sini KsCD ile Çal
Name[uk]=Відтворити звуковий КД за допомогою KsCD
Name[wa]=Djouwer plake lazer odio avou KsCD
Name[x-test]=xxPlay Audio CD with KsCDxx
Name[zh_CN]=用 KsCD 播放音频 CD
Name[zh_TW]=用 KsCD 播放音樂光碟



By graphical mode, I accessed the "System Settings" and "Device Actions", and there was the option of the file "kscd-play-audiocd.desktop" that does not open audio CD:

Image


Editing:

Image


Appears only one option: Amarok and It doesn't open audio CD:

Image

_______________________________


I followed your tip and I created with Kwrite (as root) the file as you said (in usr/share/apps/solid/actions/kscd-play-audiocd-0001 ), with another name to avoid overwriting the existing file:

Code: Select all
[Desktop Entry]
    X-KDE-Solid-Predicate=OpticalDisc.availableContent & 'Audio'
    Type=Service
    Actions=open;

    [Desktop Action open]
    Name=Open with KsCD
    Exec=kscd
    Icon=kscd


After that, the configuration was ok (graphically) in "System Settings" and "Device Actions:

Image


Editing:

Image


Appears two options and is possible open audio-CD with KsCD:

Image


Thanks :)
Last edited by macxi on Aug 9th, '11, 23:58, edited 1 time in total.
macxi
 
Posts: 462
Joined: Apr 22nd, '11, 02:54
Location: Portugues of Brazil

Re: Does anyone know how to listen audio-CD in Amarok?

Postby doktor5000 » Aug 9th, '11, 22:54

macxi wrote:Yes I'll report a bug, but think it's important to understand why the file already exists there that doesn't work.

/usr/share/apps/solid/actions/kscd-play-audiocd.desktop

[Desktop Entry]
X-KDE-Solid-Predicate=StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Audio'


usr/share/apps/solid/actions/kscd-play-audiocd-0001, with another name to avoid overwriting the existing file:

Code: Select all
[Desktop Entry]
X-KDE-Solid-Predicate=OpticalDisc.availableContent & 'Audio'




This is the same problem as in:
https://bugs.mageia.org/show_bug.cgi?id=1594
Scroll down to Comment #22. VLC is also not working, that's how i fixed it locally.
Basically this is a KDE bug, and they should fix it, so that all those Actions work again.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest

cron