FAQ  •  Register  •  Login

Web UI in PHP - support thread

<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sat Dec 01, 2012 7:12 pm

Re: Web UI in PHP (revised)

So that means the next version will be 1.1 ready? :)

Can't wait for ServiiDB integration
There should be more ServiiDB content since I got 4weeks off so I'm ready to test it
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
<<

lmd

Streaming enthusiast

Posts: 34

Joined: Tue May 15, 2012 1:34 am

Post Sat Dec 01, 2012 7:17 pm

Re: Web UI in PHP (revised)

Thanks for taking the time to test it out!

I'll be buying the pro version of Serviio next year, currently saving for a trip home to the UK, and on Thai wages that's not easy!

Thanks again for your support guys - I wax lyrical about my setup to the guys at my work, I've got a few more Serviio followers now with our cheap Samsung TVs over here! This setup is a life saver!

:D
<<

lmd

Streaming enthusiast

Posts: 34

Joined: Tue May 15, 2012 1:34 am

Post Sat Dec 01, 2012 7:34 pm

Re: Web UI in PHP (revised)

Actually, maybe this will narrow things down, I'll list each tab and what happens when I change an item on there, some work and some don't and it may help you narrow down what's going on:

Status tab: Fully works, I can stop and start the server, change DLNA profiles for IP addresses on my local network and alter the Bound IP address
Library tab: Any changes or alterations I've made do not work, check boxes, local library, adding and removing online sources - one strange thing is that a refresh of an Online source pretty much empties the playlist viewable from my TV
Metadata tab: Fully working - I can make changes to this and they save correctly checkboxes and drop downs
Transcoding tab: Fully working - I can make all changes to this
Presentation tab: Fully working - I can make all changes to this
Remote tab: Not working, when I attempt to save a new password for remote access, I get an error message of 'Error saving data! ()' where I would expect to see the result 'Saved!'
Console settings tab: Fully working, I can change the language and enable/disable checking for new versions and it saves the changes
About tab: This appears to be fully working, an interesting point here is that the 'Licenced To:' field data is populated with '()' in a similar way to the empty parantheses given at the end of the Remote tab problem

Well, that's all I can give you right now I'm afraid.

Thanks again for this great interface! :)

Andy
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sat Dec 01, 2012 8:21 pm

Re: Web UI in PHP (revised)

lmd wrote:Actually, maybe this will narrow things down, I'll list each tab and what happens when I change an item on there, some work and some don't and it may help you narrow down what's going on:

Status tab: Fully works, I can stop and start the server, change DLNA profiles for IP addresses on my local network and alter the Bound IP address
Library tab: Any changes or alterations I've made do not work, check boxes, local library, adding and removing online sources - one strange thing is that a refresh of an Online source pretty much empties the playlist viewable from my TV
Metadata tab: Fully working - I can make changes to this and they save correctly checkboxes and drop downs
Transcoding tab: Fully working - I can make all changes to this
Presentation tab: Fully working - I can make all changes to this
Remote tab: Not working, when I attempt to save a new password for remote access, I get an error message of 'Error saving data! ()' where I would expect to see the result 'Saved!'
Console settings tab: Fully working, I can change the language and enable/disable checking for new versions and it saves the changes
About tab: This appears to be fully working, an interesting point here is that the 'Licenced To:' field data is populated with '()' in a similar way to the empty parantheses given at the end of the Remote tab problem

Well, that's all I can give you right now I'm afraid.

Thanks again for this great interface! :)

Andy

Excellent write-up! This helps tremendously. I'll work on it tonight to see if I can resolve the issues.
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sat Dec 01, 2012 8:24 pm

Re: Web UI in PHP (revised)

Xmantium wrote:So that means the next version will be 1.1 ready? :)

Can't wait for ServiiDB integration
There should be more ServiiDB content since I got 4weeks off so I'm ready to test it

Yes, this new version will work with Serviio 1.1. And I think you will be impressed with the integration with ServiiDB. :)

Cheers!
Mark
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sun Dec 02, 2012 12:53 am

Re: Web UI in PHP (revised)

Web UI 1.2a still works well with Serviio 1.1, look forward in seeing it with its new features

BTW, you signature has the wrong link to post new enhancement or bug - https://github.com/mpemberton5/Web-UI-f ... iio/issues
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
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sun Dec 02, 2012 1:56 am

Re: Web UI in PHP (revised)

Xmantium wrote:Web UI 1.2a still works well with Serviio 1.1, look forward in seeing it with its new features

BTW, you signature has the wrong link to post new enhancement or bug - https://github.com/mpemberton5/Web-UI-f ... iio/issues

You're awesome Xmantium! Thanks for the correction.
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sun Dec 02, 2012 5:14 am

Re: Web UI in PHP (revised)

lmd wrote:I decided to upgrade Serviio to 1.0.1 and updated the WebUI in PHP to match.

Just to be sure, you had downloaded the WebUI 1.2a version, correct? If you are unsure, go to the About tab to confirm it states 1.2 (this is where I wish I had added the a). :)

I've loaded Serviio 1.0.1 and attempted to trick the trial starting date by backdating the OS, but that didn't work. I'll contact zip to see if there is any way to force the version to expire. Otherwise I have 15 days... :(

Also, would you happen to be using something other than English as the set language?

We'll get to the bottom of this. Thanks for being patient.
Mark
<<

lmd

Streaming enthusiast

Posts: 34

Joined: Tue May 15, 2012 1:34 am

Post Sun Dec 02, 2012 6:11 am

Re: Web UI in PHP (revised)

mpemberton5 wrote:
lmd wrote:I decided to upgrade Serviio to 1.0.1 and updated the WebUI in PHP to match.

Just to be sure, you had downloaded the WebUI 1.2a version, correct? If you are unsure, go to the About tab to confirm it states 1.2 (this is where I wish I had added the a). :)

I've loaded Serviio 1.0.1 and attempted to trick the trial starting date by backdating the OS, but that didn't work. I'll contact zip to see if there is any way to force the version to expire. Otherwise I have 15 days... :(

Also, would you happen to be using something other than English as the set language?

We'll get to the bottom of this. Thanks for being patient.
Mark


  Code:
Serviio v 1.0.1  - WebUI v 1.2

Licensed To: ()

DLNA media streaming server
Copyright 2009-2012 Petr Nejedly
Web UI for Serviio originally written by AcidumIrae with updates by Mark Pemberton
http://serviio.org

This product uses the TMDb API but is not endorsed or certified by TMDb. Please consider contributing to the database.
This product may use TV metadata provided by TheTVDb.com, please consider contributing to the database.
This product includes portions of FFmpeg (a great video library) which is licensed under LGPL v2.1.
This product includes LAME MP3 Encoder (a high quality MPEG Audio Layer III (MP3) encoder) which is licensed under LGPL v2.0.
This product includes software developed by The Apache Software Foundation which is licensed under ASL v2.0.
This product includes software developed by the Visigoth Software Society.
This product includes Restlet which is licensed under LGPL v2.1.
This product includes Jaudiotagger (an audio tagging library) which is licensed under LGPL.


That's the About page information - I'm pretty sure I've got the latest WebUI, but I'll give it a go again and see what happens! :D
<<

lmd

Streaming enthusiast

Posts: 34

Joined: Tue May 15, 2012 1:34 am

Post Sun Dec 02, 2012 6:25 am

Re: Web UI in PHP (revised)

Hmm, tried it and I'm still getting the same behaviour :(

I'll give the server a reboot and try again...

:)

EDIT: Nope, still the same behaviour as before.

Cheers,

Andy
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Dec 02, 2012 11:25 am

Re: Web UI in PHP (revised)

This is probably due to not handling ref data properly in the case of the free version. The best way to test this is for @lmd to visit the following urls and post the reponses so that @mark can test his code with them/compare them to the pro version. In ServiiDroid I have specific checks for some data/fields based on pro/free.

(Replace 192.168.15.100 with the ip of the machine running serviio)

  Code:
http://192.168.15.100:23423/rest/application
http://192.168.15.100:23423/rest/repository
http://192.168.15.100:23423/rest/remote-access   (Check before posting as it may have a password in it)
http://192.168.15.100:23423/rest/refdata/accessgroups
http://192.168.15.100:23423/rest/refdata/remotedeliveryqualities


On a side note, the remote tab shouldn't be shown at all to free users as it has no use at the moment.
Will

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

lmd

Streaming enthusiast

Posts: 34

Joined: Tue May 15, 2012 1:34 am

Post Sun Dec 02, 2012 11:57 am

Re: Web UI in PHP (revised)

will wrote:This is probably due to not handling ref data properly in the case of the free version. The best way to test this is for @lmd to visit the following urls and post the reponses so that @mark can test his code with them/compare them to the pro version. In ServiiDroid I have specific checks for some data/fields based on pro/free.

(Replace 192.168.15.100 with the ip of the machine running serviio)

  Code:
http://192.168.15.100:23423/rest/application
http://192.168.15.100:23423/rest/repository
http://192.168.15.100:23423/rest/remote-access   (Check before posting as it may have a password in it)
http://192.168.15.100:23423/rest/refdata/accessgroups
http://192.168.15.100:23423/rest/refdata/remotedeliveryqualities


On a side note, the remote tab shouldn't be shown at all to free users as it has no use at the moment.


OK cool, here's the results:

  Code:
<application><version>1.0.1</version><edition>FREE</edition></application>


  Code:
<repository><sharedFolders><sharedFolder><id>1</id><folderPath>/var/mediadrive2</folderPath><supportedFileTypes><fileType>VIDEO</fileType></supportedFileTypes><descriptiveMetadataSupported>true</descriptiveMetadataSupported><scanForUpdates>true</scanForUpdates><accessGroupIds><id>1</id></accessGroupIds></sharedFolder><sharedFolder><id>2</id><folderPath>/var/mediadrive3</folderPath><supportedFileTypes><fileType>VIDEO</fileType></supportedFileTypes><descriptiveMetadataSupported>true</descriptiveMetadataSupported><scanForUpdates>true</scanForUpdates><accessGroupIds><id>1</id></accessGroupIds></sharedFolder><sharedFolder><id>3</id><folderPath>/var/mediadrive3/andy/backup</folderPath><supportedFileTypes><fileType>IMAGE</fileType></supportedFileTypes><descriptiveMetadataSupported>false</descriptiveMetadataSupported><scanForUpdates>true</scanForUpdates><accessGroupIds><id>1</id></accessGroupIds></sharedFolder><sharedFolder><id>4</id><folderPath>/var/media/music</folderPath><supportedFileTypes><fileType>AUDIO</fileType></supportedFileTypes><descriptiveMetadataSupported>false</descriptiveMetadataSupported><scanForUpdates>true</scanForUpdates><accessGroupIds><id>1</id></accessGroupIds></sharedFolder></sharedFolders><searchHiddenFiles>false</searchHiddenFiles><searchForUpdates>true</searchForUpdates><automaticLibraryUpdate>true</automaticLibraryUpdate><automaticLibraryUpdateInterval>5</automaticLibraryUpdateInterval><onlineRepositories><onlineRepository><id>66</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/AAF63B2C960D45BC?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Andy's YouTube Music Playlist Part 1</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>67</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/AAF63B2C960D45BC?start-index=51&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Andy's YouTube Music Playlist Part 2</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>68</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/AAF63B2C960D45BC?start-index=101&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Andy's YouTube Music Playlist Part 3</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>69</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/BE69B96F8BD64463?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Best Mix Part 1</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>70</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/BE69B96F8BD64463?start-index=51&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Best Mix Part 2</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>71</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/69D356FDC025E22D?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Second Best Mix</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>72</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/35598DF2D86039D9?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Oldies Playlist</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>73</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/457D9957535D5C24?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Dubstep Mix</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>74</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/0F70BF8547E9CBC9?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Irish Style Music Playlist</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>75</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/F1EAA1F1106FE749?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Rap Mix</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>76</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/4B6F09F05990E065?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Old Skool RnB Mix</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>77</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/C78483EB94FD5582?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Live Lounge Covers</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>78</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/B4Bba46O2PXcHKUOmEbb63MKcakTtNlE?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Indie Music Playlist Part 1</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>79</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/B4Bba46O2PXcHKUOmEbb63MKcakTtNlE?start-index=51&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Indie Music Playlist Part 2</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>80</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/9325E1816905261E?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Norah Jones Playlist</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>81</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/B4Bba46O2PW5LvUrMGWfAX9VO_W6hFRX?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's YouTube Keaton Henson Playlist</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>82</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/neilyoungchannel/uploads?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Neil Young YouTube Channel Part 1</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>83</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/neilyoungchannel/uploads?start-index=51&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Neil Young YouTube Channel Part 2</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>84</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/metallicatv/uploads?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Metallica YouTube Channel Part 1</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>85</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/metallicatv/uploads?start-index=51&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Metallica YouTube Channel Part 2</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>86</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/metallicatv/uploads?start-index=101&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Metallica YouTube Channel Part 3</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>87</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/rhcptv/uploads?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>RHCP YouTube Channel Part 1</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>88</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/rhcptv/uploads?start-index=51&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>RHCP YouTube Channel Part 2</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>89</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/queensstoneagevevo/uploads?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>QOTSA YouTube Channel</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>90</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/ratmvevo/uploads?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>RATM YouTube Channel</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>91</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/biffyclyro/uploads?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Biffy Clyro YouTube Channel</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>92</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/foofighters/uploads?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Foo Fighters YouTube Channel</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>93</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/oasisinetofficial/uploads?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Oasis YouTube Channel Part 1</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>94</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/oasisinetofficial/uploads?start-index=51&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Oasis YouTube Channel Part 2</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>95</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/ledzeppelin/uploads?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Led Zeppelin YouTube Channel Part 1</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>96</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/ledzeppelin/uploads?start-index=51&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Led Zeppelin YouTube Channel Part 2</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>97</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/ledzeppelin/uploads?start-index=101&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Led Zeppelin YouTube Channel Part 3</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>98</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/users/kingsofleonvevo/uploads?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Kings Of Leon YouTube Channel</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>99</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/65F5BA1DBA003B00?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Andy's YouTube Led Zeppelin Supermix Part 1</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>100</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/65F5BA1DBA003B00?start-index=51&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Andy's YouTube Led Zeppelin Supermix Part 2</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>101</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/340C5856185FE595?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Andy's YouTube Favourites Part 1</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>102</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/340C5856185FE595?start-index=51&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Andy's YouTube Favourites Part 2</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>103</id><repositoryType>FEED</repositoryType><contentUrl>http://gdata.youtube.com/feeds/api/playlists/B4Bba46O2PVuXc-NbhlS9nR6gFigy_vx?start-index=1&max-results=50&alt=rss&v=2&orderby=published&client=ytapi-youtube-profile</contentUrl><fileType>VIDEO</fileType><repositoryName>Gina's Of Monsters and Men YouTube Playlist</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository><onlineRepository><id>104</id><repositoryType>WEB_RESOURCE</repositoryType><contentUrl>http://www.ilive.to/channels</contentUrl><fileType>VIDEO</fileType><repositoryName>iLive US TV Streams</repositoryName><enabled>true</enabled><accessGroupIds><id>1</id></accessGroupIds></onlineRepository></onlineRepositories><maxNumberOfItemsForOnlineFeeds>50</maxNumberOfItemsForOnlineFeeds><onlineFeedExpiryInterval>24</onlineFeedExpiryInterval><onlineContentPreferredQuality>HIGH</onlineContentPreferredQuality></repository>


  Code:
<remoteAccess><remoteUserPassword>**********</remoteUserPassword><preferredRemoteDeliveryQuality>MEDIUM</preferredRemoteDeliveryQuality></remoteAccess>


  Code:
<refdata><values><item><name>1</name><value>No_Restriction</value></item><item><name>2</name><value>Limited_Access</value></item></values></refdata>


  Code:
<refdata><values><item><name>LOW</name><value>Low</value></item><item><name>MEDIUM</name><value>Medium</value></item><item><name>ORIGINAL</name><value>High</value></item></values></refdata>


That's the results in order of those requested - I starred out the password for remote access (thanks for the heads up, the password might have made you all LOL though).

I can't see anything that stands out as not working here, do you guys?

Cheers :)
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Sun Dec 02, 2012 1:54 pm

Re: Web UI in PHP (revised)

Ok, so I think I've recreated the errors. Unfortunately, I'm headed off to church. I'll get back on it this afternoon.

will is right about the remote tab. It simply should not perform any updates.
<<

lmd

Streaming enthusiast

Posts: 34

Joined: Tue May 15, 2012 1:34 am

Post Sun Dec 02, 2012 2:37 pm

Re: Web UI in PHP (revised)

mpemberton5 wrote:Ok, so I think I've recreated the errors. Unfortunately, I'm headed off to church. I'll get back on it this afternoon.

