Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-24 Thread Klammer

 Thank you for contacting Synology.
 Apologies for the delay in replying, we are experiencing a large amount
 of tickets at this moment in time.
 
 Unfortunately we are not able to support issues with Logitech media
 server as the application was programmed and compiled by Logitech
 themselves. 
 
 I will forward this information onto our developers for consideration
 with regards to the updated ffmpeg.
 
 If you have any further question please do not hesitate to get in
 touch.
 
 Best Regards,
 Mark Ealey
 

At least Synology are taking some action on this

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-20 Thread Klammer

PasTim wrote: 
 If LMS keeps rescanning, what does the Information on the last Settings
 page show?  Has it found, or is it finding, any tracks?  If not, could
 there now be a permissions issue with your music database?


Discovering files/directories: /volume1/music   (77630 of 77630)  
Complete  00:03:49

Scanning new music files: /volume1/music   (70627 of 70627)   Complete 
04:00:53

Discovering files/directories: /volume1/music/Playlists   (1 of 1)  
Complete  00:00:00

The server has finished scanning your media library.
Total Time: 04:04:42 (Friday, February 20, 2015 / 11:53:23)

Phew! :cool:

Cheers
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-20 Thread Klammer

PasTim wrote: 
 If LMS keeps rescanning, what does the Information on the last Settings
 page show?  Has it found, or is it finding, any tracks?  If not, could
 there now be a permissions issue with your music database?

Hi Tim,

It's been scanning again for over 2 and a half hours but now but nearly
finished now.

It scanned twice last night but seemed to forget it had done so and it
started again when I had installed @bpa's HLS plugin and restarted LMS.
I can see the database being written out in these files:


Code:

-rw-r-1 adminusers   425984 Feb 20 00:11 libmediascan.db
  -rw-r--r--1 adminusers106098688 Feb 20 10:30 library.db
  -rw-r--r--1 adminusers  116 Feb 20 10:30 library.db-mj15872103
  -rw-r--r--1 adminusers32768 Feb 20 10:30 library.db-shm
  -rw-r--r--1 adminusers  4090376 Feb 20 10:30 library.db-wal
  -rw-r--r--1 adminusers 31287296 Feb 20 10:30 persist.db
  -rw-r--r--1 adminusers32768 Feb 20 10:30 persist.db-shm
  -rw-r--r--1 adminusers   640360 Feb 20 10:30 persist.db-wal



I presume the 1st file is the one from last night which finished after
midnight.

I've run a chown command and now everything belongs to users admin so
it might be able to write the database OK this time...?

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-20 Thread Klammer

bpa wrote: 
 Not a good way to start the day...
 
 The log shows ffmpeg dying after about 3 secs...
 
 I think the Debug version of the Plugin si needed to check whether it is
 same problem or a new one.
 Again remove the old plugin and then install the new one from this
 repository
 
 http://homepage.eircom.net/~altondsl/repos/repo-playhlsdebug.xml
 
 Not sure why media scan is needed every time unless there is a
 permissions issue and LMS cannot write its database or prefs - anything
 in the server log.

OK, will install the HLS debugger shortly.

Where do I look for the database file to check permissions please?
Everything is set to admin : users apart from the 1st the entry which
is root:root.


Code:

DiskStation cd /volume1/@appstore/SqueezeCenter/
  DiskStation dir
  drwxr-xr-x   19 adminusers 4096 Feb 19 17:54 .
  drwxrwxrwx7 root root  4096 Feb 20 08:36 ..
  drwxr-xr-x2 adminusers 4096 Nov 21 02:59 Bin
  drwxr-xr-x   60 adminusers 4096 Nov 21 02:58 CPAN
  drwxr-xr-x7 adminusers 4096 Feb 20 09:11 Cache 



Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-20 Thread Klammer

JohnB wrote: 
 Klammer, forgive me for butting in but if I were you and was
 encountering these massive rescans, I would copy a few music files to a
 temporary folder and point LMS at that as its music library folder,
 until the rescan problem is solved. It would make any forced rescans
 very quick.
 
 (Apologies if I am talking nonsense.)

Hi JohnB,

I think the problem was that the database files were owned by user
root and so didn't have permission to write to them.  I've changed
them back to admin and the scan has finished.

Thanks for the tip though, I will try that if it happens again

Cheers
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 Klammer,
 
 OK - that seem clear that problem is with input decoder and not pipes
 etc.
 
 I'm not sure if the next command will work on the NAS. It should display
 all the libraries that ffmpeg will use.
 Again logged in as Admin 
 
 ldd /usr/syno/bin/ffmpeg


Code:

DiskStation ldd /usr/syno/bin/ffmpeg
  -sh: ldd: not found




Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 1. I was too excited and tired last night and misread the permissions
 into what I wanted to see - the chmod worked but it just set to what
 they were already. The v only details the files whose permissions have
 changed so ti will show nothing 2nd time.
 2. The URL is the attached log is still the iplayer:// URL  which will
 cause confusion.  Do not use the iplayer:// URLs for these tests. 
 3. If there is no Debug HLS m3u8 file type then plugin is not installed.
 If ther eis just hls flc and options playhls.sh, Disabled then it
 is OK.
 
 I'm going to see if I can reproduce the issue by changing permissions on
 libraries used by ffmpeg on a SQueezeplug installation.

The stream I played was from the BBC iPlayer app, I thought that would
be OK because I now have the updated menu.opml. Please remind me of
which stream to test with.
As for file types in Advanced/File Types, against debug HLS m3u8, I
have FLAC=playhls.sh/disabled, PCM=playhls.sh/disabled and
mp3=Disabled/No other option

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 Logged in as Admin, I want to verify that the the issue is just with
 ffmepg and also try the DEBUG loglevel in the hope ffmpeg will tell us
 more about problem.
 Try this command.
 
 ffmpeg -loglevel debug -i
 http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8 -f
 flac notbbc.flc


Code:

DiskStation ffmpeg -loglevel debug -i 
http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8 -f flac 
notbbc.flc
  ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  7 2015 14:39:28 with gcc 4.6.4 (Linaro GCC branch-4.6.4. 
Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN)
  configuration: --prefix=/usr/syno --incdir='${prefix}/include/ffmpeg' 
--arch=arm --target-os=linux 
--cross-prefix=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-
 --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl 
--enable-shared --disable-static --enable-version3 --enable-nonfree 
--enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib 
--disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe 
--disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-devices 
--disable-bzlib --disable-altivec --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libmp3lame --disable-decoder=amrnb 
--disable-encoder=zmbv --disable-encoder=dca --disable-encoder=ac3 
--disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=dca 
--disable-decoder=eac3 --disable-decoder=truehd 
--cc=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ccache-gcc
 --disable-doc
  libavutil  52. 38.100 / 52. 38.100
  libavcodec 55. 18.102 / 55. 18.102
  libavformat55. 12.100 / 55. 12.100
  libavdevice55.  3.100 / 55.  3.100
  libavfilter 3. 79.101 /  3. 79.101
  libswscale  2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc52.  3.100 / 52.  3.100
  Splitting the commandline.
  Reading option '-loglevel' ... matched as option 'loglevel' (set logging 
level) with argument 'debug'.
  Reading option '-i' ... matched as input file with argument 
'http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8'.
  Reading option '-f' ... matched as option 'f' (force format) with argument 
'flac'.
  Reading option 'notbbc.flc' ... matched as output file.
  Finished splitting the commandline.
  Parsing a group of options: global .
  Applying option loglevel (set logging level) with argument debug.
  Successfully parsed a group of options.
  Parsing a group of options: input file 
http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8.
  Successfully parsed a group of options.
  Opening an input file: 
http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8.
  [hls,applehttp @ 0x5cc80] Format hls,applehttp probed with size=2048 and 
score=100
  [AVIOContext @ 0x65700] Statistics: 489 bytes read, 0 seeks
  Format aac probed with size=2048 and score=51
  [aac @ 0x67c90] id3v2 ver:4 flags:00 len:104
  [aac @ 0x67c90] File position before avformat_find_stream_info() is 114
  [aac @ 0x67c90] max_analyze_duration 500 reached at 5015510 microseconds
  [aac @ 0x67c90] File position after avformat_find_stream_info() is 42024
  [hls,applehttp @ 0x5cc80] File position before avformat_find_stream_info() is 
231
  [hls,applehttp @ 0x5cc80] All info found
  [hls,applehttp @ 0x5cc80] Estimating duration from bitrate, this may be 
inaccurate
  [hls,applehttp @ 0x5cc80] File position after avformat_find_stream_info() is 
231
  Input #0, hls,applehttp, from 
'http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8':
  Duration: 00:00:00.03, start: 0.00, bitrate: 56 kb/s
  Program 0 
  Metadata:
  variant_bitrate : 64000
  Stream #0:0, 1, 1/28224000: Audio: aac, 44100 Hz, stereo, fltp, 56 kb/s
  Metadata:
  variant_bitrate : 64000
  Successfully opened the file.
  Parsing a group of options: output file notbbc.flc.
  Applying option f (force format) with argument flac.
  Successfully parsed a group of options.
  Opening an output file: notbbc.flc.
  Successfully opened the file.
  detected 1 logical cores
  [graph 0 input from stream 0:0 @ 0x9e330] Setting 'time_base' to value 
'1/44100'
  [graph 0 input from stream 0:0 @ 0x9e330] Setting 'sample_rate' to value 
'44100'
  [graph 0 input from stream 0:0 @ 0x9e330] Setting 'sample_fmt' to value 'fltp'
  [graph 0 input from stream 0:0 @ 0x9e330] Setting 'channel_layout' to value 
'0x3'
  [graph 0 input from stream 0:0 @ 0x9e330] tb:1/44100 samplefmt:fltp 
samplerate:44100 chlayout:0x3
  [audio format for output stream 0:0 @ 0x85240] Setting 'sample_fmts' to value 
's16|s32'
  [audio format for output stream 0:0 @ 0x85240] auto-inserting filter 
'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 
'audio format for output stream 0:0'
  [AVFilterGraph @ 0x65870] query_formats: 4 queried, 9 merged, 3 already done, 

Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 Double check the url that is entered on the cmd line -  are there ...
 in the middle.
 
 This test
  
Code:

  
   Reading option '-i' ... matched as input file with argument 
'http://hls1.addictradio.net/addictal.../playlist.m3u8'.
   

  
 
 Previous test
  
Code:

  [hls,applehttp @ 0x5cc80] Estimating duration from bitrate, this may be 
inaccurate
   Input #0, hls,applehttp, from 
'http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8':
   Duration: 00:00:00.03, start: 0.00, bitrate: 64 kb/s
   

  

Yes, damned ... dots!

Errors again, looks similar to last time...

Code:


  DiskStation ffmpeg -loglevel debug -i 
'http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8' -f flac 
notbbc.flc
  ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  7 2015 14:39:28 with gcc 4.6.4 (Linaro GCC branch-4.6.4. 
Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN)
  configuration: --prefix=/usr/syno --incdir='${prefix}/include/ffmpeg' 
--arch=arm --target-os=linux 
--cross-prefix=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-
 --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl 
--enable-shared --disable-static --enable-version3 --enable-nonfree 
--enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib 
--disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe 
--disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-devices 
--disable-bzlib --disable-altivec --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libmp3lame --disable-decoder=amrnb 
--disable-encoder=zmbv --disable-encoder=dca --disable-encoder=ac3 
--disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=dca 
--disable-decoder=eac3 --disable-decoder=truehd 
--cc=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ccache-gcc
 --disable-doc
  libavutil  52. 38.100 / 52. 38.100
  libavcodec 55. 18.102 / 55. 18.102
  libavformat55. 12.100 / 55. 12.100
  libavdevice55.  3.100 / 55.  3.100
  libavfilter 3. 79.101 /  3. 79.101
  libswscale  2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc52.  3.100 / 52.  3.100
  Splitting the commandline.
  Reading option '-loglevel' ... matched as option 'loglevel' (set logging 
level) with argument 'debug'.
  Reading option '-i' ... matched as input file with argument 
