[Release] flickr plugin in svn repo

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dmdpa Offline
Junior Member
Posts: 5
Joined: Dec 2009
Reputation: 0
Post: #21
In case that helps, here's what is captured in the log with XBMC in debug mode during an authentication session with the flickr:

Code:
18:43:30 T:47691776 M: 48877568  NOTICE: -->Python Interpreter Initialized<--
18:43:30 T:47691776 M: 48885760   DEBUG: Process - The source file to load is special://home/plugins/pictures/flickr/default.py
18:43:30 T:47691776 M: 48885760   DEBUG: Process - Setting the Python path to /Users/frontrow/Library/Application Support/XBMC/plugins/pictures/flickr:/mnt/Scra
tch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/system/python/Lib:/mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/sys
tem/python/lib/python24.zip:/mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/:/mnt/Scratch/Users/frontrow/A
pplications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/plat-darwin:/mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/s
ystem/python/lib/python2.4/plat-mac:/mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/plat-mac/lib-scriptpac
kages:/mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/lib-tk:/mnt/Scratch/Users/frontrow/Applications/XBMC
.app/Contents/Resources/XBMC/system/python/lib/python2.4/lib-dynload
18:43:30 T:47691776 M: 48885760   DEBUG: Process - Entering source directory /Users/frontrow/Library/Application Support/XBMC/plugins/pictures/flickr
18:43:30 T:47691776 M: 48873472  NOTICE: [PLUGIN] 'flickr: Version - 1.5.3-r' initialized!
18:43:30 T:47691776 M: 48873472  NOTICE:      ** Required XBMC Revision: r19001 **
18:43:30 T:47691776 M: 48873472  NOTICE:      ** Found XBMC Revision: r26018 [Compatible] **
18:43:31 T:2684407808 M: 48390144    INFO: Loading skin file: DialogProgress.xml
18:43:31 T:2684407808 M: 48648192   DEBUG: Load DialogProgress.xml: 79.56ms
18:43:31 T:2684407808 M: 48656384   DEBUG: ------ Window Init (DialogProgress.xml) ------
18:43:31 T:2684407808 M: 48623616   DEBUG: Alloc resources: 0.81ms (0.00 ms skin load)
18:43:31 T:2684407808 M: 48615424   DEBUG: ------ Window Init (DialogPluginSettings.xml) ------
18:43:31 T:2684407808 M: 48615424    INFO: Loading skin file: DialogPluginSettings.xml
18:43:31 T:2684407808 M: 48336896   DEBUG: Load DialogPluginSettings.xml: 11.16ms
18:43:31 T:2684407808 M: 48267264   DEBUG: Alloc resources: 13.47ms (11.44 ms skin load)
18:43:34 T:2684407808 M: 47337472    INFO: Loading skin file: DialogKeyboard.xml
18:43:34 T:2684407808 M: 47304704   DEBUG: Load DialogKeyboard.xml: 63.47ms
18:43:34 T:2684407808 M: 47304704   DEBUG: ------ Window Init (DialogKeyboard.xml) ------
18:43:34 T:2684407808 M: 47165440   DEBUG: Alloc resources: 17.94ms (0.00 ms skin load)
18:43:50 T:2684407808 M: 47546368    INFO: CheckIdle - Closing session to http://www.google.com (easy=0xab72000, multi=0x0)
18:43:50 T:2684407808 M: 47513600    INFO: CheckIdle - Closing session to http://feeds.feedburner.com (easy=0xb7d1000, multi=0xbb90a90)
18:43:51 T:2684407808 M: 47513600   DEBUG: ------ Window Deinit (DialogKeyboard.xml) ------
18:43:53 T:45246464 M: 47800320   DEBUG: Thread 45246464 terminating (autodelete)
18:43:53 T:42990592 M: 47800320   DEBUG: Thread 42990592 terminating (autodelete)
18:43:53 T:42667520 M: 47845376   DEBUG: Thread 42667520 terminating (autodelete)
18:44:06 T:2684407808 M: 47828992   DEBUG: RunScriptWithParams - calling plugin special://home/plugins/pictures/flickr/default.py('plugin://pictures/flickr/','-
1','?authorize=True')
18:44:06 T:2684407808 M: 47828992    INFO: initializing python engine.
18:44:06 T:2684407808 M: 47828992   DEBUG: new python thread created. id=29
18:44:06 T:42990592 M: 47824896   DEBUG: thread start, auto delete: 0
18:44:06 T:42990592 M: 47824896   DEBUG: Python thread: start processing
18:44:06 T:2684407808 M: 47820800   DEBUG: ------ Window Deinit (DialogPluginSettings.xml) ------
18:44:07 T:47691776 M: 47620096    INFO: Scriptresult: Success
18:44:07 T:2684407808 M: 47620096   DEBUG: WaitOnScriptResult- plugin returned successfully
18:44:07 T:2684407808 M: 47620096   DEBUG: Saving fileitems [plugin://pictures/flickr/]
18:44:07 T:2684407808 M: 47620096   DEBUG:   -- items: 5, sort method: 0, ascending: false
18:44:07 T:46967296 M: 47632384   DEBUG: thread start, auto delete: 0
18:44:07 T:46967296 M: 47624192   DEBUG: Thread 46967296 terminating
18:44:07 T:47734784 M: 47669248   DEBUG: thread start, auto delete: 0
18:44:07 T:47734784 M: 47669248   DEBUG: Thread 47734784 terminating
18:44:07 T:42990592 M: 47669248  NOTICE: -->Python Interpreter Initialized<--
18:44:07 T:42990592 M: 47669248   DEBUG: Process - The source file to load is special://home/plugins/pictures/flickr/default.py
18:44:07 T:42990592 M: 47669248   DEBUG: Process - Setting the Python path to /Users/frontrow/Library/Application Support/XBMC/plugins/pictures/flickr:/mnt/Scra
tch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/system/python/Lib:/mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/sys
tem/python/lib/python24.zip:/mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/:/mnt/Scratch/Users/frontrow/A
pplications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/plat-darwin:/mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/s
ystem/python/lib/python2.4/plat-mac:/mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/plat-mac/lib-scriptpac
kages:/mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/lib-tk:/mnt/Scratch/Users/frontrow/Applications/XBMC
.app/Contents/Resources/XBMC/system/python/lib/python2.4/lib-dynload
18:44:07 T:42990592 M: 47669248   DEBUG: Process - Entering source directory /Users/frontrow/Library/Application Support/XBMC/plugins/pictures/flickr
18:44:07 T:2684407808 M: 45481984   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
18:44:08 T:47691776 M: 46444544    INFO: Python script stopped
18:44:08 T:47691776 M: 46460928   DEBUG: Thread 47691776 terminating
18:44:08 T:2684407808 M: 46526464   DEBUG: python thread 28 destructed
18:44:13 T:42990592 M: 37998592    INFO: Loading skin file: DialogYesNo.xml
18:44:13 T:42990592 M: 38133760   DEBUG: Load DialogYesNo.xml: 87.12ms
18:44:13 T:2684407808 M: 38133760   DEBUG: ------ Window Init (DialogYesNo.xml) ------
18:44:13 T:2684407808 M: 38117376   DEBUG: Alloc resources: 1.13ms (0.00 ms skin load)
18:45:07 T:43152384 M: 36741120  NOTICE: ES: Client  from 127.0.0.1 timed out
18:50:27 T:2684407808 M: 36540416   DEBUG: ------ Window Deinit (DialogYesNo.xml) ------
18:50:27 T:42990592 M: 37642240    INFO: Scriptresult: Success
18:50:28 T:42990592 M: 37642240    INFO: Python script stopped
18:50:28 T:42990592 M: 37662720   DEBUG: Thread 42990592 terminating
18:50:28 T:2684407808 M: 37728256   DEBUG: python thread 29 destructed
18:50:28 T:2684407808 M: 37728256    INFO: Python, unloading python24.dll because no scripts are running anymore
18:50:28 T:2684407808 M: 37728256   DEBUG: UnloadExtensionLibs, clearing python extension libraries
18:50:28 T:2684407808 M: 37728256   DEBUG: Unloading: python24-x86-osx.so
find quote
Nuka1195 Online
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #22
first don't post logs here, use pastebin. i'm sure that's in a sticky somewhere.

i already answered you.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
dmdpa Offline
Junior Member
Posts: 5
Joined: Dec 2009
Reputation: 0
Post: #23
Nuka1195 Wrote:ah yeah, that's an old version 1.5.3.

I just got this from SVN earlier today Smile
Is there a newer version available anywhere online?
Thanks again!
find quote
Nuka1195 Online
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #24
ok, stop posting now and read. you will get no further help here.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
dmdpa Offline
Junior Member
Posts: 5
Joined: Dec 2009
Reputation: 0
Post: #25
Our posts crossed in the ether.

Thanks for 1.5.4 - that solved the authentication problem: I can see the auth URL in the log and successfully used it. This gave me my favorites and contacts. However, I can only access *public* content: public photos from my contacts, public favorites - and not my private sets, or private content from my contacts. Not sure if this is an expected limitation or not but thought I would report it either way...
find quote
marathont Offline
Junior Member
Posts: 37
Joined: Jan 2006
Reputation: 0
Post: #26
I am trying to get authorization to work in xbmclive 9.11. I have downloaded version 1.5.4. I ger the flickr api url from the log and paste into my browser and it authenticates succesfully.

When i try to open the filckr plugin, I get 'UserI id is invalid please verify your settings'.

Edit: It works now - I just changed my username from xxxx@yahoo.com to xxxx.
(This post was last modified: 2009-12-30 15:31 by marathont.)
find quote
ingouk Offline
Junior Member
Posts: 2
Joined: Dec 2009
Reputation: 0
Post: #27
i got the authorization working via the URL in the log file. but i can't access any photosets. i got several on flickr, but when i select "My Photosets" in XBMC it starts looking for them but then goes back to the screen where i can select "My Photosets"
Logfile snippet is:

http://www.pastebin.org/70020

cheers

Ingo
find quote
Post Reply