WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Logitech Media Server (LMS) on TC.7  (Read 42758 times)

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1063
Re: Logitech Media Server (LMS) on TC.7
« Reply #135 on: February 07, 2016, 11:52:29 AM »
Forgot that step....once we get it in the repo, then it would be automatic.

run these commands once
tce-load -liw perl5.tcz
tce-load -liw gcc_libs.tcz

And then reboot.

If you still have problem, run df and post the output.

Offline Harlock74

  • Newbie
  • *
  • Posts: 7
Re: Logitech Media Server (LMS) on TC.7
« Reply #136 on: February 07, 2016, 11:59:14 AM »
hi Harlock74,

Did you load perl?

regards
Greg

Hi Greg,

Would you please let me know how load perl?

Cheers

Offline Harlock74

  • Newbie
  • *
  • Posts: 7
Re: Logitech Media Server (LMS) on TC.7
« Reply #137 on: February 07, 2016, 12:00:12 PM »
Forgot that step....once we get it in the repo, then it would be automatic.

run these commands once
tce-load -liw perl5.tcz
tce-load -liw gcc_libs.tcz

And then reboot.

If you still have problem, run df and post the output.

Hi Paul,

I will try now and come back to you.

Cheers

Offline Harlock74

  • Newbie
  • *
  • Posts: 7
Re: Logitech Media Server (LMS) on TC.7
« Reply #138 on: February 07, 2016, 12:09:31 PM »
Forgot that step....once we get it in the repo, then it would be automatic.

run these commands once
tce-load -liw perl5.tcz
tce-load -liw gcc_libs.tcz

And then reboot.

If you still have problem, run df and post the output.

Hi Paul/Greg,

Good news! That did the trick and it is working like a charm! Thanks so much for your kind help!

May I ask you one more question? How does the script to download the latest nightly work?

Thanks a lot again!!!!!!!!!!!!!!!

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1063
Re: Logitech Media Server (LMS) on TC.7
« Reply #139 on: February 07, 2016, 01:26:41 PM »
May I ask you one more question? How does the script to download the latest nightly work?

Nighty updates is not completely accurate, there is an update whenever Michael commits a new update at the official logitech site.

the script is at /usr/local/bin/lms-update.sh
Just run it with root-permissions.

-It checks to see if a new nightly exists.
-Downloads the update into /tmp
-Copies a couple of things from the current slimserver extension
-Rebuilds the new extension locally on your machine
-Replaces the extension in your $TCEDIR/optional folder.


Offline Harlock74

  • Newbie
  • *
  • Posts: 7
Re: Logitech Media Server (LMS) on TC.7
« Reply #140 on: February 07, 2016, 03:04:34 PM »
Hi Paul,

Many thanks for finding the time to get back to me.

The script is also working like a charm, absolutely spot on!

Have a good evening.

Cheers

Offline Harlock74

  • Newbie
  • *
  • Posts: 7
Re: Logitech Media Server (LMS) on TC.7
« Reply #141 on: February 07, 2016, 03:08:55 PM »
hi Harlock74,

Did you load perl?

regards
Greg

Hi Greg,

Apologies for the OT but just wanted to let you know that the latest piCorePlayer 2.0.1 is rocking out and with the integrated LMS (once again a big thanks to Paul), I am literally over the moon tonight 8)

Cheers.

Offline fedcod

  • Newbie
  • *
  • Posts: 4
Re: Logitech Media Server (LMS) on TC.7
« Reply #142 on: February 10, 2016, 10:27:08 AM »
Hi,

thanks for LMS package, It installed fine, I try youtube extension but it fails to load, IO::Socket::SSL is missing.

I compiled it with cpan but after reboot it's gone ! how do I build it ' I'm new to TCL, thanks for any help

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Logitech Media Server (LMS) on TC.7
« Reply #143 on: February 10, 2016, 11:04:06 AM »
Hi fedcod
I compiled it with cpan but after reboot it's gone ! how do I build it ' I'm new to TCL, thanks for any help

Go to the Wiki:
http://wiki.tinycorelinux.net/wiki:start
Read about  Persistence  and  Creating Extensions.  The following is also highly recommended reading:
http://tinycorelinux.net/book.html

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1063
Re: Logitech Media Server (LMS) on TC.7
« Reply #144 on: February 10, 2016, 11:07:50 AM »
Hi,

thanks for LMS package, It installed fine, I try youtube extension but it fails to load, IO::Socket::SSL is missing.

I compiled it with cpan but after reboot it's gone ! how do I build it ' I'm new to TCL, thanks for any help

Custom Downloaded Extensions for LMS should go into the cache folder, which is persistent.   Where were you trying to put the the file?

Offline fedcod

  • Newbie
  • *
  • Posts: 4
Re: Logitech Media Server (LMS) on TC.7
« Reply #145 on: February 10, 2016, 11:09:12 PM »
Thanks to you both, I'm going to read the wiki !

Custom Downloaded Extensions for LMS should go into the cache folder, which is persistent.   Where were you trying to put the the file?

I didn't move it, just did something  like sudo cpan -i  IO::Socket::SSL , intalled compilation missing stuff until it compiled. Finally, when extension was built, I've rebooted to test it youtube plugin would run or if I have to build other things.

