Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2018-03-20 Thread Ge Ba

May I ask a moderator to move this thread to the *3rd Party Software*
area of the forum, please?
http://forums.slimdevices.com/forumdisplay.php?4-3rd-Party-Software

THANKS!



*Server:* LMS 7.9.1-166 Synology @ Sept 04 2017 on DS216Play. SOX mansr
ARMv7 & C-3PO. *Players:* SB Radio, Freecom MusicPal. Multiroom HiFi:
Denon AVR-X4000, AVM M30, Nubert NuLine/NuVero 5.1+2

Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=108190

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


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2018-01-15 Thread pinkdot

fmanders wrote: 
> I've installed the updated package on a Synology 1511+ (Intel based) and
> have encountered no issues yet. I do have a quite straightforward setup
> though, with limited plugins.
> 
> Thanks for your continued effort!Thanks for the confirmation!



-LMS on Raspian Stretch -> 2x Radio
-RPI 3 ('Mopidy' (https://www.mopidy.com/)),  Aune S6 - Exposure 3010S2
- PMC FB1i

pinkdot's Profile: http://forums.slimdevices.com/member.php?userid=34644
View this thread: http://forums.slimdevices.com/showthread.php?t=108190

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


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2018-01-15 Thread fmanders

I've installed the updated package on a Synology 1511+ (Intel based) and
have encountered no issues yet. I do have a quite straightforward setup
though, with limited plugins.

Thanks for your continued effort!



fmanders's Profile: http://forums.slimdevices.com/member.php?userid=33704
View this thread: http://forums.slimdevices.com/showthread.php?t=108190

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


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2017-12-30 Thread pinkdot

Stig Nygaard wrote: 
> In principle maybe slightly off-topic for this thread, but still thought
> it was worth mentioning that Pinkdot recently found time to create
> updated LmsUpdate packages for X86_64 and Armada375. These include all
> LMS commits up to and including December 22 (At the time of writing,
> this means 100% up-to-date with latest checkins):
> 
> https://sourceforge.net/projects/lmsupdate/files/DSM6.x/
> 
> (Disclaimer: Haven't tried them myself yet ...

I've tested the Armada375 version on my own server. The x86_64 version
is not tested, but downloaded over 50 times. I've not read any comments
that it is not working ;-)

Sent from my Redmi 3S using Tapatalk



-LMS on Raspian Stretch -> 2x Radio
-RPI 3 ('Mopidy + Raspotify' (https://www.mopidy.com/)),  Allo Boss DAC-
Exposure 3010S2 - PMC FB1i

pinkdot's Profile: http://forums.slimdevices.com/member.php?userid=34644
View this thread: http://forums.slimdevices.com/showthread.php?t=108190

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


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2017-12-30 Thread Stig Nygaard

In principle maybe slightly off-topic for this thread, but still thought
it was worth mentioning that Pinkdot recently found time to update the
LmsUpdate packages for X86_64 and Armada375. These include all LMS
commits up to and including December 22 (At the time of writing, this
means 100% up-to-date with latest checkins):

https://sourceforge.net/projects/lmsupdate/files/DSM6.x/

(Disclaimer: Haven't tried them myself yet. Need to find time to migrate
my setup from LmsRepack to LmsUpdate)



*/Stig* 
'www.*rockland*.dk' (http://www.rockland.dk) -
'www.*last.fm*/user/rockland' (https://last.fm/user/rockland) -
'www.*discogs*.com/user/StigNygaard'
(https://discogs.com/user/StigNygaard) -
'*plus.google*.com/+StigNygaard' (https://google.me/+StigNygaard)
*Server:* LMS 7.9.1 ('LmsRepack'
(http://forums.slimdevices.com/showthread.php?107180)) - 1503129892 @
Sat Aug 19 on Synology DS716+II.  *Clients:* 'RPi3 (Max2Play, 7\" touch,
HiFiBerry Digi+ Pro)'
(https://shop.max2play.com/en/raspberry-pi-2-bundle-7-display.html), SB
Touch, OrangeSqueeze/SqueezePlayer. *Livingroom HiFi:* Marantz PM6005
and F3/Lyd Audiovector 2.
Try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771)*
for fetching big *cover-art* from various sites - And *'Album Linkr'
(https://greasyfork.org/en/scripts/21153)* for a better *last.fm*
desktop browser experience...

Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236
View this thread: http://forums.slimdevices.com/showthread.php?t=108190

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


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2017-11-03 Thread Ge Ba

pinkdot wrote: 
> Hi Gerhard,
> 
> If you want to update a the 166 spk, make sure to create a new 'base'.
> As already said, the the 166 spk is *not* in line with commit ID a519d5!
> You have to get this in line first before moving on.
> Second: don' t just copy files or directories, some files/code contain
> Synology specific patches.
> Third: there are some differences between architectures. I would advice
> to create a new 'base' package for all architectures you want to
> maintain/create.Hi Martin,

thanks a lot for your input, and thank you Michael for following up with
Synology!

For now I have just added a comment in the document.. that there are
inconsistencies between Synology package and Github commits to a519d5.

Other Updates:
- added info how to invoke self-compiled SOX 
- added info how to add LAME, 
both in folder Bin.
I know these are kind of optional for most  users, but for some like me
they are essential..

rgds
Gerhard





Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=108190

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


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2017-11-02 Thread Michael Herger

Just to be on the save side (I don't know what changed with their latest
code, but this was needed before).


I did a quick diff between git and their package. There seem to be three 
"patches" applied:


- one actually deals with an issue I've seen myself, but never was able 
to reproduce. What a pity they didn't provide a patch upstream...


- one change to the prefs folder handling, which doesn't come with any 
comment. Don't know why they changed that (and why that change would be 
required anyway).


- one change to the main skin, hiding the update prompt in the footer. 
Which would not be required if they had done the customization properly 
to override the update checking behaviour...


Other than that there's certainly tons of leftovers. Files which have 
been removed or moved. Changes they forgot to apply. I'm actually 
surprised we didn't see bug reports for some of those, as they missed a 
fix or two.


I'll try get in touch with them to get those issues resolved.

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2017-11-02 Thread pinkdot

mherger wrote: 
> 
> 
> I guess I'll have to do a diff on their code for every single package they 
> have,> and what we have in github...
Just to be on the save side (I don't know what changed with their latest
code, but this was needed before).



-LMS on Raspian Stretch -> 2x Radio
-RPI 3 ('Mopidy + Raspotify' (http://moodeaudio.org/)),  Allo Boss DAC-
Exposure 3010S2 - PMC FB1i

pinkdot's Profile: http://forums.slimdevices.com/member.php?userid=34644
View this thread: http://forums.slimdevices.com/showthread.php?t=108190

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


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2017-11-01 Thread Michael Herger

Second: don' t just copy files or directories, some files/code contain
Synology specific patches.


Would you have any information about what patches they applied?

I guess I'll have to do a diff on their code and what we have in github...

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2017-11-01 Thread pinkdot

Ge Ba wrote: 
> Thank you, Michael, your 'naive' view is probably more sophisticated
> than anybody elses here :)
> 
> I opened the documents for commenting, and updated your points right
> away.
> Also I made proper links to the related locations at the bottom of the
> page, later I will probably edit the OP to be something like a quick
> summary of all the details behind...
> 
> Gerhard
Hi Gerhard,

If you want to update a the 166 spk, make sure to create a new 'base'.
As already said, the the 166 spk is *not* in line with commit ID a519d5!
You have to get this in line first before moving on.
Second: don' t just copy files or directories, some files/code contain
Synology specific patches.
Third: there are some differences between architectures. I would advice
to create a new 'base' package for all architectures you want to
maintain/create.



-LMS on Raspian Stretch
-RPI 3 ('Moode 3.8 + Raspotify + Squeezelite' (http://moodeaudio.org/)),
Allo Boss DAC- Exposure 3010S2 - PMC FB1i
-2x Radio
-Laptop - openSUSE Leap - Squeezelite

pinkdot's Profile: http://forums.slimdevices.com/member.php?userid=34644
View this thread: http://forums.slimdevices.com/showthread.php?t=108190

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


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2017-10-30 Thread Ge Ba

mherger wrote: 
> > PS: this is Google Docs, this thing just didn't work on the User
> Forum..
> > but discussion can be here :)
> 
> TBH: I think being able to comment on the document itself would be 
> easier. Comments could be placed where they belong, instead of trying to
> 
> reference some section of the document here.
> 
> But here's my little input: I think almost anything but the Slim & HTML
> 
> folder, plus a few file in the main folder, should not be touched. Most
> 
> changes will be .pm files (perl modules).
> 
> In order to get a list of changes since Synology's release, use this
> link:
> 
> https://github.com/Logitech/slimserver/compare/a519d5...public/7.9
> 
> a519d5 is the commit ID of the revision Synology's package is based on.
> 
> Whenever they release a new version, that revision would have to be 
> figured out.
> 
> Following this link there's another link to show the changed files. 
> Today you'd see a lot of changes in CPAN - ignore them, as you'd be 
> using Synology's. Which leaves us with only a hand full of changes. 
> Replace Synology's copy of those files with the new ones. Wrap up the 
> work in to a .spk. Done. That's my naive take.
> 
> -- 
> 
> Michael

Thank you, Michael, your 'naive' view is probably more sophisticated
than anybody elses here :)

I opened the documents for commenting, and updated your points right
away.
Also I made proper links to the related locations at the bottom of the
page, later I will probably edit the OP to be something like a quick
summary of all the details behind...

Gerhard



Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=108190

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


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2017-10-30 Thread Michael Herger

PS: this is Google Docs, this thing just didn't work on the User Forum..
but discussion can be here :)


TBH: I think being able to comment on the document itself would be 
easier. Comments could be placed where they belong, instead of trying to 
reference some section of the document here.


But here's my little input: I think almost anything but the Slim & HTML 
folder, plus a few file in the main folder, should not be touched. Most 
changes will be .pm files (perl modules).


In order to get a list of changes since Synology's release, use this link:

https://github.com/Logitech/slimserver/compare/a519d5...public/7.9

a519d5 is the commit ID of the revision Synology's package is based on. 
Whenever they release a new version, that revision would have to be 
figured out.


Following this link there's another link to show the changed files. 
Today you'd see a lot of changes in CPAN - ignore them, as you'd be 
using Synology's. Which leaves us with only a hand full of changes. 
Replace Synology's copy of those files with the new ones. Wrap up the 
work in to a .spk. Done. That's my naive take.


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2017-10-29 Thread Cut-Throat

Ge Ba wrote: 
> Following the discontinuation of the LMS Repack and LMS Update packages
> by Pinkdot, I tried to get a basic understanding of how the Synology
> packages are built and packed, and how it is possible to update them
> using the latest nightlies of LMS.
> 
> Though I did not have the time to get into the experimental phase, yet,
> I would like to share my discoveries, to hopefully help others who look
> for more understanding to move forward.
> 
> This is also to thank this great community for your support and
> enthusiasm!
> 
> https://docs.google.com/document/d/14BSFC6LqCYhuy1j43Ue8-A6B5tc9o5ub3ViJ-BtKdtw/edit?usp=sharing
> 
> Please let me know what you think and if this helps you. This is draft,
> so certainly there are errors and lots of room for improvement. Feedback
> how to improve is always welcome.
> 
> Gerhard
> 
> PS: this is Google Docs, this thing just didn't work on the User Forum..
> but discussion can be here :) 
> 
> Sent from my E6653 using Tapatalk

[image: https://media.giphy.com/media/Cgo9XkgzRcTPW/giphy.gif]



Cut-Throat's Profile: http://forums.slimdevices.com/member.php?userid=43167
View this thread: http://forums.slimdevices.com/showthread.php?t=108190

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


Re: [SlimDevices: SqueezeCenter] Anatomy of a Synology LMS .spk package

2017-10-28 Thread Stig Nygaard

Thanks a lot for sharing this :-)



*/Stig* 
'www.*rockland*.dk' (http://www.rockland.dk) -
'www.*last.fm*/user/rockland' (https://last.fm/user/rockland) -
'www.*discogs*.com/user/StigNygaard'
(https://discogs.com/user/StigNygaard) -
'*plus.google*.com/+StigNygaard' (https://google.me/+StigNygaard)
*Server:* LMS 7.9.1 ('LmsRepack'
(http://forums.slimdevices.com/showthread.php?107180)) - 1503129892 @
Sat Aug 19 on Synology DS716+II.  *Clients:* 'RPi3 (Max2Play, 7\" touch,
HiFiBerry Digi+ Pro)'
(https://shop.max2play.com/en/raspberry-pi-2-bundle-7-display.html), SB
Touch, OrangeSqueeze/SqueezePlayer. *Livingroom HiFi:* Marantz PM6005
and F3/Lyd Audiovector 2.
Try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771)*
for fetching big *cover-art* from various sites - And *'Album Linkr'
(https://greasyfork.org/en/scripts/21153)* for a better *last.fm*
desktop browser experience...

Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236
View this thread: http://forums.slimdevices.com/showthread.php?t=108190

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