Skip to content

Commit

Permalink
Merge branch 'develop' into various-additions
Browse files Browse the repository at this point in the history
Conflicts:
	docs/changes.rst
  • Loading branch information
bok committed Jan 30, 2012
2 parents f5f872f + 40f5681 commit 6b79ea5
Show file tree
Hide file tree
Showing 22 changed files with 893 additions and 1,899 deletions.
6 changes: 6 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ v1.7 (in development)

- Added optional argurment ``type`` for :class:`spotify.ArtistBrowser`.

**Other changes**

- For developers: *pyspotify* now uses `libmockspotify
<https://github.com/mopidy/libmockspotify>`_ for its mocking needs. The
mock module only contains Python bindings to the *libmockspotify* API.

v1.6.1 (2011-12-29)
===================

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def fullsplit(path, result=None):
'src/toplistbrowser.c',
],
include_dirs=['src'],
libraries=['mockspotify'],
)

setup(
Expand Down
2 changes: 1 addition & 1 deletion src/albumbrowser.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "track.h"
#include "session.h"

static PyObject *
PyObject *
AlbumBrowser_FromSpotify(sp_albumbrowse * browse)
{
AlbumBrowser *b = (AlbumBrowser *)AlbumBrowserType.tp_alloc(&AlbumBrowserType, 0);
Expand Down
3 changes: 3 additions & 0 deletions src/albumbrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ typedef struct {
extern PyTypeObject AlbumBrowserType;

extern void albumbrowser_init(PyObject *m);

PyObject *
AlbumBrowser_FromSpotify(sp_albumbrowse *browse);
2 changes: 1 addition & 1 deletion src/artistbrowser.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "session.h"
#include "track.h"

static PyObject *
PyObject *
ArtistBrowser_FromSpotify(sp_artistbrowse * browse)
{
ArtistBrowser *b = (ArtistBrowser *)ArtistBrowserType.tp_alloc(&ArtistBrowserType, 0);
Expand Down
3 changes: 3 additions & 0 deletions src/artistbrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ typedef struct {
extern PyTypeObject ArtistBrowserType;

extern void artistbrowser_init(PyObject *m);

PyObject *
ArtistBrowser_FromSpotify(sp_artistbrowse * browse);
Loading

0 comments on commit 6b79ea5

Please sign in to comment.