Sharp-Frost/Deezer-XBMC — pull request #2 by t-oster (2013-08-20 08:22:32+00:00)
Title: Fix: idAlbum and idTrack can be Integers

Hi,

I got this:

```
23:31:36 T:140648454067968 NOTICE: Args:?idItem=277449&mode=resultSearchAlbum
23:31:36 T:140648454067968 NOTICE: {'idItem': '277449', 'mode': 'resultSearchAlbum'}
23:31:36 T:140648454067968 NOTICE: DeezerAPI.searchAlbumSongs:277449
23:31:36 T:140648454067968 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type:
Error Contents: cannot concatenate 'str' and 'int' objects
Traceback (most recent call last):
File "/home/thommy/.xbmc/addons/plugin.audio.deezer/deezer.py", line 106, in
deezerApi.searchAlbumSongs(idItem)
File "/home/thommy/.xbmc/addons/plugin.audio.deezer/DeezerAPI.py", line 201, in searchAlbumSongs
track=self.getTrack(value.id);
File "/home/thommy/.xbmc/addons/plugin.audio.deezer/DeezerAPI.py", line 240, in getTrack
track = self.getRemoteData(base_url+'track/'+idTrack)
TypeError: cannot concatenate 'str' and 'int' objects
-->End of Python script error report<--
```

... so i fixed it. Should not break anything, because str also works on strings and does not change anything.