[QPKG] SortMyQPKGs

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
OneCD
Ask me anything
Posts: 8102
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] Sort my QPKGs

Post by OneCD » Tue Jun 27, 2017 4:29 pm

Good question Tim.

It now works on the idea that there is a list of packages that must be run first, before any other packages (this is called the 'alpha' list).

There is also a list of packages that must be run after everything else (I called this the 'omega' list).

Then every other unspecified package fits in between these two lists. This is the vast majority of QPKGs out there.

Qmono is part of the alpha list, so Emby falls within the middle list of unspecified packages. Which means Emby doesn't need to be explicitly listed.
Last edited by OneCD on Tue Jun 27, 2017 4:36 pm, edited 1 time in total.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
Spider99
Experience counts
Posts: 1946
Joined: Fri Oct 21, 2011 11:14 pm
Location: UK

Re: [QPKG] Sort my QPKGs

Post by Spider99 » Tue Jun 27, 2017 4:35 pm

Cool thanks - some people on the Emby forums are complaining that Emby doesn't work (on Qnap on reboot) till you stop it, restart qmono then restart Emby

So have pointed them here

:)
Tim

TS-853A(16GB): - 4.3.4.0483 - Static volume - Raid5 - 8 x 4TB HGST Deskstar NAS
Windows Server + StableBit Drivepool and Scanner ~115 TB Backup Server
TS-412 & TS-459 Pro II: Retired
Clients: 3 x Windows 10 Pro(64bit)

User avatar
OneCD
Ask me anything
Posts: 8102
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] Sort my QPKGs

Post by OneCD » Wed Jun 28, 2017 4:31 am

No worries Tim. :geek:

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

ROLLINS
Getting the hang of things
Posts: 86
Joined: Tue Oct 14, 2014 10:42 pm

Re: [QPKG] Sort my QPKGs

Post by ROLLINS » Tue Aug 08, 2017 6:48 pm

Big thanks

JFQueralt
Starting out
Posts: 11
Joined: Tue Jun 28, 2016 8:05 am

Re: [QPKG] Sort my QPKGs

Post by JFQueralt » Sat Sep 23, 2017 3:09 am

Hi there.

First of all, thx for working out this package :-)

On my TAS-268 with QTS 4.3.3 it's not installing.
Nothing on the logs that I can see about why.

Any ideas?

Cheers.

User avatar
OneCD
Ask me anything
Posts: 8102
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] Sort my QPKGs

Post by OneCD » Sat Sep 23, 2017 3:23 am

What happens when you try to install it?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
peelos
Been there, done that
Posts: 512
Joined: Sun Jun 26, 2016 9:28 pm

Re: [QPKG] Sort my QPKGs

Post by peelos » Wed Oct 11, 2017 12:45 pm

OneCD wrote:Minor update: (171011)

Thanks to Stephane for the idea, and to Christophe from the QNAP Club for setting up the account. ;)


Great news, thanks for all of the efforts..
NAS: TVS-1282-i7K-40G / 4 x 500GB SSD 2.5" / 2 x 500GB M.2 SSD / 8 x 12TB WD Whites 3.5" / Corsair H5-SF Watercooling / 3 x 80mm PWM Noctua fans / Corsair 600W PSU / Asus Turbo GTX 1060 6GB GPU
Software: Plex Media Server / QTransmission / Sonarr / Radarr / Jackett / QMono / Tautulli / OpenHAB / Resilio Sync / QPython / QJDK 8 / NetData / Qapache / SortMyQPKGs
pfSense Firewall / OpenVPN Server: QOTOM Fanless Mini PC / Core i5 / 8GB RAM / 128GB SSD / 4 Gigabit NICs / AES-NI
Wireless Routers: 2 x Netgear AC1900 R7000 Nighthawk / Advanced Tomato Firmware

User avatar
OneCD
Ask me anything
Posts: 8102
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] Sort my QPKGs

Post by OneCD » Wed Oct 11, 2017 1:02 pm

No worries. ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
peelos
Been there, done that
Posts: 512
Joined: Sun Jun 26, 2016 9:28 pm

Re: [QPKG] Sort my QPKGs

Post by peelos » Wed Nov 15, 2017 2:53 am

Hi OneCD, would you kindly add Emby to the list of Omega apps, around the same start time as Plex? thanks in advance
NAS: TVS-1282-i7K-40G / 4 x 500GB SSD 2.5" / 2 x 500GB M.2 SSD / 8 x 12TB WD Whites 3.5" / Corsair H5-SF Watercooling / 3 x 80mm PWM Noctua fans / Corsair 600W PSU / Asus Turbo GTX 1060 6GB GPU
Software: Plex Media Server / QTransmission / Sonarr / Radarr / Jackett / QMono / Tautulli / OpenHAB / Resilio Sync / QPython / QJDK 8 / NetData / Qapache / SortMyQPKGs
pfSense Firewall / OpenVPN Server: QOTOM Fanless Mini PC / Core i5 / 8GB RAM / 128GB SSD / 4 Gigabit NICs / AES-NI
Wireless Routers: 2 x Netgear AC1900 R7000 Nighthawk / Advanced Tomato Firmware

User avatar
OneCD
Ask me anything
Posts: 8102
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] Sort my QPKGs

Post by OneCD » Wed Nov 15, 2017 3:03 am

Hey @peelos. :)

Plex is currently an Alpha. Does this sound right?

I don't use these apps so would you be able to explain the relationship of these two?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
peelos
Been there, done that
Posts: 512
Joined: Sun Jun 26, 2016 9:28 pm

Re: RE: Re: [QPKG] Sort my QPKGs

Post by peelos » Wed Nov 15, 2017 4:02 am