'http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8'.
  Reading option '-f' ... matched as option 'f' (force format) with argument 
'flac'.
  Reading option 'notbbc.flc' ... matched as output file.
  Finished splitting the commandline.
  Parsing a group of options: global .
  Applying option loglevel (set logging level) with argument debug.
  Successfully parsed a group of options.
  Parsing a group of options: input file 
http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8.
  Successfully parsed a group of options.
  Opening an input file: 
http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8.
  [hls,applehttp @ 0x5cc80] Format hls,applehttp probed with size=2048 and 
score=100
  [AVIOContext @ 0x65700] Statistics: 509 bytes read, 0 seeks
  Format aac probed with size=2048 and score=51
  [aac @ 0x67c90] id3v2 ver:4 flags:00 len:112
  [aac @ 0x67c90] File position before avformat_find_stream_info() is 122
  [aac @ 0x67c90] max_analyze_duration 500 reached at 5015510 microseconds
  [aac @ 0x67c90] File position after avformat_find_stream_info() is 41597
  [hls,applehttp @ 0x5cc80] File position before avformat_find_stream_info() is 
231
  [hls,applehttp @ 0x5cc80] All info found
  [hls,applehttp @ 0x5cc80] Estimating duration from bitrate, this may be 
inaccurate
  [hls,applehttp @ 0x5cc80] File position after avformat_find_stream_info() is 
231
  Input #0, hls,applehttp, from 
'http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8':
  Duration: 00:00:00.03, start: 0.00, bitrate: 59 kb/s
  Program 0 
  Metadata:
  variant_bitrate : 63000
  Stream #0:0, 1, 1/28224000: Audio: aac, 44100 Hz, stereo, fltp, 59 kb/s
  Metadata:
  variant_bitrate : 63000
  Successfully opened the file.
  Parsing a group of options: output file notbbc.flc.
  Applying option f (force format) with argument flac.
  Successfully parsed a group of options.
  Opening an output file: notbbc.flc.
  Successfully opened the file.
  detected 1 logical cores
  [graph 0 input from stream 0:0 @ 0x689f0] Setting 'time_base' to value 
'1/44100'
  [graph 0 input from stream 0:0 @ 0x689f0] Setting 'sample_rate' to value 
'44100'
  [graph 0 input from stream 0:0 @ 0x689f0] Setting 'sample_fmt' to value 'fltp'
  [graph 0 input from stream 0:0 @ 0x689f0] Setting 'channel_layout' to value 
'0x3'
  [graph 0 input from stream 0:0 @ 0x689f0] tb:1/44100 samplefmt:fltp 

Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 OK so time to test with the PlayHLS plugin.  Is it the light at the end
 of the tunnel - or another train ?

Haha, please let it be the light... I feel like I've been hit by a train
this week...!!! :eek:

Scanner should be finished in around half an hour so will wait for that
as PlayHLS Plugin will require LMS restart?

I will need the repository address please.

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 Look ok - time to login as admin and run the test ffmpeg command that
 outputs to notbbc.flc
 
 Where did you get the known_hosts file from ?
 
 At the crosh prompt - what happens when you type ssh_forget_hosts ? 
 Type help at crosh prompt to make I've spelt command right.

You Legend!

Recognised it this time so I'm back in, thanks so much!

Right, I'm just waiting for the LMS Music scanner to finish so I can't
try the test for an hour or so.  I will also need to re-install your
PlayHLS plugin again.
Also please could you send the instructions for the test and the stream
you want me to play. Sorry to be a pain in the rear cheeks! :confused:

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 There is no need to install PlayHLS before testing.
 
 When logged in under admin, if it works this command will not stop. / wrote: 
  
  

Code:

ffmpeg -loglevel verbose -i 
http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8 -f flac 
notbbc.flc
  
  DiskStation ffmpeg -loglevel debug -i
  http://hls1.addictradio.net/addictal.../playlist.m3u8 -f flac
  notbbc.flc
  ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  7 2015 14:39:28 with gcc 4.6.4 (Linaro GCC
  branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE
  ALIGN)
  configuration: --prefix=/usr/syno
  --incdir='${prefix}/include/ffmpeg' --arch=arm --target-os=linux
  --cross-prefix=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-
  --enable-cross-compile --enable-optimizations --enable-pic
  --enable-gpl --enable-shared --disable-static --enable-version3
  --enable-nonfree --enable-libfaac --enable-encoders
  --enable-pthreads --disable-bzlib --disable-protocol=rtp
  --disable-muxer=image2 --disable-muxer=image2pipe
  --disable-swscale-alpha --disable-ffserver --disable-ffplay
  --disable-devices --disable-bzlib --disable-altivec
  --enable-libopencore-amrnb --enable-libopencore-amrwb
  --enable-libmp3lame --disable-decoder=amrnb --disable-encoder=zmbv
  --disable-encoder=dca --disable-encoder=ac3
  --disable-encoder=ac3_fixed --disable-encoder=eac3
  --disable-decoder=dca --disable-decoder=eac3
  --disable-decoder=truehd
  --cc=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ccache-gcc
  --disable-doc
  libavutil  52. 38.100 / 52. 38.100
  libavcodec 55. 18.102 / 55. 18.102
  libavformat55. 12.100 / 55. 12.100
  libavdevice55.  3.100 / 55.  3.100
  libavfilter 3. 79.101 /  3. 79.101
  libswscale  2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc52.  3.100 / 52.  3.100
  Splitting the commandline.
  Reading option '-loglevel' ... matched as option 'loglevel' (set
  logging level) with argument 'debug'.
  Reading option '-i' ... matched as input file with argument
  'http://hls1.addictradio.net/addictal.../playlist.m3u8'.
  Reading option '-f' ... matched as option 'f' (force format) with
  argument 'flac'.
  Reading option 'notbbc.flc' ... matched as output file.
  Finished splitting the commandline.
  Parsing a group of options: global .
  Applying option loglevel (set logging level) with argument debug.
  Successfully parsed a group of options.
  Parsing a group of options: input file
  http://hls1.addictradio.net/addictal.../playlist.m3u8.
  Successfully parsed a group of options.
  Opening an input file:
  http://hls1.addictradio.net/addictal.../playlist.m3u8.
  [http @ 0x5d1a0] HTTP error 404 Not Found
  http://hls1.addictradio.net/addictal.../playlist.m3u8: Input/output
  error
  

  
 
 ???



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 Klammer,
 Can you to the following. It shoudl tell which groups Admin belongs to.
 
 cat /etc/group

I'm in trouble here... my Synology crashed and I have had to reset
everything back to factory!

LMS is reinstalled but I've held off reinstalling VideoStation because
of the possible conflict.

Hopefully the ffmpeg install will be clean now?

I'm on a PC for now using Putty to SSH. Do you want me to login as root
or admin?

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 Klammer,
 Can you to the following. It shoudl tell which groups Admin belongs to.
 
 cat /etc/group

DiskStation cat /etc/group
#$_@GID__INDEX@_$1023$
administrators:x:101:admin
dovecot:x:143:dovecot
ftp:x:21:ftp
http:x:1023:
lp:x:7:lp
maildrop:x:126:
mysql:x:66:
nobody:x:99:
postfix:x:125:postfix
postgres:x:55:
root:x:0:
smmsp:x:25:admin,smmsp
users:x:100:

Does that look right?

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

