VK_search

Amarok 2.x Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

14
Score 78.3%
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:

5 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.

9

Ghostdmn

4 years ago

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

Report

aelich

5 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

5 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

6 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

6 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

9

alexeyalexeevich

6 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

9

alexeyalexeevich

6 years ago

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

qtwebkit-devel-2.3.1-1.fc18.x86_64

Report

C

alternativshik

6 years ago

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

Report

9

alexeyalexeevich

6 years ago

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

Report

C

alternativshik

6 years ago

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

Report

SteBo

6 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

AlexKol

4 years 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

C

alternativshik

6 years ago

it's known issue, see some comments above.

Report

march84

6 years ago

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

Report

C

alternativshik

6 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

6 years ago

Thanks I will report

Report

sergeikaspd

7 years ago

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

Report

C

alternativshik

7 years ago

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

Report

sergeikaspd

7 years ago

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

Report

sergeikaspd

7 years ago

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

Report

truf666

7 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

7 years ago

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

Report

Romanator

7 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

C

alternativshik

7 years ago

yes. You have to be logged in

Report

elvenfighter

7 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

5 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.

12345678910
218
product-maker Ghostdmn Nov 05 2015 9 excellent
product-maker hello98 Nov 05 2013 3 bad
product-maker mea5 Nov 05 2013 3 bad
product-maker inhavk Oct 28 2013 9 excellent
product-maker alexeyalexeevich Jun 12 2013 9 excellent
product-maker jadrian Sep 14 2012 9 excellent
product-maker koqep Jun 05 2012 9 excellent
product-maker overmind88 Feb 15 2012 9 excellent
product-maker Vinucs Jan 23 2012 9 excellent
product-maker alex789 Dec 25 2011 9 excellent
product-maker oOSplashOo Oct 06 2011 9 excellent
product-maker jeast Sep 19 2011 9 excellent
product-maker HATRED Aug 17 2011 9 excellent
product-maker KNCH Jun 20 2011 9 excellent
product-maker aspotashev Jun 10 2011 9 excellent
product-maker avlas Jun 02 2011 9 excellent
product-maker mallrat Mar 03 2011 9 excellent
product-maker AHTOH Feb 23 2011 9 excellent
product-maker Razor13 Feb 14 2011 9 excellent
product-maker dexOR Sep 27 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
koqep
Jun 05 2012
alex789
Dec 20 2011
HATRED
Aug 17 2011
gericom
Aug 17 2011
aspotashev
Jun 10 2011
mallrat
Mar 03 2011
overmind88
Aug 26 2010
ValentynPavliuchenko
Jul 09 2010
extra
Jun 10 2010
jeast
May 08 2010
Znurre
Apr 25 2010
kdel00k
Apr 19 2010
rub3nmv
Mar 18 2010
residentsummer
Mar 18 2010
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
2.2.2
updated Feb 06 2014
added Mar 16 2010
downloads 24h
2
pageviews 24h 3
System Tags addon