Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Nov 2020
    Location
    Ireland
    Posts
    16

    custom-convert.conf overwritten on update, LMS 8.0, Synology

    Hi,

    First of all, big thanks to all of the developers for maintaining such brilliant pieces of software!

    Long-time lurker but first-time poster here. My apologies if I'm putting this in the wrong section but I'm not sure if it relates to the Synology package specifically or to linux OSs more generally. I could not find any mention of the same issue anywhere on the forums.

    I am running pinkdot's 8.0.0 package on a Synology DS920+. I use a custom-convert.conf to handle my musepack encodes and everything works very well. As the documentation suggests, I place this file in the Logitech Media Server root directory, alongside the convert.conf file, which in my case is /volume1/@appstore/SqueezeCenter. With every update of the LMS package my custom-convert.conf file is removed. Should I be placing this conf file elsewhere, perhaps in one of the helper application folders listed on the server status page? I have tried a few but LMS does not pick it up. Or is there something I can do to prevent the removal/overwriting of this file? Any pointers appreciated.

    Stay healthy

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,538
    LMS would really only look in the root - and in plugin folders. Therefore the simplest solution probably is to create a minimalist plugin:

    Plugin.pm:
    Code:
    package Plugins::MyCustomConvert::Plugin;
    
    # nothing to do here. We only want LMS to register the search path
    
    1;
    install.xml:
    Code:
    <?xml version='1.0' standalone='yes'?>
    <extension>
    	<name>My own custom convert plugin</name>
    	<creator>You!</creator>
    	<id>[put your own UUID here]</id>
    	<module>Plugins::MyCustomConvert::Plugin</module>
    	<targetApplication>
    		<id>SqueezeCenter</id>
    		<maxVersion>*</maxVersion>
    		<minVersion>7.7</minVersion>
    	</targetApplication>
    	<type>2</type>
    	<version>0.1.2</version>
    </extension>
    And drop your custom-convert.conf file together with these in Plugins/MyCustomConvert (see Settings/Information for the custom Plugins path).
    Michael

    "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
    (LMS: Settings/Information)

  3. #3
    Junior Member
    Join Date
    Nov 2020
    Location
    Ireland
    Posts
    16
    works perfectly, thank you Michael!

    I note that some plugins don't appear to have a uuid and use 'SlimServer' instead. Will that suffice if I need to repeat this on another server?

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,538

    custom-convert.conf overwritten on update,LMS 8.0, Synology

    > works perfectly, thank you Michael!

    Great!

    > I note that some plugins don't appear to have a uuid and use
    > 'SlimServer' instead. Will that suffice if I need to repeat this on
    > another server?


    No, every plugin should have its own UUID. But you can use for the same
    on different machines, of course.

    What plugins would that be which use SlimServer?


    --

    Michael

  5. #5
    Junior Member
    Join Date
    Nov 2020
    Location
    Ireland
    Posts
    16
    Actually I just noticed it is contained in targetApplication, but no uuid elsewhere

    e.g (from my /@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins)

    Code:
    <?xml version='1.0' standalone='yes'?>
    <extensions>
      <targetApplication>
        <maxVersion>*</maxVersion>
        <id>SlimServer</id>
        <minVersion>7.7</minVersion>
      </targetApplication>
      <optionsURL>plugins/RaopBridge/settings/basic.html</optionsURL>
      <creator>Philippe</creator>
      <version>0.4.43.0</version>
      <name>PLUGIN_RAOPBRIDGE</name>
      <description>PLUGIN_RAOPBRIDGE_DESC</description>
      <email>philippe_44@outlook.com</email>
      <defaultState>enabled</defaultState>
      <module>Plugins::RaopBridge::Plugin</module>
    </extensions>
    Code:
    <?xml version="1.0"?>
    <extension>
            <name>PLUGIN_PLAYWMA</name>
            <module>Plugins::PlayWMA::Plugin</module>
            <version>1.1</version>
            <description>PLUGIN_PLAYWMA_DESC</description>
            <creator>bpa</creator>
            <defaultState>enabled</defaultState>
            <icon>plugins/PlayWMA/html/images/playwma.png</icon>
            <type>2</type><!-- type=extension -->
            <targetApplication>
                    <id>SlimServer</id>
                    <minVersion>7.7</minVersion>
            <maxVersion>*</maxVersion>
            </targetApplication>
    </extension>

  6. #6
    Dear Michael, I just chime in to thank you for this excellent suggestion!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •