[RELEASE] ShareSocial - Social media sharing & More

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ruuk Offline
Skilled Python Coder
Posts: 901
Joined: Aug 2005
Reputation: 133
Location: Bremerton, WA USA
Post: #1
[Image: sharesocial.jpg]

Social media sharing with XBMC

Allows addons to share to sites via other addons. Addons can register as share targets, and other addons can share to those targets.
Has an option to add a context menu modification to share media from XBMC.

[Image: screenshot002.jpg]

Includes a feed viewer and allows addons to register as a feed source.

[Image: screenshot004.jpg]

Allows you to update your status to one or more sites.
Has twitter sharing/feeds built in.

Currently works with the Facebook Media, flickr, X-Note (Evernote) addons and the builtin Twitter.

So if you have those installed you can:
View feeds from and update your status to facebook, flickr and twitter.
Share media from flickr and facebook.
Share media to Facebook, Twitter and Evernote.
With the context menu mod share any media from XBMC that is either a file or a normal web URL

More options to come as I continue to add functionality to these and my other addons.

On my REPO

Install the latest versions of the addons from the below threads (also on my REPO) to make it useful:

Facebook Media

flickr

X-Note (Evernote)
(This post was last modified: 2013-01-24 19:30 by ruuk.)
find quote
hams1000 Offline
Member
Posts: 62
Joined: Mar 2011
Reputation: 0
Location: Massachusetts
Post: #2
This is awesome. Maybe it's my skin , but ShareSocial renders my timeline in all caps.

Linux Mint- XFCE - Confluence
find quote
ruuk Offline
Skilled Python Coder
Posts: 901
Joined: Aug 2005
Reputation: 133
Location: Bremerton, WA USA
Post: #3
(2012-03-18 01:55)hams1000 Wrote:  This is awesome. Maybe it's my skin , but ShareSocial renders my timeline in all caps.
Yeah, that would be the skin. What skin btw?
While I don't have the time to make custom addon skins for every XBMC skin out there, I might be able to add some code that tries to modify the addon's font to match the fonts of the current skin. As it is, if the font name the addon uses is not a font name the skin uses (and this is often the case) then the skin's default font is used.
find quote
hams1000 Offline
Member
Posts: 62
Joined: Mar 2011
Reputation: 0
Location: Massachusetts
Post: #4
(2012-03-18 02:48)ruuk Wrote:  
(2012-03-18 01:55)hams1000 Wrote:  This is awesome. Maybe it's my skin , but ShareSocial renders my timeline in all caps.
Yeah, that would be the skin. What skin btw?
While I don't have the time to make custom addon skins for every XBMC skin out there, I might be able to add some code that tries to modify the addon's font to match the fonts of the current skin. As it is, if the font name the addon uses is not a font name the skin uses (and this is often the case) then the skin's default font is used.

Aeon MQ3. No worries I'll mess around with it. I'm happy to be able to an eye on my twitter stream from XBMC.

Linux Mint- XFCE - Confluence
find quote
hams1000 Offline
Member
Posts: 62
Joined: Mar 2011
Reputation: 0
Location: Massachusetts
Post: #5
I can't believe no one has commented on this yet. I for one want to see more info gathering addons like this. Sadly I'm not much help because I only use the twitter part of if. For displaying my timeline it's fantastic. Wouldn't mind being able to fire off a non media related tweet, I never really post what I'm watching. I do wonder if you can get embed.ly to work for embedded images.

Linux Mint- XFCE - Confluence
find quote
ruuk Offline
Skilled Python Coder
Posts: 901
Joined: Aug 2005
Reputation: 133
Location: Bremerton, WA USA
Post: #6
(2012-03-18 20:43)hams1000 Wrote:  I can't believe no one has commented on this yet. I for one want to see more info gathering addons like this. Sadly I'm not much help because I only use the twitter part of if. For displaying my timeline it's fantastic. Wouldn't mind being able to fire off a non media related tweet, I never really post what I'm watching. I do wonder if you can get embed.ly to work for embedded images.

If I understand what your asking for, you just need to bring up the context menu and select 'Update Status' and type in your Tweet. You will get to choose the target for the message (in your case, Twitter) and there you go.

I'll look into the embed.ly thing.

Also new version: (Couldn't seem to make a new post for this, it kept adding it to this post)

This version adds the ability to view youtube videos from tweets, and also adds the ability to share photos and videos from tweets.

Download Version 0.1.2
(This post was last modified: 2012-03-19 01:26 by ruuk.)
find quote
rflores2323 Offline
Posting Freak
Posts: 1,950
Joined: Jan 2009
Reputation: 2
Post: #7
is this on a repo anywhere so that it can autoupdate?

ATV1 with crystalbuntu V1 (11.eden). Theater remote URC MX-810, droidx wtih xbmc remote, or transformer tf101 with YATSE. 2 x ATV2 (V12.0 Eden).

find quote
ruuk Offline
Skilled Python Coder
Posts: 901
Joined: Aug 2005
Reputation: 133
Location: Bremerton, WA USA
Post: #8
(2012-03-19 17:03)rflores2323 Wrote:  is this on a repo anywhere so that it can autoupdate?

It plan to post it to the main repo as soon as I get more feedback that it's working well for everybody. I only released it a couple of days ago Smile
find quote
Bstrdsmkr Offline
Fan
Posts: 651
Joined: Oct 2010
Reputation: 12
Post: #9
Looking pretty awesome. I'm having a little trouble deciphering the intent behind some of the functions though. Let's say I have one of my list items that points to http://www.example.com/video.avi.

What would I need to feed to RunScript() in order to let a user share that link on Twitter?
find quote
ruuk Offline
Skilled Python Coder
Posts: 901
Joined: Aug 2005
Reputation: 133
Location: Bremerton, WA USA
Post: #10
(2012-03-20 05:49)Bstrdsmkr Wrote:  Looking pretty awesome. I'm having a little trouble deciphering the intent behind some of the functions though. Let's say I have one of my list items that points to http://www.example.com/video.avi.

What would I need to feed to RunScript() in order to let a user share that link on Twitter?
Code:
import ShareSocial

share = ShareSocial.getShare('add.on.id','video')

share.media = 'http://site.com/vid.avi'
share.thumbnail = 'http://site.com/vid_thumb.jpg'
share.title = 'appropriate title'
share.page = 'link to page media is hosted on'

share.share()

And that's basically it. Look at the code for the share object to see what other fields there are. You should fill as many as you can so that the target has options on how to display the share.

I just realized you're probably talking about a plugin scenario. In that case you have a couple of options.

You can do as above ( minus the share.share() ) and then call:
Code:
data = share.toString()

call Runscript back to your addon with the string and from there call:

Code:
share = ShareSocial.Share().fromString(data)
share.share()

Alternatively, you can can handle passing whatever data you need back to your script and then build the share at that time. The advantage of that method is that you don't need to import ShareSocial until the user is doing the sharing, outside the plugin operation, which avoids any extra delay the import causes.

All this has given me the idea that perhaps it would be nice to add share.getPluginRunScript() which would return a string you could just drop into the listitem, and which would call ShareSocial which would handle it from there.

I still need to create some documentation of course, but hopefully this is helpful Smile

My goal with this is to make it as simple as possible for an addon author to add sharing - with ShareSocial doing all the work.

Let me know if you have any more questions.
(This post was last modified: 2012-03-20 19:58 by ruuk.)
find quote
Post Reply