One weird thing is that now that gcc.tcz, make.tcz, ... are installed , compilation fails
Code: [Select]
Running make for M/MI/MIKEM/Net-SSLeay-1.72.tar.gz
  MIKEM/Net-SSLeay-1.72.tar.gz
  make -- NOT OK

I definitely have to RTFM  ;)

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1063
Re: Logitech Media Server (LMS) on TC.7
« Reply #146 on: February 11, 2016, 03:33:30 AM »
If that is a Perl add on, that would not be in any of the LMS folders.   Reading up on persistence will do the trick

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Logitech Media Server (LMS) on TC.7
« Reply #147 on: February 11, 2016, 09:21:35 AM »
Hi fedcod
... intalled compilation missing stuff until it compiled.
If you need to compile, don't try to install the tools piecemeal. Install  compile-essentials  and it will pull in the tools
for a proper compile environment.

One weird thing is that now that gcc.tcz, make.tcz, ... are installed , compilation fails
Code: [Select]
Running make for M/MI/MIKEM/Net-SSLeay-1.72.tar.gz
  MIKEM/Net-SSLeay-1.72.tar.gz
  make -- NOT OK
It looks like you are trying to run make on a  tar.gz  file. I think you need to unpack it first. See the section titled
Creating Extensions  in the WIki.

Offline fedcod

  • Newbie
  • *
  • Posts: 4
Re: Logitech Media Server (LMS) on TC.7
« Reply #148 on: February 11, 2016, 09:58:41 AM »
it ended like this :
Code: [Select]
tce-load  -wi compile-essentials.tcz
tce-load  -wi binutils.tcz
tce-load  -wi openssl-dev.tcz
sudo cpan -i IO::Socket::SSL
sudo vi /opt/.filetool.lst
and add this files to .filetool.lst
Code: [Select]
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/SSLeay.so
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/autosplit.ix
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/do_https.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/head_httpx4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/put_httpx4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/post_httpx4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/get_httpx4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/head_httpx3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/put_httpx3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/post_httpx3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/get_httpx3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/head_httpx.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/put_httpx.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/post_httpx.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/get_httpx.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/head_http4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/put_http4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/post_http4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/get_http4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/head_http3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/put_http3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/post_http3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/get_http3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/head_http.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/put_http.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/post_http.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/get_http.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/head_https4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/put_https4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/post_https4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/get_https4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/head_https3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/put_https3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/post_https3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/get_https3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/head_https.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/put_https.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/post_https.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/get_https.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/do_https4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/do_httpx4.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/do_https2.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/do_httpx2.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/do_https3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/do_httpx3.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/make_headers.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/make_form.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/set_proxy.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/set_server_cert_and_key.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/set_cert_and_key.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/httpx_cat.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/http_cat.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/https_cat.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/tcpxcat.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/tcpcat.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/sslcat.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/initialize.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/new_x_ctx.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/randomize.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/dump_peer_certificate.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/tcp_write_CRLF.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/ssl_write_CRLF.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/tcp_read_CRLF.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/ssl_read_CRLF.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/tcp_read_until.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/ssl_read_until.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/tcp_write_all.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/ssl_write_all.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/tcp_read_all.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/ssl_read_all.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/debug_read.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/open_proxy_tcp_connection.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/open_tcp_connection.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/want_X509_lookup.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/want_write.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/want_read.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/auto/Net/SSLeay/want_nothing.al
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/Net/SSLeay.pod
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/Net/SSLeay.pm
/usr/local/lib/perl5/site_perl/5.22.1/arm-linux-gnueabihf-thread-multi-64int/Net/SSLeay/Handle.pm
/usr/local/lib/perl5/site_perl/5.22.1/Mozilla/mk-ca-bundle.pl
/usr/local/lib/perl5/site_perl/5.22.1/Mozilla/CA.pm
/usr/local/lib/perl5/site_perl/5.22.1/Mozilla/CA/cacert.pem
/usr/local/lib/perl5/site_perl/5.22.1/IO/Socket/SSL.pod
/usr/local/lib/perl5/site_perl/5.22.1/IO/Socket/SSL.pm
/usr/local/lib/perl5/site_perl/5.22.1/IO/Socket/SSL/Utils.pm
/usr/local/lib/perl5/site_perl/5.22.1/IO/Socket/SSL/PublicSuffix.pm
/usr/local/lib/perl5/site_perl/5.22.1/IO/Socket/SSL/Intercept.pm
/usr/local/lib/perl5/5.22.1/arm-linux-gnueabihf-thread-multi-64int/perllocal.pod

I'm sure there is a better solution like building an extension but that'll do the trick till I have time to read how to build an extension !

Thanks all for your kind replies  :)

ps: I have not rebooted yet so I'm not sure it will work after next reboot.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Logitech Media Server (LMS) on TC.7
« Reply #149 on: February 11, 2016, 10:08:32 AM »
Hi fedcod
That's a lot of stuff to backup. You could simplify your  filetool.lst  entries down to:
Code: [Select]
/usr/local/lib/perl5/site_perl/5.22.1
/usr/local/lib/perl5/5.22.1/arm-linux-gnueabihf-thread-multi-64int/perllocal.pod

Quote
ps: I have not rebooted yet so I'm not sure it will work after next reboot.
Make sure you run a backup first.