@bpa
Yes, I've seen that package but it's not compatible with my ARM NAS (I
don't think?)
Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 Hope you don't lose anything.
 
 I think ffmpeg could be part of the Videostation install - it'll be
 interesting to see when it appears on the system.
 
 Separately I was think perhaps there are a few more commands to check
 the Synology;s set up
 
 For the following command is there a difference between run as root and
 as admin. If the dir work they'll be big - I'm more interested to see
 if the directories exists and can they be accessed.  The PATH tells me
 where the system looks for files.
 
 echo $PATH
 
 dir /lib
 dir /usr/syno/lib

Hello!

Nothing lost thanks... managed to reinstall the stock firmware so 5,200+
albums all safe!

I have lost all the settings for LMS (Music Info Screen, BBC Plugins
etc.) but can sort them tonight.  I will need the bpa HLS plugin again
and to re-install the up to date menu.opml

I will run those commands now, do you want to see 2 sets, one admin one
root?

ffmpeg is showing up the same version as before and was there before LMS
was reinstalled so I think it comes as stock with Synology DSM 5.1
Firmware

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

@bpa

ADMIN:

Code:

DiskStation echo $PATH
  
/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin




Code:

libsynoscheduler.so.5.1
  -rw-r--r--1 root root117836 Jan  6 23:20 
libsynoscheduler.so.5.1
  lrwxrwxrwx1 root root26 Feb 19 03:44 
libsynoschedulercgi.so - libsynoschedulercgi.so.5.1
  lrwxrwxrwx1 root root26 Feb 19 03:44 
libsynoschedulercgi.so.5 - libsynoschedulercgi.so.5.1
  -rw-r--r--1 root root 20376 Jan  6 23:20 
libsynoschedulercgi.so.5.1
  -rw-r--r--1 root root   1869160 Jan 18 19:45 libsynosdk.so.5
  lrwxrwxrwx1 root root23 Feb 19 03:44 
libsynoserviceutil.so - libsynoserviceutil.so.5
  -rw-r--r--1 root root 30940 Jan  6 23:20 
libsynoserviceutil.so.5
  lrwxrwxrwx1 root root17 Feb 19 03:44 libsynoshare.so - 
libsynoshare.so.5
  -rw-r--r--1 root root150756 Jan  6 23:20 libsynoshare.so.5
  -rwxr-xr-x1 root root 22564 Jan  6 23:20 libsynosmtp.so
  -rwxr-xr-x1 root root 13096 Jan  6 23:20 libsynosnmp.so.1
  lrwxrwxrwx1 root root27 Feb 19 03:44 
libsynosocialaccount.so - libsynosocialaccount.so.5.1
  lrwxrwxrwx1 root root27 Feb 19 03:44 
libsynosocialaccount.so.5 - libsynosocialaccount.so.5.1
  -rw-r--r--1 root root 61112 Jan  6 23:22 
libsynosocialaccount.so.5.1
  lrwxrwxrwx1 root root19 Feb 19 03:44 libsynostorage.so - 
libsynostorage.so.5
  -rw-r--r--1 root root 56208 Jan  6 23:20 libsynostorage.so.5
  -rw-r--r--1 root root427080 Jan  6 23:20 libsynostoragemgmt.so
  -rwxr-xr-x1 root root310724 Jan  6 23:22 libsynosyslog.so
  -rwxr-xr-x1 root root 26632 Jan  6 23:22 
libsynosyslogclient.so
  lrwxrwxrwx1 root root24 Feb 19 03:44 libsynotifyclient.so 
- libsynotifyclient.so.5.1
  lrwxrwxrwx1 root root24 Feb 19 03:44 
libsynotifyclient.so.5 - libsynotifyclient.so.5.1
  -rw-r--r--1 root root 20204 Jan  6 23:22 
libsynotifyclient.so.5.1
  lrwxrwxrwx1 root root58 Feb 19 04:02 libsynotrigger.so - 
/var/packages/DownloadStation/target/lib/libsynotrigger.so
  lrwxrwxrwx1 root root16 Feb 19 03:44 libsynoudpd.so - 
libsynoudpd.so.5
  -rw-r--r--1 root root 21424 Jan  6 23:22 libsynoudpd.so.5
  lrwxrwxrwx1 root root27 Feb 19 03:44 
libsynousbmodem-server.so - libsynousbmodem-server.so.5
  -rw-r--r--1 root root846632 Jan  6 23:20 
libsynousbmodem-server.so.5
  lrwxrwxrwx1 root root20 Feb 19 03:44 libsynousbmodem.so 
- libsynousbmodem.so.5
  -rw-r--r--1 root root 64544 Jan  6 23:20 libsynousbmodem.so.5
  lrwxrwxrwx1 root root17 Feb 19 03:44 libsynoutils.so - 
libsynoutils.so.1
  -rw-r--r--1 root root 40776 Jan  6 23:20 libsynoutils.so.1
  lrwxrwxrwx1 root root15 Feb 19 03:44 libsynovfs.so - 
libsynovfs.so.5
  -rw-r--r--1 root root172984 Jan  6 23:21 libsynovfs.so.5
  -rwxr-xr-x1 root root 74092 Jan  6 23:22 libsynovpnclient.so
  lrwxrwxrwx1 root root28 Feb 19 03:44 
libsynovspace_wrapper.so - libsynovspace_wrapper.so.5.1
  lrwxrwxrwx1 root root28 Feb 19 03:44 
libsynovspace_wrapper.so.5 - libsynovspace_wrapper.so.5.1
  -rw-r--r--1 root root 20068 Jan  6 23:20 
libsynovspace_wrapper.so.5.1
  lrwxrwxrwx1 root root19 Feb 19 03:44 libsynowimax.so - 
libsynowimax.so.5.1
  -rw-r--r--1 root root 14700 Jan  6 23:20 libsynowimax.so.5.1
  lrwxrwxrwx1 root root25 Feb 19 03:44 
libsynowireless-core.so - libsynowireless-core.so.5
  -rw-r--r--1 root root 52360 Jan  6 23:20 
libsynowireless-core.so.5
  lrwxrwxrwx1 root root27 Feb 19 03:44 
libsynowireless-usbmodem-server.so - libsynousbmodem-server.so.5
  lrwxrwxrwx1 root root27 Feb 19 03:44 
libsynowireless-usbmodem-server.so.5 - libsynousbmodem-server.so.5
  lrwxrwxrwx1 root root20 Feb 19 03:44 
libsynowireless-usbmodem.so - libsynousbmodem.so.5
  lrwxrwxrwx1 root root20 Feb 19 03:44 
libsynowireless-usbmodem.so.5 - libsynousbmodem.so.5
  lrwxrwxrwx1 root root19 Feb 19 03:44 libsynowireless.so 
- libsynonetwork.so.5
  lrwxrwxrwx1 root root19 Feb 19 03:44 libsynowireless.so.5 
- libsynonetwork.so.5
  lrwxrwxrwx1 root root17 Feb 19 03:44 libsysfs.so - 
libsysfs.so.2.0.1
  lrwxrwxrwx1 root root17 Feb 19 03:44 libsysfs.so.2 - 
libsysfs.so.2.0.1
  -rwxr-xr-x1 root root 28028 Jan  6 

Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 looks OK and I think it means admin is part of Adminstrators group and
 is just an ordinary group (101) 
 
 The path post seems to show that the ffmpeg in Videostation directory is
 not the one used by LMS and probably the same about the libraries which
 had the chmod done to them.
 
 According to synology website on the Web control panael there is a
 Application privileges and this can be used to show what privileges
 are given to what users. 
 Does this exist on your system and if what does it show for root and
 admin ?

It's empty!

17447


+---+
|Filename: Screenshot 2015-02-19 at 15.45.04.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17447|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 Login as root
 chmod +s /usr/bin/syno/ffmpeg
 
 then check it is done.
 
 dir /usr/syno/bin
 
 

Managed it (despite a typo in the chmod command!)

Here's the result:


Code:

DiskStation chmod +s usr/syno/bin/ffmpeg
  DiskStation dir usr/syno/bin/ffmpeg
  -rwsr-sr-x1 root root174112 Jan  6 23:21 usr/syno/bin/ffmpeg



Did we crack it?

Thanks
Paul

Sorry I missed your PM... that didn't work so I'm using Putty_Thanks
again



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 All is not lost - we know that it works under root - I think there is a
 hack job we can do.  if we enable s permission on ffmeg - ffmpeg will
 run under root userid and so if given wrong instruction could overwrite
 any files on your system or worse.
 
 Want to try it ? it is not considered good practice but I assume yours
 is a private NAS not open to the world and if so some evildoer got onto
 your system - chances are it will be logged in as root or admin.

Phew!

Yes let's try it!

I sent you a PM earlier asking for help as I'm locked out of Crosh
because the SSH key was changed when I re-installed the firmware on the
NAS

I can try it using Putty on the PC at a push

Thanks

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

Hi, please find the known_users file attached.

Could you take a look and advise? Absolutely no rush.

Many thanks

Paul


+---+
|Filename: known_hosts.zip  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17449|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 OK so time to test with the PlayHLS plugin.

Good morning,

LMS is acting strangely, constantly wanting to start a complete media
scan! Anyway, I played BBC Radio 4Extra from the BBC iPlayer app with
the updated menu.opml and got the usual result... log attached.

Thanks
Paul


+---+
|Filename: BBC Radio4 Extra-Played from BBCiPlayer 
App-From_#8220;menu.opml#8221;.zip|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17454|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

onlyconnect wrote: 
 Hi Paul
 
 Mine is Intel Atom Avoton.
 
 This is helpful info though since it shows that simply replacing the
 version of ffmpeg can fix the issue.
 
 I was actually going down the path of trying to compile it myself and
 running into a variety of issues, so glad to discover the community one.
 
 Tim

I have submitted a support ticket to Synology requesting an ffmpeg
package for Armada chipsets, it seems rather ridiculous that it's only
the DS213j that seems to be unable to have a package provided.

Cheers

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 I know nothing about Synology NAS but there seems to be a community
 based site for Synology package which has an up to date ffmpeg and looks
 like an easy install method.
 
 https://synocommunity.com/packages

No, many thanks for the link but this ffmpeg package is NOT compatible
with my DiskStation.  The only way to install a different version would
be to bootstrap the NAS which I attempted and got into bother...hence
the firmware re-installation!

At least we only (as far as we know) have 1 verson of ffmpeg to deal
with now?

If you want me to run some more tests, which I'm more than happy to do,
then I will require the PlayHLS plugin again please. 

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

onlyconnect wrote: 
 Thank you; this fixes it for me. So it looks like some specific issue
 with the default ffmpeg install.
 
 Tim

Tim, what chipset is your DiskStation? Mine is Armada and that seems to
be the problem as there's no package for a DS213j

Cheers
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

onlyconnect wrote: 
 Hi Paul
 
 Mine is Intel Atom Avoton.
 
 This is helpful info though since it shows that simply replacing the
 version of ffmpeg can fix the issue.
 
 I was actually going down the path of trying to compile it myself and
 running into a variety of issues, so glad to discover the community
 one.
 
 Tim

Hi Tim,
Forgot to ask the model number of you DS? Might be useful to know if I
get into discussions with Synology Support.

Or I might buy one like yours and put mine on Fleabay??? ;)

Cheers
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

onlyconnect wrote: 
 Hi Paul
 
 Mine is Intel Atom Avoton.
 
 This is helpful info though since it shows that simply replacing the
 version of ffmpeg can fix the issue.
 
 I was actually going down the path of trying to compile it myself and
 running into a variety of issues, so glad to discover the community
 one.
 
 Tim

You jammy so-and-so! :rolleyes:

I'm just about to contact Synology support about this and ask if they
can provide a package for the Armada

Yes, it's a great forum, glad you've got it sorted

Cheers

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

@bpa

notbbc.flc successfully written

Not all the code showed up in the last post so I edited it with the full
thing...

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-19 Thread Klammer

bpa wrote: 
 http://bpaplugins.googlecode.com/svn/trunk/repo-playhls.xml

Hello!

All set to go but it will have to be early morning again I'm afraid, the
installation of plugins and restart of LMS started another full media
scan!

:mad:

Apologies

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

bpa wrote: 
 Thanks.
 The new tests seem to indicate that the problem is not with ffmpeg so
 I'll need to look again and think some more.
 
 The 2nd log file (  LMS_Server_Log_Syno_ARM_NAS_BBCm3u8.zip  ) showed
 playing not an m3u8 URL but an iplayer:// URL which found a BBC http/aac
 stream.  When testing PlayHLS so do NOT use the Live stream from the
 BBC Iplayer plugin - as these do not always choose m3u8 URLs - create a
 Favorite with a BBC m3u8 URL.

Good morning bpa!

Thanks for looking at the files I sent, sorry if I didn't play the right
stream, it was very early and I am dreaming about coding!

I've now saved some BBC m3u8's as favourites so shouldn't make the same
mistake again.

Do you have enough info for now?

Thanks again,

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

bpa wrote: 
  Klammer wrote: 
  Good morning bpa!
  
  Thanks for looking at the files I sent, sorry if I didn't play the right
  stream, it was very early and I am dreaming about coding!
  
  I've now saved some BBC m3u8's as favourites so shouldn't make the same
  mistake again.
  
  Do you have enough info]
  
  Good morning - sorry about the dreams.
  
  No problem about the funny log - I did the same thing myself last
  night.
  
  I'd like to get to the bottom of this and it will be a very silly small
  thing - probably a typo or a bad plugin build.
  
  Thanks for doing (and repeating) so many tests for me - very few users
  stay the course.  
 
 It's a pleasure to be involved in this and, surely, as you and others
 are dedicating so much time to it, then so should the end
 beneficiaries?
 
 I've learnt so much in the last few days.
 
 Fingers crossed for a solution soon, I feel as though we're almost
 over the finish line
 
 Thanks again
 
 Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

phineas wrote: 
 @klammer
 Hi - I followed the instructions in the README file for the script here
 :
 
 https://github.com/CutePoisonX/ffmpegInstaller/blob/master/README.md
 
 In summary, you need IPKG first.  this is perhaps the trickiest bit
 because you have to select the correct boostrap file, but it's explained
 here. 
 http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc
 
 
 Once ipkg is installed...
 run : ipkg update
 run : ipkg install bash
 
 Then you drop back into the instructions for the script (the Read ME
 file above)
 
 NB One of the instructions for the script involved running 'git clone'
 which did not work for me, so I installed GIT Server via the Synology
 DSM Package Centrer.  This seemed like over-kill (One more sledge-hammer
 to crack this tricky little nut !)  I don't want or need a GIT Server. 
 There may be a simple workaround to get the GIT command - but I was
 tired and this worked so ...
 
 Anyway - hope this helps

Thanks for all that info, I tried to do everything as per instructions
but got some errors.  I too had to resort to installing Git but it
actually allowed me to get hold of a new version of ffmeg, however, I
can't run the ffmpegInstaller.sh no matter how I try!

@bpa now doesn't think my problem is with ffmpeg anyway so we'll have to
wait and see.

Cheers,

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

@pastim

Finally found infobrowser.opml - does it need any changes?