OneCD wrote:Hey @peelos. :)

Plex is currently an Alpha. Does this sound right?

I don't use these apps so would you be able to explain the relationship of these two?
Actually yes Plex is used for some of the later Omega apps such as plexpy, couchpotato and sonarr so that makes sense it's an Alpha.

Emby is a Plex alternative so they are not related but Sonarr / Couchpotato do link to it, so perhaps add it to start shortly after Plex. There is a community Emby and the official .Net version from Emby called "EmbyServer" in my qpkg folder, not sure if you need that info!

Thanks!
NAS: TVS-1282-i7K-40G / 4 x 500GB SSD 2.5" / 2 x 500GB M.2 SSD / 8 x 12TB WD Whites 3.5" / Corsair H5-SF Watercooling / 3 x 80mm PWM Noctua fans / Corsair 600W PSU / Asus Turbo GTX 1060 6GB GPU
Software: Plex Media Server / QTransmission / Sonarr / Radarr / Jackett / QMono / Tautulli / OpenHAB / Resilio Sync / QPython / QJDK 8 / NetData / Qapache / SortMyQPKGs
pfSense Firewall / OpenVPN Server: QOTOM Fanless Mini PC / Core i5 / 8GB RAM / 128GB SSD / 4 Gigabit NICs / AES-NI
Wireless Routers: 2 x Netgear AC1900 R7000 Nighthawk / Advanced Tomato Firmware

User avatar
OneCD
Ask me anything
Posts: 8102
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: RE: Re: [QPKG] Sort my QPKGs

Post by OneCD » Wed Nov 15, 2017 4:31 am

peelos wrote:Emby is a Plex alternative so they are not related but Sonarr / Couchpotato do link to it, so perhaps add it to start shortly after Plex. There is a community Emby and the official .Net version from Emby called "EmbyServer" in my qpkg folder, not sure if you need that info!

Certainly do. ;)

Can you please check the new lists to ensure I got these right?
PKGS_ALPHA_ORDERED=(update_qpkg_conf DownloadStation Python QPython2 Python3 QPython3 Perl QPerl Optware Entware-ng Entware-3x QGit Mono Qmono DotNET nodejs nodejsv4 JRE QJDK7 QJDK8 Qapache Tomcat Tomcat8 ruby Plex Emby EmbyServer Par2 Par2cmdline-MT)

PKGS_OMEGA_ORDERED=(QNZBGet QSonarr Radarr SABnzbdplus SickBeard SickBeard-TVRage SickRage SurveillanceStation sort-my-qpkgs)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
peelos
Been there, done that
Posts: 512
Joined: Sun Jun 26, 2016 9:28 pm

Re: RE: Re: RE: Re: [QPKG] Sort my QPKGs

Post by peelos » Wed Nov 15, 2017 5:02 am

OneCD wrote:
peelos wrote:Emby is a Plex alternative so they are not related but Sonarr / Couchpotato do link to it, so perhaps add it to start shortly after Plex. There is a community Emby and the official .Net version from Emby called "EmbyServer" in my qpkg folder, not sure if you need that info!

Certainly do. ;)

Can you please check the new lists to ensure I got these right?
PKGS_ALPHA_ORDERED=(update_qpkg_conf DownloadStation Python QPython2 Python3 QPython3 Perl QPerl Optware Entware-ng Entware-3x QGit Mono Qmono DotNET nodejs nodejsv4 JRE QJDK7 QJDK8 Qapache Tomcat Tomcat8 ruby Plex Emby EmbyServer Par2 Par2cmdline-MT)

PKGS_OMEGA_ORDERED=(QNZBGet QSonarr Radarr SABnzbdplus SickBeard SickBeard-TVRage SickRage SurveillanceStation sort-my-qpkgs)
Perfect.. Many thanks for your efforts OneCD..

Since you released this script, a reboot is far less painful!
NAS: TVS-1282-i7K-40G / 4 x 500GB SSD 2.5" / 2 x 500GB M.2 SSD / 8 x 12TB WD Whites 3.5" / Corsair H5-SF Watercooling / 3 x 80mm PWM Noctua fans / Corsair 600W PSU / Asus Turbo GTX 1060 6GB GPU
Software: Plex Media Server / QTransmission / Sonarr / Radarr / Jackett / QMono / Tautulli / OpenHAB / Resilio Sync / QPython / QJDK 8 / NetData / Qapache / SortMyQPKGs
pfSense Firewall / OpenVPN Server: QOTOM Fanless Mini PC / Core i5 / 8GB RAM / 128GB SSD / 4 Gigabit NICs / AES-NI
Wireless Routers: 2 x Netgear AC1900 R7000 Nighthawk / Advanced Tomato Firmware

User avatar
OneCD
Ask me anything
Posts: 8102
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: RE: Re: RE: Re: [QPKG] Sort my QPKGs

Post by OneCD » Wed Nov 15, 2017 5:41 am

I've just uploaded the new version (171115) to the QNAP Club Store, so whenever their package import process runs, it should be available for download.

peelos wrote:Since you released this script, a reboot is far less painful!

No worries. Thanks for the fix! :geek:

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

rs1001
Starting out
Posts: 40
Joined: Thu Jun 18, 2015 11:44 am

Re: [QPKG] Sort my QPKGs

Post by rs1001 » Fri Nov 24, 2017 2:06 am

Thank you! Just what I needed to make me dread having to reboot.
QNAP TS-653 Pro -- with 16Gb RAM
6 * Western Digital WD60EFRX WD Reds (RAID5) as a Single 27.1TB Volume
Firmware: QTS 4.4.3.1354

Post Reply

Return to “Community Apps”