VK_search
Amarok 2.x Scripts
Score 74%
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:

7 years ago

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.

Ghostdmn

1 year ago

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

Report

aelich

3 years ago

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

Report

aelich

3 years ago

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

Report

ShpekTaras

3 years ago

Kubuntu 13.04
Amarok 2.7.0
KDE 4.10.5

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

Пакет libqtwebkit-dev в наличии

Report

ShpekTaras

3 years ago

Надо же, весь тред прочитал, а последнюю ветку, где есть решение - нет :)

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

Report

alexeyalexeevich

4 years ago

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)"

Report

alexeyalexeevich

4 years ago

забыл добавить

qtwebkit-devel-2.3.1-1.fc18.x86_64

Report

alternativshik

4 years ago

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

Report

alternativshik

4 years ago

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

Report

alexeyalexeevich

4 years ago

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

Report

SteBo

4 years ago

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

Report

alternativshik

4 years ago

it's known issue, see some comments above.

Report

AlexKol

1 year ago

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

Report

march84

4 years ago

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

Report

alternativshik

4 years ago

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

Report

march84

4 years ago

Thanks I will report

Report

sergeikaspd

4 years ago

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

Report

sergeikaspd

4 years ago

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

Report

alternativshik

4 years ago

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

Report

sergeikaspd

4 years ago

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

Report

truf666

4 years ago

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.

Report

extra

5 years ago

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

Report

Romanator

5 years ago

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

Report

alternativshik

5 years ago

yes. You have to be logged in

Report

elvenfighter

5 years ago

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

Report

7 years ago

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.

product-maker Ghostdmn Nov 05 2015

product-maker hello98 Nov 05 2013

product-maker mea5 Nov 05 2013

product-maker inhavk Oct 28 2013

product-maker jadrian Sep 14 2012

product-maker droper02121 Jun 13 2012

product-maker koqep Jun 05 2012

product-maker overmind88 Feb 15 2012

product-maker Vinucs Jan 23 2012

product-maker alex789 Dec 25 2011

product-maker oOSplashOo Oct 06 2011

product-maker jeast Sep 19 2011

product-maker HATRED Aug 17 2011

product-maker KNCH Jun 20 2011

product-maker aspotashev Jun 10 2011

product-maker avlas Jun 02 2011

product-maker mallrat Mar 03 2011

product-maker AHTOH Feb 23 2011

product-maker Razor13 Feb 14 2011

product-maker dexOR Sep 27 2010

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
2.2.2
updated Feb 06 2014
added Mar 16 2010
downloads today
0
page views today 1