Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

12
Become a Fan
7.7

Description:
Listen music from VK.com in Amarok

ATTENTION!
For correct work on some distributives you need to do:
download http://packages.debian.org/en/sid/amd64/libqtwebkit-dev/download
and copy file 'libqwebview.so' /usr/share/qt4/plugins/designer/libqwebview.so
Last changelog:

V. 2.2.2
Fix bugs && some improvements

V. 2.2.1
Fix status bugs.
Fix auth && permission errors.

V. 2.2
Fix status bugs.

V. 2.1.1
Fix update search results bug && little fixes

V. 2.1
Auth fixes + status update when song was changed

V. 2.0
Totally rewrited.
Included OAuth for listen your music and music from your friends.


V.0.1.7
Little refactoring & fixes

V.0.1.6
Add smart search like 'ьуефддшсф'->'metallica'

V. 0.1.5
Fix Amarok 2.4.1 bug

V. 0.1.4
Little fixes

V. 0.1.3
- Group songs by artist
- Shows correct track info
tnx Konstantin Burov

V. 0.1.2
- Don`t repeate songs with the same author, name & duration in search results.
- Html entities replace with correct symbols like ` & etc.


Ratings & Comments

109 Comments

Ghostdmn

Спасибки, годно. Только ссылку можно менять. libqwebview.so теперь только в wheezy остался.

aelich

Amarok crashed on start -- alex@linux-sjbb:~> amarok -v Qt: 4.8.1 KDE: 4.8.5 (4.8.5) "release 2" Amarok: 2.6.0 -- REPORT: alex@linux-sjbb:~> amarok QUrl( "http://ws.audioscrobbler.com/2.0/?api_key=&lang=en&method=user.getNeighbours&user=" ) QUrl( "http://ws.audioscrobbler.com/2.0/?api_key=&lang=en&method=user.getFriends&user=" ) QUrl( "http://ws.audioscrobbler.com/2.0/?api_key=&lang=en&method=user.getTopTags&user=" ) QUrl( "http://ws.audioscrobbler.com/2.0/?api_key=&lang=en&method=user.getTopArtists&user=" ) TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Header::parse() -- Invalid sample rate. QWidget::insertAction: Attempt to insert null action Object::disconnect: Unexpected null parameter Object::disconnect: Unexpected null parameter ********************************************************************************************** ** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: ** ** amarok --debug ** ********************************************************************************************** Expected node absent: neighbours QMetaObject::invokeMethod: No such method App::onWsError(lastfm::ws::Error) lastfm::ws::Error Expected node absent: topartists Expected node absent: friends alex@linux-sjbb:~> X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x7600012 -- I have by defolult file no problem there: libqwebview.so

aelich

FULL REPORT: alex@linux-sjbb:~> amarok QUrl( "http://ws.audioscrobbler.com/2.0/?api_key=&lang=en&method=user.getNeighbours&user=" ) QUrl( "http://ws.audioscrobbler.com/2.0/?api_key=&lang=en&method=user.getFriends&user=" ) QUrl( "http://ws.audioscrobbler.com/2.0/?api_key=&lang=en&method=user.getTopTags&user=" ) QUrl( "http://ws.audioscrobbler.com/2.0/?api_key=&lang=en&method=user.getTopArtists&user=" ) TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Header::parse() -- Invalid sample rate. QWidget::insertAction: Attempt to insert null action Object::disconnect: Unexpected null parameter Object::disconnect: Unexpected null parameter ********************************************************************************************** ** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: ** ** amarok --debug ** ********************************************************************************************** alex@linux-sjbb:~> Expected node absent: neighbours QMetaObject::invokeMethod: No such method App::onWsError(lastfm::ws::Error) lastfm::ws::Error Expected node absent: topartists Expected node absent: friends X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x7800012 KCrash: Application 'amarok' crashing... KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit sock_file=/home/alex/.kde4/socket-linux-sjbb.site/kdeinit4__0 QSocketNotifier: Invalid socket 40 and type 'Read', disabling... QSocketNotifier: Invalid socket 51 and type 'Read', disabling... QSocketNotifier: Invalid socket 52 and type 'Read', disabling... QSocketNotifier: Invalid socket 79 and type 'Read', disabling... QSocketNotifier: Invalid socket 89 and type 'Read', disabling... QSocketNotifier: Invalid socket 73 and type 'Read', disabling... QSocketNotifier: Invalid socket 85 and type 'Read', disabling... QSocketNotifier: Invalid socket 87 and type 'Read', disabling... QSocketNotifier: Invalid socket 86 and type 'Read', disabling... QSocketNotifier: Invalid socket 90 and type 'Read', disabling... QSocketNotifier: Invalid socket 40 and type 'Read', disabling... QSocketNotifier: Invalid socket 56 and type 'Read', disabling... ^C