/volume1/@appstore/SqueezeCenter/Cache
DiskStation dir
drwxr-xr-x7 adminusers 4096 Feb 18 13:45 .
drwxrwxrwx   20 adminusers 4096 Nov 26 17:48 ..
drwxr-xr-x2 adminusers 4096 Feb 17 20:04
DownloadedPlugins
drwxr-xr-x3 adminusers 4096 Feb 16 14:47
InstalledPlugins
-rw-r-1 adminusers24576 Nov 26 17:48 __db.001
-rw-r-1 adminusers73728 Nov 26 17:48 __db.002
-rw-r-1 adminusers   270336 Nov 26 17:48 __db.003
-rw-r--r--1 adminusers456168448 Feb 18 15:27 artwork.db
-rw-r--r--1 adminusers32768 Feb 18 15:27 artwork.db-shm
-rw-r--r--1 adminusers   975720 Feb 18 15:27 artwork.db-wal
-rw-r--r--1 adminusers  2540544 Feb 18 13:13 cache.db
-rw-r--r--1 adminusers32768 Feb 18 15:21 cache.db-shm
-rw-r--r--1 adminusers   596344 Feb 18 15:21 cache.db-wal
-rw-r--r--1 adminusers  520 Feb 18 09:10 cookies.dat
-rw-r--r--1 adminusers 2819 Feb 15 17:16
extrastrings.json
-rw-r--r--1 adminusers   139368 Dec  3 06:26 fontcache..bin
-rw-r--r--1 adminusers   139368 Nov 26 17:48
fontcache.MARVELL_ARMADA370.bin
drwxr-xr-x2 adminusers 4096 Nov 26 17:48 icons
-rw-r--r--1 adminusers  731 Nov 26 17:48
infobrowser.opml
-rw-r--r--1 adminusers  165 Nov 26 17:48
infobrowser.opml.backup
-rw-r-1 adminusers   106496 Nov 26 17:48
libmediascan.db
-rw-r--r--1 adminusers108442624 Feb 18 13:45 library.db
-rw-r--r--1 adminusers   196608 Feb 18 13:45 library.db-shm
-rw-r--r--1 adminusers 24782088 Feb 18 13:45 library.db-wal
-rw-r--r--1 adminusers 32692224 Feb 18 13:45 persist.db
-rw-r--r--1 adminusers32768 Feb 18 15:27 persist.db-shm
-rw-r--r--1 adminusers   793368 Feb 18 15:27 persist.db-wal
-rw-r--r--1 adminusers29570 Feb 17 20:04
plugin-data.yaml
-rw-r--r--1 adminusers4 Feb 18 09:12 slimserver.pid
-rw-r--r--1 adminusers   152451 Feb 18 09:12
stringcache..bin
-rw-r--r--1 adminusers   151649 Nov 26 17:48
stringcache.MARVELL_ARMADA370.bin
drwxr-xr-x3 adminusers 4096 Feb 16 16:41 templates
drwxr-xr-x2 adminusers 4096 Nov 26 17:48 updates

Thanks

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

bpa wrote: 
 Absolutely no harm sometimes new info comes out or a new perspective
 trigger an idea.
 
 As it stands when ffmpeg (already installed on Synology but could be
 part of a Plex install) behave the same on a Intel and Arm based
 Synology.
 The key issue is that when run on a command line - it plays OK and
 transcodes streams. When run from playhls.sh from a shell prompt -
 ffmpeg stops after 3 secs. with the following error after managing to
 get input stream, analyse it and determine what codecs are needed for
 input and output.
  
Code:

  
   Error while opening decoder for input stream #0:0 : Operation not permitted
   

  
 
 I have tracked down in ffmpeg source code to failure to open a codec.
 Odd since same command line from shell prompt works so at the moment
 my guess is somehow codec file paths are messed up in the Synoloigy
 shell (which is ash and so less functional than bash)

Is this any use, it's talking about ffmpeg on Synology and exec being
disabled?

http://galleryproject.org/node/87592

Sorry if it's not relevant

Thanks,
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

PasTim wrote: 
 Could you try to play the bbc stream this way, as I believe you did
 before.  If so, does it play in the same way logged in as admin as it
 did when root?

Playing the stream behaves differently when logged in as admin as
opposed to root.

File attached

Thanks
Paul


+---+
|Filename: Test_ffmpeg_as_admin_vs_root.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17440|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

bpa wrote: 
 Interesting but the version of the shell script had the exec removed and
 I don't think it is called indirectly.
 
 I've gone through ffmpeg code and the error message does seem to
 indicate no permission to open the library containg the decoder. This
 doesn't make sense but I feel it needs to be checked out.
 
 1. Can you find any files starting with libavcodec and display their
 owner/group and permissions.
 2. Can you also check in case there is more than one ffmpeg installed
 e.g. find / -name ffmpeg
 
 edit:
 
 The error code has two meanings not just no permission but also an
 operation not allowed possibly due to format incompatibility ...

I have run the debug tests again and the nonbbc test writes an .flc file
but the bbc one now errors with this unable to rewrite FLAC header.60
bitrate=1319.6kbits/s
size=   10340kB time=00:01:03.93 bitrate=1324.8kbits/s
video:0kB audio:10332kB subtitle:0 global headers:0kB muxing overhead
0.078017% so I hope ffmpeg isn't broken!

Here's ffmpeg search results:

DiskStation find / -name ffmpeg
/usr/syno/bin/ffmpeg
/volume1/@appstore/VideoStation/bin/ffmpeg
/volume1/@appstore/VideoStation/lib/ffmpeg

find / -name libavcodec yields no result

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

PasTim wrote: 
 I have also been wondering about multiple versions of programs.  When
 run as root various alternative libraries could be being invoked.  Is
 there any chance on his platform that Klammer could try to log on as
 Admin and run ffmpeg directly again?  I don't know anything about that
 system's setup.

LOGGED IN AS ADMIN:

crosh ssh admin@192.168.0.20
admin@192.168.0.20's password: 


BusyBox v1.16.1 (2015-01-07 14:53:57 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

DiskStation ffmpeg
ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan  7 2015 14:39:28 with gcc 4.6.4 (Linaro GCC branch-4.6.4.
Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN)
configuration: --prefix=/usr/syno --incdir='${prefix}/include/ffmpeg'
--arch=arm --target-os=linux
--cross-prefix=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-
--enable-cross-compile --enable-optimizations --enable-pic --enable-gpl
--enable-shared --disable-static --enable-version3 --enable-nonfree
--enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib
--disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe
--disable-swscale-alpha --disable-ffserver --disable-ffplay
--disable-devices --disable-bzlib --disable-altivec
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libmp3lame --disable-decoder=amrnb --disable-encoder=zmbv
--disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed
--disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3
--disable-decoder=truehd
--cc=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ccache-gcc
--disable-doc
libavutil  52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat55. 12.100 / 55. 12.100
libavdevice55.  3.100 / 55.  3.100
libavfilter 3. 79.101 /  3. 79.101
libswscale  2.  3.100 /  2.  3.100
libswresample   0. 17.102 /  0. 17.102
libpostproc52.  3.100 / 52.  3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile
options] outfile}...



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

@bpa
@pastim

Found some libvacodec type files.

VideoStation is a Synology package I have installed which catalogues and
streams movies:

/volume1/@appstore/VideoStation/lib/ffmpeg/libavformat.so.55
/volume1/@appstore/VideoStation/lib/ffmpeg/libavutil.so.52
/volume1/@appstore/VideoStation/lib/ffmpeg/libavcodec.so.55
/volume1/@appstore/VideoStation/lib/ffmpeg/libavdevice.so.55
/volume1/@appstore/VideoStation/lib/ffmpeg/libavfilter.so.3

...any help?

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

PasTim wrote: 
 Good (in a way).  This implies, and I think confirms, to me that your
 problems are nothing to do with LMS or its plugins or access rights 
 permissions on any LMS folders or files.
 
 I hope someone with enough knowledge of your linux version and ffmpeg
 can determine what the issue is.  Clearly when run as admin ffmpeg is
 trying to use something it isn't allowed to use.  It may diagnose your
 problem if you could post the output of:
 
  
Code:

  
   groups admin 
   

  

Result is the same when logged in as Admin or Root:
-ash: groups: not found


I do hope I don't need a different version of ffmpeg because it's a
nightmare to try and a). install ipkg and b). install ffmpeg as the
Synology needs to be bootstrapped - I've tried to do it and it didn't
work. 
I don't want to mess around too much more and break something because my
main use for the NAS is to stream music in FLAC and watch movies via
Smart TV and Chromecasts (although I *-did-* love my BBC Radio!).

Cheers
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

Attached are the LMS Player Stream log and the ffmpeg output.

Nothing seems any different, timeout after 3 seconds?

Thanks


+---+
|Filename: 19-02-15_LMS_M3u8_Streaming_Log.zip  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17443|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

bpa wrote: 
 I think so - LMS is installed as admin / nogroup so I think admin is not
 in the root group and so libraries have x permission but I think
 libraries need r permission.
 
 logged in as root - the following command will add r permissions to
 all the ffmpeg file.
 
 chmod -Rv o+r /volume1/@appstore/VideoStation/lib/ffmpeg
 
 After this change perhaps you could test a BBC m3u8 from LMS.

Good morning.

I ran the command but got an error as here:


Code:


  BusyBox v1.16.1 (2015-01-07 14:53:57 CST) multi-call binary.
  
  Usage: chmod [-R] MODE[,MODE]... FILE...
  
  Each MODE is one or more of the letters ugoa, one of the
  symbols +-= and one or more of the letters rwxst
  
  Options:
  -R  Recurse



So I ran it again without the v:


Code:

DiskStation chmod -R o+r /volume1/@appstore/VideoStation/lib/ffmpeg 
  DiskStation cd /volume1/@appstore/VideoStation/lib/ffmpeg  
  DiskStation dir
  drwxr-xr-x2 root root  4096 Jan 19 09:29 .
  drwxr-xr-x3 root root  4096 Jan 19 09:29 ..
  -rwxr-xr-x1 root root   6411280 Jan 19 09:29 libavcodec.so.55
  -rwxr-xr-x1 root root  4088 Jan 19 09:29 libavdevice.so.55
  -rwxr-xr-x1 root root738648 Jan 19 09:29 libavfilter.so.3
  -rwxr-xr-x1 root root   1303056 Jan 19 09:29 libavformat.so.55
  -rwxr-xr-x1 root root212368 Jan 19 09:29 libavutil.so.52
  -rwxr-xr-x1 root root 63740 Jan 19 09:29 libpostproc.so.52
  -rwxr-xr-x1 root root 70328 Jan 19 09:29 libswresample.so.0
  -rwxr-xr-x1 root root237004 Jan 19 09:29 libswscale.so.2



I don't know if the file were modified or not?

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

PasTim wrote: 
  Klammer wrote: 
  
  From one of the error messages you posted, and the issues with the
  menu.opml, I'm wondering about permissions issues when LMS tries to run
  things.  
  
  I think you said ffmpeg will play a link directly on a terminal line -
  is that right?  If so, is it worth checking the PlayHLS files, and
  ffmpeg itself, are all OK for your LMSuser?  It is probably all OK, but
  you never know, so:
  
  Note the access rights on playhls.sh (or whatever your is now called -
  use chmod 764 ...).  The 7 makes sure that the user can execute the
  script.
  
  Have you made any other relevant changes that might work only for root?  
 
 I don't understand the first part of your post regarding terminal
 line, sorry.
 
 Here are the permissions for playhls.sh:
 
 drwxr-xr-x2 adminusers 4096 Feb 17 20:04 .
 drwxr-xr-x3 adminusers 4096 Feb 17 20:04 ..
 -rwxrwxr-x1 adminusers 1215 Feb 17 18:53 playhls.sh
 
 I only changed permissions for menu.opml as you suggested and I now
 have all the new streams available.
 
 -rwxr-xr-x1 adminusers27412 Feb 17 21:32 menu.opml
 
 Does that help?
 
 Thanks,
 Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

@pastim

Hi Tim,

I have only only run ffmpeg using bpa's instructions in order to
generate debug logs and test .fls files.

