FAQ  •  Register  •  Login

ServiiDroid (Android Console) - Get it on Google Play

<<

brijoco

User avatar

Serviio newbie

Posts: 7

Joined: Sat Jun 23, 2012 10:18 am

Post Sun Jul 22, 2012 11:57 am

Re: ServiiDroid (Android Console) - Get it on Google Play

will wrote:Unfortunately it isn't that easy......


Just to let you know I continue to test my lack of graphical abilities! mmmmmm!
Regards,
Brian
---------------------------------------------------------------------------
Serviio v1.0.1 - On Win 7 Lenovo 4 core AMD 6GB lappy
Serviio v1.0.1 - On Linux QNAP 419PII - File & media server
ServiiDroid v1.8.2 - On Android v4.0.3 Tablet S
Gigabit LAN - BDV-40LX903 - BDV-E370 - Various Smartphones
---------------------------------------------------------------------------
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Tue Jul 24, 2012 5:53 pm

Re: ServiiDroid (Android Console) - Get it on Google Play

Hi, will, nice work on final ServiiGo.

Are you looking to include license file upload for ServiiDroid?
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue Jul 24, 2012 5:55 pm

Re: ServiiDroid (Android Console) - Get it on Google Play

Thanks, still have a lot to do to in, hoping for lots of improvements over the summer.

Do you want it? I didn't include it as it is a rare, 1 off thing.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Tue Jul 24, 2012 6:01 pm

Re: ServiiDroid (Android Console) - Get it on Google Play

Think it would be helpful if any user wants to upload the licence on multiple devices.

Currently on my NAS (not installed it yet) i have to use the windows console.
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue Jul 24, 2012 6:05 pm

Re: ServiiDroid (Android Console) - Get it on Google Play

OK. The main problem is that android doesn't provide a file picker which is a bit of a pain (you have to write your own/include yet another library), but I might be able to set it up so that if you click on a .lic file (e.g. open the email attachment), you get an option to open it in ServiiDroid and then pick the server to apply it to. I'll look into next week.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jul 24, 2012 10:48 pm

Re: ServiiDroid (Android Console) - Get it on Google Play

Maybe you could hook it up with the license email link somehow?
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Wed Jul 25, 2012 6:25 am

Re: ServiiDroid (Android Console) - Get it on Google Play

How do you mean? I thought you had to get the license via a site, which then sends an email with a .lic file. I would make clicking on a .lic give you an open to open it with ServiiDroid and upload it to a server.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 25, 2012 8:14 am

Re: ServiiDroid (Android Console) - Get it on Google Play

Once you pay you get an email with a link to download the .lic file. The URL expires in 7 days.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Wed Jul 25, 2012 8:45 am

Re: ServiiDroid (Android Console) - Get it on Google Play

What about copying the text contents of the .lic file, on my iPad it automatically shows the contents in Safari.
On my Android phone it downloads the file and gives options to open up with a text editor.

The best solution would be a file upload somehow similar to the windows version or searches for the file in the "Download" folder. I got a few pm's and post over at QNAP forums on how to apply the pro licence and v1.0 for QNAP not been officially released yet, so ideally file upload would be the best solution and easiest for the end user.
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Wed Jul 25, 2012 9:01 am

Re: ServiiDroid (Android Console) - Get it on Google Play

Ok, I'll try to associate both the link and the licence files. That way you can either open the email link directly, or download and then open it.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Thu Jul 26, 2012 8:23 am

Re: ServiiDroid (Android Console) - Get it on Google Play

@zip the server kept returning xml to me, despite asking for application/json in the same way I do for everything else, any ideas? There is also a typo in the docs, it says 'plain/text' not 'text/plain' I copied it withouth thinking it looked odd and then wondered why I kept getting HTTP 415.

EDIT: Uploaded a revised version that is pretty much ready to go, just waiting on someone to double check for me that it works, then I'll upload it to google play.

You should be able to click on an email link, any file ending with .lic or text file containing 'Serviio', then select ServiiDroid, click on the server, and if it all goes well you will see your new license info at the end.
Last edited by will on Thu Jul 26, 2012 5:49 pm, edited 2 times in total.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jul 26, 2012 9:14 am

Re: ServiiDroid (Android Console) - Get it on Google Play

will wrote:@zip the server kept returning xml to me, despite asking for application/json in the same way I do for everything else, any ideas? There is also a typo in the docs, it says 'plain/text' not 'text/plain' I copied it withouth thinking it looked odd and then wondered why I kept getting HTTP 415.

Which resource? I'll fix the typo
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Thu Jul 26, 2012 9:17 am

Re: ServiiDroid (Android Console) - Get it on Google Play

PUT /rest/license-upload

