Posts: 17,859
Joined: Jul 2011
Reputation:
371
What could now maybe be made easier is the add-on also controlling the "enable debug"? Using JSON_RPC you could control the debug from the addon so you can simply tell users to enable it in the addon and disable it. Just a thought.
Posts: 6,566
Joined: Apr 2008
Reputation:
160
natethomas
Enjoying Retirement by Staying Busy
Posts: 6,566
Couldn't we treat the addon/website the same way we treat thetvdb and similar sites? We just make it the default addon for post logs, while allowing users to use other addons if they are developed. That way, it doesn't really matter if there's advertising or other junk, it's just the random site we decided to default to.
Posts: 4,061
Joined: Oct 2007
Reputation:
90
zag
Team-Kodi Member
Posts: 4,061
Must have missed this thread.
Massive +1 from me.
Posts: 17,859
Joined: Jul 2011
Reputation:
371
let's wait on the log refactor first before taking any action.
also xbmclogs.com hasn't been really stable lately
Posts: 10,675
Joined: Oct 2011
Reputation:
657
jjd-uk
Team-Kodi Member
Posts: 10,675
Could the upload location to customisable? Maybe have both xbmclogs.com and pastebin.com as built-in options and then ability to specify a URL for any other location.
Posts: 17,859
Joined: Jul 2011
Reputation:
371
2015-02-17, 10:28
(This post was last modified: 2015-02-17, 10:29 by Martijn.)
on linux you can use pastebinit right? Maybe that's an option which gives you back the URL or some intermediate service that mails you the URL
That way you can fall back on another service if needed
Posts: 2,064
Joined: Jan 2009
Reputation:
34
prae5
Team-XBMC Forum Moderator
Posts: 2,064
Sorry, this is brief as I'm need to nip out for an hour or so (shout if i miss any of the questions above).
A little backstory as to why the site has been unstable over the past 4 or 5 months. About 6 months ago, I added some additional filtering to the site to try and cut out some of the links to piracy content that was being posted and mentioned in some of the logs. This is to try and limit the number of takedown notices I was receiving and additionally to stop both my ad account and google analytics account getting terminated (todays top tip - don't use your main GA account on a site like this!).
Shortly after this, I was approached by some other XBMC/Kodi "enthusiasts" groups - lets just say some that have a more open policy to the use of questionable content within their addons. They asked me to remove some of this filtering or help them setup their own site. In the first instance I said I would think about it, but very quickly decided as nice as it would be to remove that content, i didn't really want to work with them to set their own site up. I gave them a brief overview of what they needed to do and thought that would be that....
Every now and again I get another request from them asking to help them, I ignore these now, however coincidently around about these times, when I don't reply I see a massive spike in traffic coming to the server. I cannot confirm who is doing it, I will just let you draw your own conclusions.
1. For the moment i need to offset the cost of the site, so it needs to come from ads or donations. I'll happily remove ads if i can get enough donations to cover 12 months of costs (ads do not come close to covering the cost - i'm not making anything from this).
2. Site typically sees about 5-15gb of logs uploaded a week, they are stored in a mysql db on a 60gb ssd raid partition. That is why i nuke logs older than 3 weeks.
3. I did chat with pastebin.com a while ago to see if i could set something up with them, when I explain why I wanted to move (spam/takedowns) they weren't interested at all - disappointing, but understandable.
4. When the site is being spammed, they are uploading about 20-30gb+ of logs every couple of hours. Additionally we got the odd DDoS that completely saturated the 10Gb uplink coming to the rack.
5. Forgetting the abuse we were outgrowing the server it was hosted on anyway, I'm moving it to better server now and looking at getting some filtered IP's that will give better DDoS mitigation.
6. Longer term I need to look at moving it to a completely dedicated server with a good chunk of ram in it to keep mysql happy.
On a more positive side, this has given me a push to upgrade to a few things and add some new features. These are pretty much all good to go, I just need to spend a little time with sphere to get the addon using the new api.
Posts: 4,061
Joined: Oct 2007
Reputation:
90
zag
Team-Kodi Member
Posts: 4,061
Prae5, I've nominated you for a little help from kodi if this feature gets in.
Maybe look at limiting the spam somehow from single IP addresses.
Great to see this moving forward anyway. It will be a huge improvement for Kodi.