Here's the PlayHLS folder permissions:

Here are the permissions for playhls.sh:

drwxr-xr-x 2 admin users 4096 Feb 17 20:04 .
drwxr-xr-x 3 admin users 4096 Feb 17 20:04 ..
-rwxrwxr-x 1 admin users 1215 Feb 17 18:53 playhls.sh

I think it's OK?

Cheers
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

bpa wrote: 
 Well done Klammer  Pastim.  I hadn't noticed that there were two user
 ids - root and admin. IIRC LMS runs under Admin.
 Also it is now clear that The Videostation package provides ffmpeg and
 my guess is that the Videostation ffmpeg libraries have different
 permissions to the ffmpeg binaries and it is a case of changing the
 permissions.
 
 Can you do following commands logged in as root, they should show the
 permissions and owner of the ffmpeg files.
 
 ls -l /usr/syno/bin/ffmpeg
 ls -l /volume1/@appstore/VideoStation/bin/ffmpeg
 ls -l /volume1/@appstore/VideoStation/lib/ffmpeg
 ls -l /volume1/@appstore/VideoStation/lib/ffmpeg/libav*

All done!
File attached...


+---+
|Filename: Show_the_permissions_and_owner_of_the_ffmpeg_files.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17441|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

@bpa
@pastim

Just repeated the previous exercise logged in as admin and the files
still belong to the user root.

Is this good news?

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-18 Thread Klammer

@bpa
@pastim

I am able to stop the VideoStation package without uninstalling it if
you think that would help in the debugging?
(I would obviously prefer to have music, video and BBC streaming in the
long run)

I won't be able to do much more tonight but will be around early
morning...

Cheers
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

castalla wrote: 
 Pity - winSCP is a nice explorer-like interface to remote devices -
 makes a lot of things easier than all that command line stuff!

Yes, I saw that when I was Googling SSH for Chromebook but I have
managed to sort it now by copying the file using SSH to a location on
the NAS that I can access with the web UI. The UI has a text editor so I
copied the new feeds into the old file and saved it then copied it back
and it kept the owner as users rather than root.

Thanks for the tip though, I'm amazed at what can be done on a
Chromebook, very impressed so far!

Cheers

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

Sorry, forgot this one...


+---+
|Filename: playhls-sh.log   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17432|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

@bpa

I think I've run the tests and so I have attached some logs.

I got a playable flac file from both the BBC and Non-BBC streams.

No sound from the SB though

Thank you

Paul


+---+
|Filename: ffmpeg_verbose_output_3_tests.zip|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17435|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

phineas wrote: 
 Just to follow this up - I have things working on my Synology
 Diskstation now.  I had to install a different version of ffmpeg, which
 I did by using the script and instructions provided by CutepoisonX
 http://forum.synology.com/enu/viewtopic.php?f=37t=89787
 
 It was fairly straight forward, with one gotcha - the instructions refer
 to editing a .profile file if you are running DSM V4.  I'm on DSM V5 so
 I skipped it, but I think it means if you are on DSM V4 *or higher*  
 Please note, once the script starts building ffmpeg it can take a long
 time to complete : several hours in fact.  I went to bed and left it
 running, but came down this morning and pressed play on the RADIO4FM
 test stream and it worked first time - didn't even restart the Synology
 or LMS.
 
 I don't know where original version of ffmpeg came from on my Synology.
 From what I've read, I believe it was installed with LMS (or maybe Plex
 - which I also have installed)   I seem to recall it was version 2.2 or
 2.02 or similar - I did not make a note (sorry)
 

Thanks for this Phineas.

I'm struggling to get a new install of fmpeg installed as I don't appear
to have bash or ipkg installed.

Can you help with this please? I think I might be OK once I can get
started.

Thanks

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

bpa wrote: 
 You have two Linux type system - NAS and Chromebook.
 
 The NAS is running ash as its shell scriupt. ash takes up much less
 memory than bash.
 
 crosh on Chromebook is a terminal emulator written in Javascript (i.e
 runs within the browser) and it provide an ssh session (i.e. _S_ecure
 _SH_ell) to a host (e.g. Synology NAS) which accepts logins using ssh. 
 
 
 So at the crosh prompt are commands to crosh such as to set up a
 connection to a host or possibly change session as I think you can have
 mulitple sessions to different hosts.  
 After login all the command prompts will comes from the NAS and using
 the NAS'  ash shell.

Thanks, I've learnt a lot of new stuff these past few days!



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

bpa wrote: 
 I don't there is need at the moment to reinstall.  If you can play from
 Library and other streams works and the covertArt message are an old
 symptom then leave things as they are.
 
 Since you managed to get BBC stream into a file output.flc and it was OK
 - it means the router was not blocking the m3u8 BBC stream.
 
 
 I want to figure out why the Debug playhls.sh script is not working on
 Synology
 
 Can you (and onlyconnect) run the following commands from a shell prompt
 where you have already done a cd to the PlayHLS plugin (ending with
 /Cache/InstalledPlugins/Plugins/PlayHLS/Bin ) Bin  directory.  The LMS
 WebUI Settings/Information will gives details of the Plugin directory
 (you found them yesterday)
 
 ls -l
 ./playhls.sh  -loglevel verbose -i http://badurl-f flac   test.flc

This is what I got:

DiskStation ls -l
-rw-r--r--1 root root 0 Feb 17 16:36 ls
-rwxrwxr-x1 adminusers0 Feb 17 16:36 playhls.sh
DiskStation sh playhls.sh -loglevel verbose -i http://badurl -f flac
test.flc

I did the same as Tim with the ./playhls.sh as it errored so I used
sh /playhls.sh

Thanks

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

bpa wrote: 
 Which plugn is installed the V1.01 or V1.02 Debug - the debug has
 problems but this log (it is mixed up with load of other stream playing
 of r3 and 5live ) looks like the PlayHLS plugin is not installed but
 furtermore there are issues about your LMS installation as there a lot
 of error about coverArt.

I have the debug plugin installed.

I wonder if I should uninstall and reinstall LMS and start again? It'll
take a good long time to rebuild my library though as it's huge...
(Total Tracks: 70,478
Total Albums: 5,278).

I've never understood the coverArt log entries either, but it has never
affected anything in the past, it's just the BBC changes that I can't
listen to so it seems a shame to have to start from scratch if not
really necessary?

Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

PasTim wrote: 
 If you go to BBC iPlayer, Listen live, and click on (not play) BBC Radio
 3, does the BBC Radio 3 logo appear along with the URL?
 
 Do the same for 4 extra, and some others.  Do all show a logo, or only
 some?

Hi Tim

Some stations show artwork, others not. For example, the old Radio 3
shows the station logo while reinstated Radio 3 HD (aac@320) doesn't.

I'm very fussy with my music tagging and album covers show up fine on
those that I've added covers to.

Thanks

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

bpa wrote: 
 Might be a feature of ash
 
 OK - so sleep command is invalid - that needs to be fixed.
 What's in the logs file in /tmp ?

I have NO log file on my system.

Nothing in /tmp (which is hidden but accessible) or @tmp

I used find / -name playhls-sh.log 2/dev/null but nothing found

Thanks

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

Tried to play the above and it failed, checked the log and noticed the
text which i've highlighted:

file:///volume1/music/%3Ch1%20id=%22header%22%20class=%22hijack%22%3ESky%20Router%3C/h1%3E
[15-02-17 13:22:48.8250] Slim::Utils::Scanner::Remote::__ANON__ (923)
Scanned 59/67 items in playlist
[15-02-17 13:22:48.8611] Slim::Utils::Scanner::Remote::scanURL (86)
Scanning remote stream
file:///volume1/music/%3Ch2%3EBlocked%20Site%3C/h2%3E
[15-02-17 13:22:48.8627] Slim::Utils::Scanner::Remote::__ANON__ (923)
Scanned 60/67 items in playlist
[15-02-17 13:22:48.8774] Slim::Utils::Scanner::Remote::scanURL (86)
Scanning remote stream
file:///volume1/music/%3Cdiv%20id=%22hijackpagebanner%22%20class=%22clear%22%3E
[15-02-17 13:22:48.8791] Slim::Utils::Scanner::Remote::__ANON__ (923)
Scanned 61/67 items in playlist
[15-02-17 13:22:48.8952] Slim::Utils::Scanner::Remote::scanURL (86)
Scanning remote stream
file:///volume1/music/%3Cdiv%20id=%22headingspacinghijack%22%3E
[15-02-17 13:22:48.8968] Slim::Utils::Scanner::Remote::__ANON__ (923)
Scanned 62/67 items in playlist
[15-02-17 13:22:48.9131] Slim::Utils::Scanner::Remote::scanURL (86)
Scanning remote stream
*file:///volume1/music/%3Cp%20id=%22blockedsite%22%3E%20Access%20to%20this%20web%20page%20has%20been%20blocked%20by%20your%20router%20administrator.%20Speak%20to%20the%20router%20administrator%20in%20your%20household%20to%20view%20this%20web%20page.%20%3C/p%3E*
[15-02-17 13:22:48.9164] Slim::Utils::Scanner::Remote::__ANON__ (923)
Scanned 63/67 items in playlist
[15-02-17 13:22:48.9315] Slim::Utils::Scanner::Remote::scanURL (86)
Scanning remote stream file:///volume1/music/%3C/div%3E
[15-02-17 13:22:48.9341] Slim::Utils::Scanner::Remote::__ANON__ (923)
Scanned 64/67 items in playlist
[15-02-17 13:22:48.9507] Slim::Utils::Scanner::Remote::scanURL (86)
Scanning remote stream file:///volume1/music/%3C/div%3E
[15-02-17 13:22:48.9535] Slim::Utils::Scanner::Remote::__ANON__ (923)
Scanned 65/67 items in playlist
[15-02-17 13:22:48.9834] Slim::Utils::Scanner::Remote::scanURL (86)
Scanning remote stream file:///volume1/music/%3C/body%3E
[15-02-17 13:22:48.9884] Slim::Utils::Scanner::Remote::__ANON__ (923)
Scanned 66/67 items in playlist
[15-02-17 13:22:49.0174] Slim::Utils::Scanner::Remote::scanURL (86)
Scanning remote stream file:///volume1/music/%3C/html%3E
[15-02-17 13:22:49.0190] Slim::Utils::Scanner::Remote::__ANON__ (923)
Scanned 67/67 items in playlist
[15-02-17 13:22:49.0491] Slim::Utils::Scanner::Remote::__ANON__ (950)
Playlist scan of http://192.168.0.1/sky_blocked_site.html finished
[15-02-17 13:22:49.0506] Slim::Utils::Scanner::Remote::__ANON__ (954) No
audio tracks found in playlist
[15-02-17 13:22:49.0523] Slim::Utils::Scanner::Remote::__ANON__ (923)
Scanned 2/2 items in playlist
[15-02-17 13:22:49.0604] Slim::Utils::Scanner::Remote::__ANON__ (950)
Playlist scan of
http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/http-icy-aac-lc-a/format/pls/vpid/bbc_radio_three.pls
finished
[15-02-17 13:22:49.0620] Slim::Utils::Scanner::Remote::__ANON__ (954) No
audio tracks found in playlist

I went into the router settings and allowed the NAS's i.p. address to
access blocked sites and now it plays the 320 aac stream.

Is the the root of all my problems?

Thanks

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

PasTim wrote: 
 Pun intended? :)
 
 Anyone with problems using the internet, or even home networks, needs to
 check firewalls, routers and so on quite early on to make sure their
 problems aren't of that type.  I should know - I've been burned often
 enough!

Haha, yes, pun most definitely intended:D

I went into the router settings and allowed the NAS's i.p. address to
access blocked sites and now it plays the 320 aac stream.