ShpekTaras

Kubuntu 13.04 Amarok 2.7.0 KDE 4.10.5 Установил скрипт через Scripts - Manage Scripts, перезагрузил Amarok, никакого результата. В меню Settings пункта "Авторизация VK.com" (как на катинке) нету, в источниках VK тоже не появился. Пакет libqtwebkit-dev в наличии

ShpekTaras

Надо же, весь тред прочитал, а последнюю ветку, где есть решение - нет :) This script doesn't work, because in /usr/share/qt4/plugins/designer/ missed file libqwebview.so This missed file you can find, for example, in this package: http://packages.debian.org/en/sid/amd64/libqtwebkit-dev/download Filepath in package libqtwebkit-dev_2.2.1-6_amd64.deb -> data.tar.xz -> /usr/lib/x86_64-linux-gnu/qt4/plugins/designer -> libqwebview.so

alexeyalexeevich

Fedora 18 Qt: 4.8.4 KDE" 4.10.3 Amarok: 2.7.1 "QFormBuilder was unable to create a custom widget of the class 'QWebView'; defaulting to base class 'QWidget'." amarok: [ERROR__] [ScriptManager] "Script Error: TypeError: Result of expression 'webView.urlChanged' [undefined] is not an object. (line: 41)"

alexeyalexeevich

забыл добавить qtwebkit-devel-2.3.1-1.fc18.x86_64

alternativshik

Судя по баг трекеру убунты, в Qt забыли добавить QWebView widget. https://bugs.launchpad.net/ubuntu/+source/qtwebkit-source/+bug/674367 Попробуйте поискать пакет с файлом /usr/share/qt4/plugins/designer/libqwebview.so

alternativshik

скачайте пакет, например вот этот http://packages.debian.org/en/sid/amd64/libqtwebkit-dev/download или для федоры но старой версии распакуйте и скопируйте файл libqwebview.so для ubuntu это путь /usr/share/qt4/plugins/designer/libqwebview.so

alexeyalexeevich

Спасибо, помогло =)

SteBo

This scripts makes Amarok 2.7 crash on startup. I am using Kubuntu 12.10 amd64 and amarok 2:2.7.0-0ubuntu1~ubuntu12.10~ppa1

alternativshik

it's known issue, see some comments above.

AlexKol

Solution, which stated above, did not work for me. To solve this issue on my kubuntu 15.04 x64 I put file libqwebview.so here /usr/lib/x86_64-linux-gnu/qt4/plugins/designer/libqwebview.so

march84

After having installed the latest version of the script and logged in, amarok crashes on startup

alternativshik

It`s known issue. This bug somewhere in Qt. You can confirm this problem there https://bugs.kde.org/show_bug.cgi?id=309515

march84

Thanks I will report

sergeikaspd

Яж свихнусь..как его установить? я даже через настройки поставил с каталога, но далше понятия не имею что делать..

sergeikaspd

Пардон, дальше*

alternativshik

К сожалению, дежурные телепаты ушли в отпуск. Поэтому, могу только посоветовать прочитать топик http://habrahabr.ru/post/145097/ + комменты Ну и здесь комменты тоже неплохо было бы прочитать - все косяки описаны.

sergeikaspd

я понял свою ошибку) не поставил тот самый замечательный пакет и его зависимости.

truf666

Great Work! But I faced with some problems during installation and suggest you posting your own solution somewhere in description or knowlidge base: "Если у вас не работает плагин и он не появляется в меню — поставьте пакет libqtwebkit-dev (для Ubuntu — для вашей системы уточните название). Также, есть проблема при работе с бекендом mplayer — не проигрываются треки и крешится Амарок. " After that i made system reboot to make things work.

extra

проигрывание аудио из групп (сообществ) было бы очень круто реализовать. ибо много тематических сообществ по стилям и испонителям. было бы очень удобно.

Romanator

Ever since you've updated your script to include logging in to vk.com. I cannot search for artists on vk.com on Amarok 2.5. Do I have to be logged in to vk.com to receive data? Roman

alternativshik

yes. You have to be logged in

elvenfighter

After entering a valid email/pass and confirming data access the window says 'security breach'. P.S. I'm totally sure that email/pass are correct

Pling
0 Affiliates
Details
license
version 2.2.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

Other Amarok 2.x Scripts:

raya
raya1234
last update date: 15 years ago

Score 5.0

Partition Assistant
shiny521
last update date: 15 years ago

Score 5.0

google-clone
jenifferhomes
last update date: 15 years ago

Score 5.6

Quran Audio Library
boubakr92
last update date: 12 years ago

Score 4.4

Remove Current Track
alexoleshkevich
last update date: 14 years ago

Score 4.7

indoLyrics
cyrus007
last update date: 14 years ago

Score 4.7



System Tags