It doesn't matter too much as I can search the string for the error codes, so don't have to parse it in the same way that I do for the rest, it was just a little odd.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jul 26, 2012 5:13 pm

Re: ServiiDroid (Android Console) - Get it on Google Play

It works for me, setting Accept header to application/json returns

  Code:
{
    "errorCode": 555,
    "httpCode": 400
}
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Thu Jul 26, 2012 5:16 pm

Re: ServiiDroid (Android Console) - Get it on Google Play

zip wrote:It works for me, setting Accept header to application/json returns

  Code:
{
    "errorCode": 555,
    "httpCode": 400
}

It is working for me now so there must have been something else wrong in the request that broke it. Sorry.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Thu Jul 26, 2012 5:49 pm

Re: ServiiDroid (Android Console) - Get it on Google Play

I've uploaded an update with support for uploading license files. I've also adjusted the connection timeout, let me know if that causes any problems (hopefully it won't). I might look at adding a file picker, or at least some help/hints in the license info page next week when I have more time.

  Code:
==== 1.6 ====
*Added support for uploading a Serviio Pro license file. Click on the link in your license email, or your downloaded license file, select ServiiDroid and pick the server you want to upload it to.
*Adjusted the connection timeout to prevent endless loading dialogs in some cases
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Thu Jul 26, 2012 10:18 pm

Re: ServiiDroid (Android Console) - Get it on Google Play

Excellent!! It worked for me! :D
Pressed the link in email and gave me option to open in ServiiDroid, but i chosen open in Chrome browser on my S3 and downloaded the .lic file, in Chrome notification i clicked on the file and gave me option to open .lic file in ServiiDroid, gave me choices of Serviio i have

Few things:
1. On Licence info it says "Normal licence", possibly best to phrase this as "Pro edition license" as zip refers it in http://www.serviio.org/buy-pro
2. Would be great if there was brief instructions how to install the Pro edition license under Number of days before Pro expires
3. When installing the licence, it also gave me options to install on All (pre-Pro) versions of Serviio, not sure what would have happened if i tried it on 0.6.2
4. Now the .lic file is in my Download folder, the default "My Files" app on Samsung S3 doesnt allow to open up in any apps
edit: Tried ES File Explorer, When you press file, it asks to open in Text, Audio, Video or Image. If i choose Text it lets me open in ServiiDroid
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jul 26, 2012 11:21 pm

Re: ServiiDroid (Android Console) - Get it on Google Play

you might also warn them that the link only lasts 7 days so they should really store a copy of the file on their computer - if that's possible.

@Xmantium - there are 2 things - edition type (free, pro) and license type (normal, beta, developer, etc), so Normal is good, although it sounds a bit weird in this context. Might be Customer instead of Normal.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Thu Jul 26, 2012 11:55 pm

Re: ServiiDroid (Android Console) - Get it on Google Play

Ah makes more sense, "Customer" or "User" would be good, with Free/Pro in front - "Pro User Licence" does have good ring to it :)

What happens if the user lost or didnt save the licence? email sales@serviio.org?
Its not very clear on http://www.serviio.org/buy-pro it expires after 7 days, brief mention in the email but i skipped past to download and apply the licence file
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Fri Jul 27, 2012 7:00 am

Re: ServiiDroid (Android Console) - Get it on Google Play

Xmantium wrote:Few things:
1. On Licence info it says "Normal licence", possibly best to phrase this as "Pro edition license" as zip refers it in http://www.serviio.org/buy-pro

As zip said, there are a few types, I'll hide it if it is normal, and only show it is if it evaluation or beta.

2. Would be great if there was brief instructions how to install the Pro edition license under Number of days before Pro expires

Yes I'll add that next weekend.
3. When installing the licence, it also gave me options to install on All (pre-Pro) versions of Serviio, not sure what would have happened if i tried it on 0.6.2

It would have told you that the server was too old after checking the version. I do keep track of the version, but only for display info. If you hadn't connected to the server since upgrading it, or only just added it, it would be old, so I always double check first. I do the following 1) Download and open the license file into memory, and check it is under 50 lines. 2) Check that the server is compatiable. 3) Upload it. 4) Get the new license info.

4. Now the .lic file is in my Download folder, the default "My Files" app on Samsung S3 doesnt allow to open up in any apps
edit: Tried ES File Explorer, When you press file, it asks to open in Text, Audio, Video or Image. If i choose Text it lets me open in ServiiDroid

Hmmm, download app on mine works, I tried to be as flexible as possible with the filters. I'll have a go at refining it. I don't like it when apps that clearly cannot open something offer to. However because it is an unknown file type to the samsung app I probably won't be able to get around that.

I was thinking of making it auto archive the license file to the sd card. Or at a minimum tell them to. Again will improve it next week.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
PreviousNext

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 10 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.