However, I've just tried to play this :
http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_four_extra.m3u8

and it failed...

Log attached

Thanks


+---+
|Filename: BBCRadio3 OK-4Extra Failed.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17417|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

bpa wrote: 
 I've just posted a 1.3 of the Debug plugin - this fixes the script
 problem (bash/ash) but still tries to write logs into /tmp.
 
 If you restart LMS and then goto Settings/Plugins, you should see that
 1.03 is waiting to be installed.
 
 If no log files are found - I'll do another mod to find a /tmp dir that
 can be written.
 What is the directory where LMS log files are saved on your NAS ( shown
 in WebUI Settings/Information) ?

Hello bpa,

Thanks for the new debug plug, I will try it now.

here is the info re where my Synology ARM NAS stores LMS stuff:


Folders

Cache Folder
/volume1/@appstore/SqueezeCenter/Cache
Preferences Folder
/volume1/@appstore/SqueezeCenter/prefs
Plugin Folders
/volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins,
/volume1/@appstore/SqueezeCenter/Plugins
Logitech Media Server Log File
/volume1/@appstore/SqueezeCenter/Logs/server.log (100, 500, 1000 lines)
Scanner Log File
/volume1/@appstore/SqueezeCenter/Logs/scanner.log (100, 500, 1000
lines)

Cheers
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

bpa wrote: 
 I've just posted a 1.3 of the Debug plugin - this fixes the script
 problem (bash/ash) but still tries to write logs into /tmp.
 
 If you restart LMS and then goto Settings/Plugins, you should see that
 1.03 is waiting to be installed.
 
 If no log files are found - I'll do another mod to find a /tmp dir that
 can be written.
 What is the directory where LMS log files are saved on your NAS ( shown
 in WebUI Settings/Information) ?

Please can you post the link again for the repository for the new Debug
Plugin?

Or is it the same as last time?

I've uninstalled the previous one and restarted LMS but the new one
isn't there to activate now...

Sorry if I'm being thick!

Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

bpa wrote: 
 I've just posted a 1.3 of the Debug plugin - this fixes the script
 problem (bash/ash) but still tries to write logs into /tmp.
 
 If you restart LMS and then goto Settings/Plugins, you should see that
 1.03 is waiting to be installed.
 
 If no log files are found - I'll do another mod to find a /tmp dir that
 can be written.
 What is the directory where LMS log files are saved on your NAS ( shown
 in WebUI Settings/Information) ?

OK, I've managed to install the new version. I played
http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_four_extra.m3u8
and this time it said Connecting... and then the clock kept running
but no sound was heard.

LMS log attached (I hope I selected the right debug option)

I need to look for the PlayHLS log next

Thanks,Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

Played the same URL from Tune In for 45 seconds. Log attached

Thanks


+---+
|Filename: ffmpeg-26016.log |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17430|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

bpa wrote: 
 The log showed a RadioTime URL being played not the m3u8 one - if you
 are using a favorite then something has got modified.  If you are using
 Tune-in then it is not showing in the log which may be wrong place in
 the log.

I put the url into the tunein Radio URL and hit play, is this wrong? I
don't have any favourites stored and LMS isn't reading the updated
menu.opml which I installed.

Attached the log file which was found in /volume1/tmp (hooray!)

Thanks


+---+
|Filename: ffmpeg-17654.log |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17429|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

PasTim wrote: 
 The problem with your menu.opml may be access rights.  Not knowing much
 about your operating system version I'm hesitant to suggest ways to
 check and fix it. however the text below shows the result of an 'ls -la'
 command in the BBCiPlayer directory on my system.  menu.opml has the
 same '-rw-r--r--' pattern and user name (squeezeboxserver) and user
 group (nogroup) as other files.  If yours do not look the same as other
 files in the directory, you have an access rights problem.   You user
 name and group may be different from mine, but all should be the same as
 each other on one system.
 
  
Code:

  
   /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BBCiPlayer$ ls -la
   total 140
   drwxr-xr-x  3 squeezeboxserver nogroup  4096 Feb 16 15:06 .
   drwxr-xr-x 20 squeezeboxserver nogroup  4096 Feb 13 11:49 ..
   -rw-r--r--  1 squeezeboxserver nogroup  9998 Nov  7  2011 BBCMSParser.pm
   -rw-r--r--  1 squeezeboxserver nogroup  1372 Oct 26  2011 
BBCPlaylistParser.pm
   -rw-r--r--  1 squeezeboxserver nogroup  6979 Jan 23 21:12 BBCXMLParser.pm
   drwxr-xr-x  3 squeezeboxserver nogroup  4096 Jan 24 20:43 HTML
   -rw-r--r--  1 squeezeboxserver nogroup   564 Jan 24 10:06 install.xml
   -rw-r--r--  1 squeezeboxserver nogroup 13451 Jan 23 21:12 iPlayer.pm
   -rw-r--r--  1 squeezeboxserver nogroup 27412 Feb 16 15:06 menu.opml
   -rw-r--r--  1 squeezeboxserver nogroup  2047 Aug 20  2012 Plugin.pm
   -rw-rw-r--  1 squeezeboxserver nogroup  7642 Aug 20  2012 RadioVis.pm
   -rw-r--r--  1 squeezeboxserver nogroup 34897 Jan 12  2014 RTMP.pm
   -rw-r--r--  1 squeezeboxserver nogroup  1116 Aug 20  2012 Settings.pm
   -rw-r--r--  1 squeezeboxserver nogroup  2168 Aug 20  2012 strings.txt
   /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BBCiPlayer$ 
   

  
 
 command chown changes the owner of the file.  So 
 
  
Code:

  
   sudo chown squeezeboxserver:nogroup menu.opml
  
Code:

  
 
 changes the owner and group to squeezeboxserver and nogroup
 
 Then:
 
  
Code:

  
   sudo chmod 644 menu.opml
   

  
 
 changes the access rights to -rw-r--r--  (read and write access to the 
owner, read for everyone else).  
   
   Thanks.
   Here's what I got with the initial ls -la command, I don't think anything 
needs changing?
   
   DiskStation ls -la
   drwxr-xr-x3 adminusers 4096 Feb 16 15:44 .
   drwxr-xr-x6 adminusers 4096 Feb 17 20:04 ..
   -rw-r--r--1 adminusers 9998 Nov  7  2011 BBCMSParser.pm
   -rw-r--r--1 adminusers 1372 Oct 26  2011 
BBCPlaylistParser.pm
   -rw-r--r--1 adminusers 6979 Jan 23 21:12 BBCXMLParser.pm
   drwxr-xr-x3 adminusers 4096 Feb  2 21:13 HTML
   -rw-r--r--1 adminusers 2047 Aug 20  2012 Plugin.pm
   -rw-r--r--1 adminusers34897 Jan 12  2014 RTMP.pm
   -rw-rw-r--1 adminusers 7642 Aug 20  2012 RadioVis.pm
   -rw-r--r--1 adminusers 1116 Aug 20  2012 Settings.pm
   -rw-r--r--1 adminusers13451 Jan 23 21:12 iPlayer.pm
   -rw-r--r--1 adminusers  564 Jan 24 10:06 install.xml
   -rw-r--r--1 root root 26476 Feb 16 15:44 menu.opml
   -rw-r--r--1 adminusers26476 Jan 23 21:12 menu.opmlbackup
   -rw-r--r--1 adminusers 2168 Aug 20  2012 strings.txt



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

PasTim wrote: 
 Oh yes it does.  What you think root root means?  Is it same as admin
 users?
 
 I suggest you try and work it out from there.  It's a learning
 experience most of us have gone through, sometimes with considerable
 pain to the brain.

On no! I have to log in as root in SSH to be able to access /volume1/ as
the web UI of the NAS doesn't allow root access.

Is there a way of changing ownership from root to admin?



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

castalla wrote: 
 @klammer
 
 Are you using Win to ssh to your nas ?

No, it's a Chromebook, no PC available!



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

PasTim wrote: 
 I told you how in my original post.  Scroll back a bit and find the
 entry with 'chown' command.

Thanks Tim but the sudo part of the code was rejected.



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

@pastim and @bpa

Just restarted LMS and the new streams are there. Selected Listen Live
from BBCiPlayer the BBC Radio 4Extra.  I have the 4Extra logo showing
in the UI and Now Playing  BBC Radio 4 Extra in the SB Classic
window. There is still no sound but the stream info reads File Format:
Debug HLS m3u8.

Are we getting somewhere?

Thanks to you both



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

sjalloq wrote: 
 Just wanted to reply to an old question on the other thread about my
 setup.  Taken ages to catch up on the posts here.  :-)  May be useful
 for anyone debugging.
 
 As a roundup: I'm running a Synology DS213 with LMS 7.7.2 and ffmpeg
 0.7.9.  No issues.  No hung ffmpeg processes.  All I've done is install
 bpa's original playhls v1.1.
 
  
Code:

  DiskStation /volume1/@appstore/SqueezeCenter/Bin/ffmpeg -version
   ffmpeg version 0.7.9, Copyright (c) 2000-2011 the FFmpeg developers
   built on Jan  3 2013 13:08:12 with gcc 4.2.1
   configuration: --arch=arm --target-os=linux 
--cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- 
--enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec 
--enable-pic --enable-shared --disable-static --disable-swscale-alpha 
--disable-ffserver --disable-ffplay --enable-nonfree --enable-version3 
--disable-decoder=amrnb
   WARNING: library configuration mismatch
   avdeviceconfiguration: --arch=arm --target-os=linux 
--cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- 
--enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec 
--enable-pic --enable-shared --disable-static --disable-swscale-alpha 
--disable-ffserver --disable-ffplay --enable-libmp3lame --enable-libfaac 
--enable-nonfree --enable-version3 --enable-libopencore-amrnb 
--enable-libopencore-amrwb --disable-decoder=amrnb
   avfilterconfiguration: --arch=arm --target-os=linux 
--cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- 
--enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec 
--enable-pic --enable-shared --disable-static --disable-swscale-alpha 
--disable-ffserver --disable-ffplay --enable-libmp3lame --enable-libfaac 
--enable-nonfree --enable-version3 --enable-libopencore-amrnb 
--enable-libopencore-amrwb --disable-decoder=amrnb
   libavutil50. 43. 0 / 50. 43. 0
   libavcodec   52.123. 0 / 52.123. 0
   libavformat  52.111. 0 / 52.111. 0
   libavdevice  52.  5. 0 / 52.  4. 0
   libavfilter   1. 80. 0 /  1. 77. 0
   libswscale0. 14. 1 /  0. 14. 1
   ffmpeg 0.7.9
   libavutil50. 43. 0 / 50. 43. 0
   libavcodec   52.123. 0 / 52.123. 0
   libavformat  52.111. 0 / 52.111. 0
   libavdevice  52.  5. 0 / 52.  4. 0
   libavfilter   1. 80. 0 /  1. 77. 0
   libswscale0. 14. 1 /  0. 14. 1
   

  
 
  
Code:

  DiskStation ps | grep ffmpeg
   24602 admin20864 S/volume1/@appstore/SqueezeCenter/Bin/ffmpeg 
-loglevel quiet -i 
http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_one.m3u8
 -f flac -
   24624 root  2980 Sgrep ffmpeg
   DiskStation 
   

  

@bpa 

Should I install PlayHLS version 1.1 and see if it works in light of the
above? I would require the repository again please.

Thanks

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

bpa wrote: 
 That help.
 
 Can you try four dir commands so that I'll know which one works
 dir /@tmp
 dir /volume1/@tmp
 dir /var/tmp
 dir /var/@tmp

Here are the results:

/volume1
DiskStation dir /@tmp
ls: /@tmp: No such file or directory
DiskStation dir /volume1/@tmp
drwxrwxrwt5 root root  4096 Feb 17 07:27 .
drwxr-xr-x   14 root root  4096 Feb 17 10:42 ..
drw-r--r--2 root root  4096 Feb 16 20:20 btdl
drwxrwxrwx3 root root  4096 Feb 16 10:36
cloud-syncd.work.dir
drwxrwxrwx3 root root  4096 Feb 17 07:27 pkglist.tmp
DiskStation dir /var/tmp
lrwxrwxrwx1 root root 4 Feb 16 08:24 /var/tmp -
/tmp
DiskStation dir /var/@tmp
drwxrwxrwx3 root users 4096 Feb 16 09:13 .
drwxr-xr-x   14 root root  4096 Feb 16 09:13 ..
drwxrwxrwx3 root users 4096 Feb 16 09:13 synovfs

Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

bpa wrote: 
 OK - on Synology there is no /tmp it is called /volume1/@tmp
 
 Can you try one one more command - if available this command
 automatically find the designated  temp area on a system.  If it works
 it would mean one version of the Debug Plugin works for all Linux
 systems.
 mktemp --tmpdir -u abcXXX

Tried that:

DiskStation mktemp --tmpdir -u abcXXX
-ash: mktemp: not found

Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

onlyconnect wrote: 
 There is /tmp on Synology (at least on mine and I suspect all).
 
 That command returns:
 
 /tmp/abcHwy
 
 on my Synology.
 
 Tim

I may have found it on my Synology too?

DiskStation cd /tmp/abcHwy
-ash: cd: can't cd to /tmp/abcHwy
DiskStation cd /tmp/  
DiskStation dir
drwxrwxrwt   12 root root  1500 Feb 17 12:12 .
drwxr-xr-x   26 root root  4096 Feb 16 09:34 ..
-rw-r--r--1 root root  8192 Feb 16 08:24
.db.group.desc.5022
-rw-r--r--1 root root  8192 Feb 16 08:24
.db.group.id.5022
-rw-r--r--1 root root  8192 Feb 16 08:24
.db.group.name.5022
-rw-r--r--1 root root  8192 Feb 16 08:24
.db.user.misc.5022
-rw-r--r--1 root root  8192 Feb 16 08:24
.db.user.name.5022
-rw-r--r--1 root root  8192 Feb 16 08:24
.db.user.shadow.5022
-rw-r--r--1 root root  8192 Feb 16 08:24
.db.user.uid.5022

(I've truncated the folder contents)

Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-17 Thread Klammer

bpa wrote: 
 There is a difference between the two Synology products - one is arm
 based and the other Intel and the linux is different.
 
 On Klammer's NAS,  it's possible that LMS is not running from volume1 in
 which case the /tmp would have failed but that does not explain why no
 log on onlyconnect's NAS which seems to have a /tmp.
 
 The other possibility is the shell on the arm is ash which is not a
 full shell (e.g. bash) and so my script may not run.
 
 What shell is running onlyconnect's NAS ?

My NAS is ARM.

When I get an SSH error, this type of message is shown:

DiskStation cd /tmp/abcHwy
*-ash: *cd: can't cd to /tmp/abcHwy

Does that clarify which shell is running or is it the crosh I'm using
on Chromebook?

Thanks
Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 Looking at the log the playhls.sh change didn't get used for some
 reason so I think creating a special version of the Plugin will be a
 better route to deliver mods.

A new version of the plugin would be fantastic, thanks, I am still
scared of breaking something, amateur that I am!

Cheers

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 This proves the ffmpeg is OK, can handle the BBC HLS streams and your
 NAS can also communicate with BBC.
 
 
 To test this theory 
 
 1. Stop LMS.
 2. In Plugin PlayHLS Bin directory - make sure the playhls.sh file is
 executable.
 3. In Plugin PlayHLS directory - make a backup of the
 custom-convert.conf file and edit it changing [ffmpeg] to
 [playhls.sh]
 4. Start LMS
 5. Repeat test as before with logging.
 
 
 
 

All changes made as suggested and log attached. Same problem persists,
time out after 3 seconds and back to main menu.

Thanks


+---+
|Filename: LMSLogafterchanges.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17409|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 Klammer  onlyconnect,
 
 
 
 OK but for the moment, I have a debug version of the Plugin
 
 1. Can you delete the current version of plugin by going to WebUI
 Settings/Plugin and uncheck the PlayHLS , click Apply and Restart.
 2. Add the following repo
 http://homepage.eircom.net/~altondsl/repos/repo-playhlsdebug.xml and
 you'll see a new Plugin group called PlayHLS Debug Plugin repo with one
 PlayHLS plugin - check that and get it installed like before.
 3. If Debug version of plugin installed OK then
 Settings/Advanced/Filetypes will have a Debug HLS m3u8 and no Apple
 HLS m3u8.
 
 This plugin will create in directory /tmp a playhls-sh.log and some
 ffmeg-.log files.
 
 Can you then try to play a BBC m3u8 stream and after 10 secs (or enough
 time to know that ffmpeg has stopped)  then clear the playlist from the
 player.
 Copy output the playhls-sh.log file and any ffmpeg-.log files into a
 post.

All instructions followed exactly as described and log attached.

Many thanks


+---+
|Filename: HLSDebugPluginLog.zip|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17412|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

onlyconnect wrote: 
 Installed, but I am not seeing any logs, sorry. Not sure if script is
 not running, or if it is a permissions issue.
 
 Tim

Sorry, but I can't locate any logs either

Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

Klammer wrote: 
 That's a relief!
 
 Thank you

Found it!

DiskStation cd @appstore/SqueezeCenter/Cache/InstalledPlugins/
DiskStation dir
drwxr-xr-x3 adminusers 4096 Nov 26 17:48 .
drwxr-xr-x7 adminusers 4096 Feb 16 09:54 ..
drwxr-xr-x6 adminusers 4096 Feb 13 15:12 Plugins
DiskStation cd Plugins/
DiskStation dir
drwxr-xr-x6 adminusers 4096 Feb 13 15:12 .
drwxr-xr-x3 adminusers 4096 Nov 26 17:48 ..
drwxr-xr-x3 adminusers 4096 Feb  2 21:13 BBCiPlayer
drwxr-xr-x3 adminusers 4096 Feb 13 15:03
BBCiPlayerExtra
drwxr-xr-x3 adminusers 4096 Nov 26 17:48 MusicInfoSCR
drwxr-xr-x3 adminusers 4096 Feb 13 15:12 PlayHLS

Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 SSH is just a secure terminal connection. So the rest is standard
 console. I thought you were already using a terminal since you did the
 dir and cd to show contents of Plugin directory
 1. First got to the Bin directory using something like  cd
 @appstore/SqueezeCenter/Cache/InstalledPlugins/Plugin/PlayHLS/Bin
 2. Do a dir  or ls -l on the Plugin Bin directory.   The playhls.sh
 file should have a x in the permission something like rwxrwxrwx or
 r-xr-xr-x
 
 To backup and edit custom-convert.conf
 1. First got to the PlayHLS directory using something like  cd
 @appstore/SqueezeCenter/Cache/InstalledPlugins/Plugin/PlayHLS
 2. Backup using cp custom-convert.conf custom-convert.conf.backup
 3. editing the file depends on editor avauilable try nano
 custom-convert.conf
 4. use arrow keys to navigate and type when you weantr to change.
 5. Use CTRL/O to save the changed file
 6.  Use CTRL/X to exit editor.

I think I have managed it...

DiskStation  ls -l playhls.sh 
-rw-rw-r--1 adminusers  306 Feb 13 09:42 playhls.sh

..but I'm not sure...

Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 That's good. 
 The command to make executable is chmod   +x   playhls.sh

OK, so I now have this after changing the file attributes of PlayHLS.sh

DiskStation cd @appstore/SqueezeCenter/Cache/InstalledPlugins/
DiskStation dir
drwxr-xr-x3 adminusers 4096 Nov 26 17:48 .
drwxr-xr-x7 adminusers 4096 Feb 16 13:30 ..
drwxr-xr-x6 adminusers 4096 Feb 13 15:12 Plugins

I have managed to make a backup of this:
DiskStation cp custom-convert.conf custom-convert.conf.backup
DiskStation dir
drwxr-xr-x3 adminusers 4096 Feb 16 14:11 .
drwxr-xr-x6 adminusers 4096 Feb 13 15:12 ..
drwxr-xr-x2 adminusers 4096 Feb 13 15:12 Bin
-rw-r--r--1 adminusers  876 Feb 13 09:18 Plugin.pm
-rw-r--r--1 adminusers  840 Feb 13 09:17 Plugin.pm~
-rw-r--r--1 adminusers  393 Feb 13 09:39
custom-convert.conf
-rw-r--r--1 root root   393 Feb 16 14:11
custom-convert.conf.backup
-rw-r--r--1 adminusers  730 Dec 18  2008
custom-convert.conf~
-rw-r--r--1 adminusers  110 Feb 13 09:37
custom-types.conf
-rw-r--r--1 adminusers   60 Feb 12  2008
custom-types.conf~
-rwxr--r--1 adminusers  530 Feb 13 09:20 install.xml
-rwxr--r--1 adminusers  529 Dec 17  2008 install.xml~
-rwxr--r--1 adminusers  217 Feb 13 09:35 strings.txt
-rwxr--r--1 adminusers  208 Feb 12  2008 strings.txt~
-rw-rw-r--1 adminusers  271 Feb 13 09:41
vlc-custom-convert.conf
-rw-rw-r--1 adminusers  275 Feb 13 09:40
vlc-custom-convert.conf~

I can't seem to get a text editor running though:
DiskStation nano custom-convert.conf
-ash: nano: not found

Is there any other way of editing the file please?

Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 This proves the ffmpeg is OK, can handle the BBC HLS streams and your
 NAS can also communicate with BBC.
 
 
 Reviewing previous posts - I think a number of failed playing of BBC URL
 seem to be because the URL was not copied properly and had the ... . 
 This is not the cause of the basic problem, it just added a bit of
 confusion.
 
 From the log LMS decides very quickly (in 3 secs) that no data is coming
 from the stream - I cannot reproduce this and cannot see this timeout in
 LMS so I think the ffmpeg has not started quick enough for LMS. To test
 this theory 
 
 1. Stop LMS.
 2. In Plugin PlayHLS Bin directory - make sure the playhls.sh file is
 executable.
 3. In Plugin PlayHLS directory - make a backup of the
 custom-convert.conf file and edit it changing [ffmpeg] to
 [playhls.sh]
 4. Start LMS
 5. Repeat test as before with logging.
 
 
 Just for info - Chromebook has a built in terminal Emulator with ssh -
 use CTRL+ALT+T - chromebook makes a great console for managing small
 linux boxes. Out of curiousity if there was a Squeezelite player  (only
 44.1kHz  48kHZ) for Chromebook would you use it ?

Hi,
I am using SSH in crosh (CTRL/ALT/T) but I am completely new to this.
Please could you give me the code I require to
1). Check that playhls.sh is an exe
2). Backup and edit the custom-convert.conf

Sorry to ask but, as I say, this is my first time using SSH

I would welcome any way to listen to the lost BBC feeds although I have
my Squeezeboxes connected to Cyrus X Systems on 2 of the 3 floors of the
house and, as such would prefer to listen in hi-fi.

Many thanks

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 You cannot be producing those log files without the PlayHLS plugin
 installed and working.
 
 The plugin installed using the Settings/Plugin page are installed in the
 another directory - a cache one.
 To find this directory look at WebGUI Settings/Information and look at
 the Plugins directory with the path which has InstalledPlugins/Plugins
 in the path

