Kodi Community Forum

Full Version: [RELEASE] Sonora - listen music for free
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Sonora Plugin for XBMC

I want to introduce my first XBMC Plugin, Its called Sonora.

Sonora from Terra is a free service to listen music online, specially Latin American Music.


Version 1.0.4
  • Added the Ranking category
  • Added the rating in music
  • Added the Search category
  • Fix the language in SonoraCore

Version 1.0.1
  • Include Catalog
  • Feature songs
  • Feature Playlist
  • See Ranking artist in Sonora

Wish list
  • Test outside latin america
  • Search function
  • Download function for free
  • Be accepted as official XBMC Plugin

Repository Download Link
Hi lirva, thanks work here, but if i put my e-mail and password, have error, I log fine in sonora.terra.com.br, but have error when try via plugin, any tip? if I set blank for username and password (no data), work fine.

Here thread in XBMC Brasil Forum, about your plugin

Thanks for your interest, can you use your username not your email?

Yes, same error

Windows 8, XBMC gotham, skin ace

4:18:22 T:5964 NOTICE: -----------------------------------------------------------------------
14:18:22 T:5964 NOTICE: Starting XBMC 13, Platform: Windows 8 32-bit, build 7600. Built on Apr 29 2013 (compiler 1600)
14:18:22 T:5964 NOTICE: Intel® Pentium® CPU G620 @ 2.60GHz
14:18:22 T:5964 NOTICE: Desktop Resolution: 1920x1080 32Bit at 60Hz
14:18:22 T:5964 NOTICE: Running with administrator rights
14:18:22 T:5964 NOTICE: Aero is enabled
14:18:22 T:5964 NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
14:18:22 T:5964 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files\XBMC
14:18:22 T:5964 NOTICE: special://masterprofile/ is mapped to: C:\Users\Wanilton\AppData\Roaming\XBMC\userdata
14:18:22 T:5964 NOTICE: special://home/ is mapped to: C:\Users\Wanilton\AppData\Roaming\XBMC\
14:18:22 T:5964 NOTICE: special://temp/ is mapped to: C:\Users\Wanilton\AppData\Roaming\XBMC\cache
14:18:22 T:5964 NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
14:18:22 T:5964 NOTICE: Local hostname: HTPC
14:18:22 T:5964 NOTICE: Log File is located: C:\Users\Wanilton\AppData\Roaming\XBMC\xbmc.log
14:18:22 T:5964 NOTICE: -----------------------------------------------------------------------

14:21:00 T:7876 NOTICE: -->Python Interpreter Initialized<--
14:21:01 T:7876 NOTICE: ARGV Parameters: ['plugin://plugin.audio.sonora/', '1', '']
14:21:01 T:7876 NOTICE: CommonFunctions-2.5.1
14:21:02 T:7876 NOTICE: [Sonora] URL: http://webservices.sonora.terra.com.br/G...version=10
14:21:03 T:7876 NOTICE: [Sonora] URL: http://webservices.sonora.terra.com.br/U...ord=Cenpro
14:21:03 T:7876 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'str' object has no attribute 'result'
Traceback (most recent call last):
File "C:\Users\Wanilton\AppData\Roaming\XBMC\addons\plugin.audio.sonora\default.py", line 61, in <module>
File "C:\Users\Wanilton\AppData\Roaming\XBMC\addons\plugin.audio.sonora\SonoraLogin.py", line 54, in login
result, status = self.core.account_auth(username, userpassword)
File "C:\Users\Wanilton\AppData\Roaming\XBMC\addons\plugin.audio.sonora\SonoraCore.py", line 103, in account_auth
result = 'Account authentication failed: ' . result['messageText']
AttributeError: 'str' object has no attribute 'result'
-->End of Python script error report<--
14:21:03 T:5964 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.audio.sonora
14:21:03 T:5964 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.sonora) failed
14:21:04 T:10148 NOTICE: Thread BackgroundLoader start, auto delete: false
14:21:08 T:1960 NOTICE: Thread XBPython start, auto delete: false
Thanks for the addon!
Unfortunately it doesn't work very good outside latin america. I'm in germany and I can't login and the only sections I can access are "catalog" and "featured". Search and ranking don't work at all.
I'll try it later with a proxy.
Hi wanilton, I see that your password is wrong, can you test your username and password in a mobile device as iPhone or Android using the Sonora Official Application?

However thanks for the feedback I will show in XBMC interface when the password and username are wrong.

Tested here in mobile with APP Android e log fine, same user, same password, but in xbmc using plugin, same error, is other thing the trouble, my user and pw is fine.
Hi Wanilton


If you enter to this link Sonora returns that password is wrong? in my country it get this error
Look the image, log is fine via web, via app too..


I don´t know why don´t work via plugin
Thanks for your response, I see that Cenpro is your username and in the log is your password?, is anyone have this problem?

(2013-04-30, 10:29)perro6969 Wrote: [ -> ]Thanks for the addon!
Unfortunately it doesn't work very good outside latin america. I'm in germany and I can't login and the only sections I can access are "catalog" and "featured". Search and ranking don't work at all.
I'll try it later with a proxy.

I'm sorry but the ranking and search sections are not working now, however I see that other sections works fine Smile Thanks for your feedback
The version 1.0.2 doesn't work at all. I just wanted to let you know. Maybe in south america it works...
Can you send me the log? The catalog browse must work outside Latin America

Not working in Germany.

Hi eye in the sky

can you open in your browser the following URL?

and send me the output in pastebin? thanks!
Pages: 1 2