will is right about the remote tab. It simply should not perform any updates.


That's great - thanks so much for taking the time to work on this one Mark! :)

Cheers,

Andy
<<

lmd

Streaming enthusiast

Posts: 34

Joined: Tue May 15, 2012 1:34 am

Post Sun Dec 02, 2012 2:42 pm

Re: Web UI in PHP (revised)

will wrote:This is probably due to not handling ref data properly in the case of the free version. The best way to test this is for @lmd to visit the following urls and post the reponses so that @mark can test his code with them/compare them to the pro version. In ServiiDroid I have specific checks for some data/fields based on pro/free.

(Replace 192.168.15.100 with the ip of the machine running serviio)

  Code:
http://192.168.15.100:23423/rest/application
http://192.168.15.100:23423/rest/repository
http://192.168.15.100:23423/rest/remote-access   (Check before posting as it may have a password in it)
http://192.168.15.100:23423/rest/refdata/accessgroups
http://192.168.15.100:23423/rest/refdata/remotedeliveryqualities


On a side note, the remote tab shouldn't be shown at all to free users as it has no use at the moment.


I guess you mean it should appear whilst the user is on the trial period, then remove itself until a professional licence is purchased and installed?

I used the remote part of the console at my workplace (just to show off more than anything) using a dynamic dns service for my home server, then connected through the web console. It worked great whilst I was on the trial period (and after I had properly configured FFMPEG to transcode into FLV format). I know this is the biggest selling point for getting the pro licence, and I will get it next year, probably at the same time as getting an Android phone so I can take advantage of that kind of thing more (actually - will the mediabrowser work with an Android or iOS phone as it appears to use FLV? Sorry completely off-topic I know).

Sorry if I've got wires crossed again!

Cheers :)
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Dec 02, 2012 2:49 pm

Re: Web UI in PHP (revised)

MediaBrowser doesn't work with iOS, but it does work with Android. However I've also written a dedicated android app, ServiiGo which has a lot of benefits over MediaBrowser when using it on a mobile device, so check that out as well.
Will

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

lmd

Streaming enthusiast

Posts: 34

Joined: Tue May 15, 2012 1:34 am

Post Sun Dec 02, 2012 4:06 pm

Re: Web UI in PHP (revised)

will wrote:MediaBrowser doesn't work with iOS, but it does work with Android. However I've also written a dedicated android app, ServiiGo which has a lot of benefits over MediaBrowser when using it on a mobile device, so check that out as well.


That's great Will, thanks very much for the info! :)
<<

mpemberton5

DLNA master

Posts: 120

Joined: Sun Aug 28, 2011 9:01 pm

Location: North Carolina, USA

Post Mon Dec 03, 2012 4:03 am

Re: Web UI in PHP (revised)

Ok, I think we're in business. The issue was related to the access groups that is only available in the PRO version. I fixed that and altered the remote tab to disable saving when trial period ends. Please go to my github to download version 1.2.1.

Please let me know how it goes!
Mark
<<

lmd

Streaming enthusiast

Posts: 34

Joined: Tue May 15, 2012 1:34 am

Post Mon Dec 03, 2012 4:40 am

Re: Web UI in PHP (revised)

mpemberton5 wrote:Ok, I think we're in business. The issue was related to the access groups that is only available in the PRO version. I fixed that and altered the remote tab to disable saving when trial period ends. Please go to my github to download version 1.2.1.

Please let me know how it goes!
Mark


OK - I've installed the newest release and it appears to all be working - I updated it remotely so I can't test it's working on my TV until I get home (dropping back in for lunch so won't be long).

Thanks so much for your help with this - really great support from you guys! My girlfriend will be very happy, she's been trying to add her Christmas Music YouTube playlist and was upset whne she couldn't, so I owe you more than one for fixing this! :)

Cheers,

Andy
<<

lmd

Streaming enthusiast

Posts: 34

Joined: Tue May 15, 2012 1:34 am

Post Mon Dec 03, 2012 6:15 am

Re: Web UI in PHP (revised)

I went home and checked it - it's all working - thanks so much everyone for your help with this! :)
PreviousNext

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 3 guests

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