That's a relief!

Thank you



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 Pity - the logs are supposed to be put in /tmp which for all Linux
 supposed to be accessible to all. However sometimes NAS break the
 rules.
 
 Is there a directory call /tmp on your NAS ? Can files be created in it
 ?
 If no /tmp do you what is the temporary directory on your NAS systems
 and I'll do another version of the Plugin.

Please see attached file which shows the directory tree on my Synology
NAS.

Thank you


+---+
|Filename: Synology NAS directory tree_Klammer.zip  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17413|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 The other common editor is vi but it is not as user friendly.
 
 If I create a conf file - are you able to get it from a post and save it
 as a file on the NAS ?

I have managed to copy the file to another folder on the Synology, edit
it and copy it back to the original folder (quite proud of myself
actually!).
Here's what I have now:

DiskStation cd PlayHLS
DiskStation dir
drwxr-xr-x3 adminusers 4096 Feb 16 14:11 .
drwxr-xr-x6 adminusers 4096 Feb 13 15:12 ..
drwxr-xr-x2 adminusers 4096 Feb 13 15:12 Bin
-rw-r--r--1 adminusers  876 Feb 13 09:18 Plugin.pm
-rw-r--r--1 adminusers  840 Feb 13 09:17 Plugin.pm~
-rw-r--r--1 adminusers  393 Feb 13 09:39
custom-convert.conf
-rw-r--r--1 root root   393 Feb 16 14:11
custom-convert.conf.backup
-rw-r--r--1 adminusers  730 Dec 18  2008
custom-convert.conf~
-rw-r--r--1 adminusers  110 Feb 13 09:37
custom-types.conf
-rw-r--r--1 adminusers   60 Feb 12  2008
custom-types.conf~
-rwxr--r--1 adminusers  530 Feb 13 09:20 install.xml
-rwxr--r--1 adminusers  529 Dec 17  2008 install.xml~
-rwxr--r--1 adminusers  217 Feb 13 09:35 strings.txt
-rwxr--r--1 adminusers  208 Feb 12  2008 strings.txt~
-rw-rw-r--1 adminusers  271 Feb 13 09:41
vlc-custom-convert.conf
-rw-rw-r--1 adminusers  275 Feb 13 09:40
vlc-custom-convert.conf~

I think I need to make the edited file the default one now but it has a
~ next to it

and I think this shows plathls.sh as exe?

DiskStation cd Bin
DiskStation dir
drwxr-xr-x2 adminusers 4096 Feb 13 15:12 .
drwxr-xr-x3 adminusers 4096 Feb 16 14:11 ..
-rw-rw-r--1 adminusers  306 Feb 13 09:42 playhls.sh

My head's spinning...are we getting somewhere...what's next please?

I really do appreciate your help
Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 I need to add get additional diagnostic info from ffmpeg and it needs
 some changes to PlayHLS file.
 
 I'm not sure the level of control you have on your NAS.
 
 Are you able to do some small edits on 2 files in thePlayHLS plugin 
 or 
 could you replace 2 Plugin files if the files were attached to a post 
 or would you prefer to do a plugin install with a special verison of
 PlayHLS with added diagnostic.

I should be able to copy files from an attachment. I have managed to
edit a file and copy it back already. To be honest, I'll try anything
although it's a steep learning curve for me...

Thanks once again



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 Your problem and only connect's are very similar in symptoms so I think
 I'll make up a special version of the PlayHLS Plugin which has the
 required changes and you'll only have to do a Plugin install instead.

That would be really really good, thank you, what a relief!

Do I need to replace the menu.opml file in the BBCiPlayer folder? I
downloaded it a few days ago but wasn't sure if to use it or not?

Thank you very much



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

PasTim wrote: 
 This file allows you to us the 'live' section of the BBCiPlayer menu for
 all BBC radio channels without needing to create any new favourites or
 'tune in' urls yourself.  
 
 If you have found the BBCiPlayer folder in .../InstalledPlugins/Plugins,
 rename the existing menu.opml to something else (eg menu.opml.backup)
 and then copy the new one into the folder.

Thanks, will try!



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

I looked at the Plugins folder for the HLS plugin by bpa but the
directory appears to be empty.

The plugin is checked in LMS and ffmpeg shows as the transcoding
option.

I'm not sure if this is causing my playback problems but thought I'd
mention it.

Zip of LMS directory contents attached
Thanks


+---+
|Filename: EmptyPluginsFolder-SynologyLMS.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17403|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 That is the correct output for this stream. Did you try to play the file
 output.flc ?
 
 AFAICT this proves that your ffmpeg is OK and can handles m3u8 AAC
 streams.
 I'll look back at your previous posts in the light of these test results
 and see if I can understand the issue.

I am using Crosh on a Chromebook so it's not a full Shell, I can locate
the output.flc file but I don't know how to save it or move it so it can
be played.

Thank you once again.

Paul



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: PlayHLS Plugin - plugin to play Apple HLS m3u8 stream

2015-02-16 Thread Klammer

bpa wrote: 
 That is the correct output for this stream. Did you try to play the file
 output.flc ?
 
 AFAICT this proves that your ffmpeg is OK and can handles m3u8 AAC
 streams.
 I'll look back at your previous posts in the light of these test results
 and see if I can understand the issue.

The output.flac file plays on all my Squeezeboxes at 1726kbps

Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)

2015-02-15 Thread Klammer

I think my Synology Diskstation must have ffmpeg pre-installed because,
after I installed the Apple HLS m3u8 plugin, file types on LMS list
the transcoding settings as:

Apple HLS m3u8: FLAC=ffmpeg
MP3=disabled
PCM=ffmpeg

However, I cannot get any of the playlists to work for me, not even the
mp3 streams work, i get error: no items in playlist etc.

I think I am almost there but am I missing something?

I am running LMS on a Synology DS213j:
Logitech Media Server Version: 7.7.3 - 1375965195 @ Mon Aug 19 11:42:55
PDT 2013
Hostname: DiskStation
IP: 192.*.*.*
HTTP Port: 9002
OS: Synology DiskStation (DSM Package Management) - EN - utf8
Platform: unknown
Perl Version: 5.18.4 - armle-linux
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 5

Can anyone help please?
Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)

2015-02-15 Thread Klammer

I'm still trying to get something to play.
This url: http://a.files.bbci.co.uk/media/live...io_fourfm.m3u8
gives me a 403 forbidden error, all other streams error as no files
in playlist



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)

2015-02-15 Thread Klammer

tfec wrote: 
 outside UK try this URL:
 http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/llnw/bbc_radio_fourfm.m3u8
 inside UK this one:
 http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/llnw/bbc_radio_fourfm.m3u8

Thanks, 

I'm in UK. and tried this one
http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/llnw/bbc_radio_fourfm.m3u8

I get getting stream info followed by now playing...connecting and
then an instant return to the now playing screen but no audio.

I don't know how to install lame as I can't access the volume1/@appstore
folder on my Synology but, mp3 shows as native in the file types
page?

The HLS plugin is ticked and ffmpeg is the transcoding option for HLS
and PCM in the advanced/file types page.

There's mention earlier in the thread of someone who has everything
working on his Synology setup but it seems his is working by the grace
of.. and he knows not why!

Thanks to all of you once again



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)

2015-02-15 Thread Klammer

I have tried all the suggestions kindly offered in order to get BBC
radio back but nothing works. I can't get ANY BBC streams working on LMS
on my Synology Diskstation, EVERY other type of stream works.

I decided to try LMS 7.7.3 on a Windows 7 laptop, all the same issues
persist, NO BBC at all, I can play absolutely every other radio station
in the world.

I give up, I'm listening to 4Extra on a mono DAB radio.  I'm praying
that an updated version of LMS for Synology comes along at some point.

Once again, a big thank you to those people who've tried to help

Cheers



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)

2015-02-15 Thread Klammer

castalla wrote: 
 Are you contradicting yourself?  You said no BBC feeds worked  now
 you say tunein ones do.
 
 ?

Apologies!

I'm at my wits end.

Radiofeeds app: Currently streaming Classic FM (mp3) [National,
Classical, Romantic, Film Score]
128kbps CBR, MP3 Radio - perfectly.  If I try BBC Radio 3 from the app I
get error: no items in playlist BBC Radio 3 (mp3) [National,
Classical, Opera, Arts]
0, PLS Radio

Tunein Url: Nothing works at all now

Thanks



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)

2015-02-15 Thread Klammer

castalla wrote: 
 Doesn't make sense!  Sorry I know that doesn't help but tunein streams
 are just mp3 ...
 
 tried rebooting your router?

I will reboot the router and see if it helps.

I'm very confused as i can stream mp3 feeds with the Radiofeeds app and
also from Tunein - but not one BBC feed will work!



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)

2015-02-15 Thread Klammer

castalla wrote: 
 Not even the Tunein BBC streams?

Nope, every single BBC stream errors with file not found or no items
in playlist - that's on the Synology AND Windows 7!



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)

2015-02-15 Thread Klammer

  It may be better to wait for bpa's updated plugin and try the aac
 option first.  I'm afraid I know nothing about ipkg, but someone else
 here might do.

Thanks, I think you are correct, I'm just getting more and more
frustrated and confused!



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)

2015-02-15 Thread Klammer

bpa wrote: 
 I asked for some logging a while back  ( 
 http://forums.slimdevices.com/showthread.php?53229-Announce-BBCiPlayer-Plugin-(UK-only)p=807574viewfull=1#post807574
 )  - updating plugin won't help until the problem can be identified.

Sorry about that, I missed your request. I really do appreciate all your
help.

Thanks


+---+
|Filename: SynologyLMSlog.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17396|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)

2015-02-15 Thread Klammer

bpa wrote: 
 It looks like ffmpeg is not running or cannot play the stream.
 
 Can you run the following command from a shell prompt and tell me the
 version
 /usr/syno/bin/ffmpeg -version

DiskStation /usr/syno/bin/ffmpeg -version
ffmpeg version 2.0.2
built on Jan  7 2015 14:39:28 with gcc 4.6.4 (Linaro GCC branch-4.6.4.
Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN)
configuration: --prefix=/usr/syno --incdir='${prefix}/include/ffmpeg'
--arch=arm --target-os=linux
--cross-prefix=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-
--enable-cross-compile --enable-optimizations --enable-pic --enable-gpl
--enable-shared --disable-static --enable-version3 --enable-nonfree
--enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib
--disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe
--disable-swscale-alpha --disable-ffserver --disable-ffplay
--disable-devices --disable-bzlib --disable-altivec
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libmp3lame --disable-decoder=amrnb --disable-encoder=zmbv
--disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed
--disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3
--disable-decoder=truehd
--cc=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ccache-gcc
--disable-doc
libavutil  52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat55. 12.100 / 55. 12.100
libavdevice55.  3.100 / 55.  3.100
libavfilter 3. 79.101 /  3. 79.101
libswscale  2.  3.100 /  2.  3.100
libswresample   0. 17.102 /  0. 17.102
libpostproc52.  3.100 / 52.  3.100



Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: BBCiPlayer Plugin (UK only)

2015-02-15 Thread Klammer

bpa wrote: 
 Looks good - it may need a further check later.
 
 can you try playing this non BBC m3u8 URL using LMS Web GUI Radio /
 Tune-in URL
 http://hls1.addictradio.net/addictalternative_aac_hls/playlist.m3u8

Same thing happened, it said Connecting... and then returned to
Squeezebox Home

Log attached

Thanks

1739717397


+---+
|Filename: SynologyLog-NonBBCStream.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=17397|
+---+


Klammer's Profile: http://forums.slimdevices.com/member.php?userid=64022
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


  1   2   >