Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Save the ampache url, username, and password.

src/v/i/Viridian-HEAD/tests/auth.py   Viridian(Download)
# Create the AmpacheSession object
ampache_conn = AmpacheSession.AmpacheSession()
ampache_conn.set_credentials(conf['username'], conf['password'], conf['url'])
 
# Auth

src/v/i/Viridian-HEAD/tests/artists.py   Viridian(Download)
# Create the AmpacheSession object
ampache_conn = AmpacheSession.AmpacheSession()
ampache_conn.set_credentials(conf['username'], conf['password'], conf['url'])
 
if not ampache_conn.authenticate():