diff --git a/source/ChanSort.Api/ChanSort.Api.csproj b/source/ChanSort.Api/ChanSort.Api.csproj index ae6b7bc..1cfdaec 100644 --- a/source/ChanSort.Api/ChanSort.Api.csproj +++ b/source/ChanSort.Api/ChanSort.Api.csproj @@ -116,6 +116,7 @@ Designer + ResXFileCodeGenerator diff --git a/source/ChanSort.Api/Controller/Editor.cs b/source/ChanSort.Api/Controller/Editor.cs index cf509e3..bae4f11 100644 --- a/source/ChanSort.Api/Controller/Editor.cs +++ b/source/ChanSort.Api/Controller/Editor.cs @@ -331,9 +331,9 @@ namespace ChanSort.Api tvChannel.Favorites = refChannel.Favorites & DataRoot.SupportedFavorites; if (refDataRoot.SortedFavorites) { - var c = Math.Min(refChannel.FavIndex.Count, tvChannel.FavIndex.Count); + var c = Math.Min(refChannel.FavIndex.Count, tvChannel.OldFavIndex.Count); for (int i = 0; i < c; i++) - tvChannel.FavIndex[i] = refChannel.FavIndex[i]; + tvChannel.FavIndex[i] = refChannel.OldFavIndex[i]; } else this.ApplyPrNrToFavLists(tvChannel); @@ -342,6 +342,7 @@ namespace ChanSort.Api else { tvChannel.Favorites = refChannel.Favorites & DataRoot.SupportedFavorites; + this.ApplyPrNrToFavLists(tvChannel); } } @@ -417,7 +418,7 @@ namespace ChanSort.Api var refMask = (int)tvChannel.Favorites; for (int i = 0; supMask != 0; i++) { - tvChannel.FavIndex[i] = (refMask & 0x01) == 0 ? -1 : tvChannel.OldProgramNr; + tvChannel.FavIndex[i] = (refMask & 0x01) == 0 ? -1 : tvChannel.NewProgramNr; supMask >>= 1; refMask >>= 1; } diff --git a/source/ChanSort.Api/Resources.pl.resx b/source/ChanSort.Api/Resources.pl.resx new file mode 100644 index 0000000..23485c0 --- /dev/null +++ b/source/ChanSort.Api/Resources.pl.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + {0} Program #{1} jest przypisany do wielu kanałów: indeks {2}=Pr#{3} i indeks {4}='{5}' + + + {0}: kanał '{1}' ma wiele rekordów danych: indeks {2}=Pr#{3}} i indeks {4}=Pr#{5} + + \ No newline at end of file diff --git a/source/ChanSort.Loader.GlobalClone/ChanSort.Loader.GlobalClone.csproj b/source/ChanSort.Loader.GlobalClone/ChanSort.Loader.GlobalClone.csproj index 4b1f20c..887171b 100644 --- a/source/ChanSort.Loader.GlobalClone/ChanSort.Loader.GlobalClone.csproj +++ b/source/ChanSort.Loader.GlobalClone/ChanSort.Loader.GlobalClone.csproj @@ -102,6 +102,7 @@ Designer + ResXFileCodeGenerator diff --git a/source/ChanSort.Loader.GlobalClone/Resources.pl.resx b/source/ChanSort.Loader.GlobalClone/Resources.pl.resx new file mode 100644 index 0000000..76c712c --- /dev/null +++ b/source/ChanSort.Loader.GlobalClone/Resources.pl.resx @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Telewizor zaimportuje plik GlobalClone tylko wtedy, gdy w tym samym katalogu nie ma plików o nazwie xx* .TLL. +Czy chcesz, aby ChanSort zmienił nazwę plików powodujących konflikt? + + + UWAGA: +Upewnij się, że telewizor z systemem webOS korzysta z najnowszej wersji oprogramowania układowego (LB600 i nowsze: 4.41.32, UB: 4.51.44). +Starsze oprogramowanie LG dla modeli telewizorów opartych na webOS nie obsługuje importu list kanałów i losowo zmienia kolejność kanałów. +(Jeśli oprogramowanie układowe jest nowsze, możesz zignorować wiadomość.) + + \ No newline at end of file diff --git a/source/ChanSort.Loader.Hisense/ChanSort.Loader.Hisense.csproj b/source/ChanSort.Loader.Hisense/ChanSort.Loader.Hisense.csproj index 02b80e0..c7e13e8 100644 --- a/source/ChanSort.Loader.Hisense/ChanSort.Loader.Hisense.csproj +++ b/source/ChanSort.Loader.Hisense/ChanSort.Loader.Hisense.csproj @@ -99,6 +99,7 @@ + ResXFileCodeGenerator diff --git a/source/ChanSort.Loader.Hisense/Resources.pl.resx b/source/ChanSort.Loader.Hisense/Resources.pl.resx new file mode 100644 index 0000000..420cd36 --- /dev/null +++ b/source/ChanSort.Loader.Hisense/Resources.pl.resx @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ten plik listy kanałów nie zawiera żadnych danych. +Najprawdopodobniej podczas wstępnej konfiguracji telewizora wybrano wstępnie zdefiniowaną listę kanałów. Takie listy nie są eksportowane i nie można ich edytować w telewizorze ani na komputerze. +Aby uzyskać listę, którą można edytować na komputerze, musisz zresetować telewizor do ustawień fabrycznych i wybrać opcję „Inne” podczas konfiguracji kanału satelitarnego. + + + Nie znaleziono kanałów + + \ No newline at end of file diff --git a/source/ChanSort.Loader.Hisense2017/ChanSort.Loader.Hisense2017.csproj b/source/ChanSort.Loader.Hisense2017/ChanSort.Loader.Hisense2017.csproj index dfd4ab8..b122b29 100644 --- a/source/ChanSort.Loader.Hisense2017/ChanSort.Loader.Hisense2017.csproj +++ b/source/ChanSort.Loader.Hisense2017/ChanSort.Loader.Hisense2017.csproj @@ -89,6 +89,7 @@ + ResXFileCodeGenerator diff --git a/source/ChanSort.Loader.Hisense2017/Resources.pl.resx b/source/ChanSort.Loader.Hisense2017/Resources.pl.resx new file mode 100644 index 0000000..420cd36 --- /dev/null +++ b/source/ChanSort.Loader.Hisense2017/Resources.pl.resx @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ten plik listy kanałów nie zawiera żadnych danych. +Najprawdopodobniej podczas wstępnej konfiguracji telewizora wybrano wstępnie zdefiniowaną listę kanałów. Takie listy nie są eksportowane i nie można ich edytować w telewizorze ani na komputerze. +Aby uzyskać listę, którą można edytować na komputerze, musisz zresetować telewizor do ustawień fabrycznych i wybrać opcję „Inne” podczas konfiguracji kanału satelitarnego. + + + Nie znaleziono kanałów + + \ No newline at end of file diff --git a/source/ChanSort.Loader.LG/ChanSort.Loader.LG.csproj b/source/ChanSort.Loader.LG/ChanSort.Loader.LG.csproj index fb31cfa..efc13c2 100644 --- a/source/ChanSort.Loader.LG/ChanSort.Loader.LG.csproj +++ b/source/ChanSort.Loader.LG/ChanSort.Loader.LG.csproj @@ -130,6 +130,9 @@ PresetProgramNrDialog.cs + + PresetProgramNrDialog.cs + PresetProgramNrDialog.cs @@ -151,6 +154,7 @@ Designer + ResXFileCodeGenerator @@ -169,6 +173,9 @@ TvSettingsForm.cs + + TvSettingsForm.cs + TvSettingsForm.cs diff --git a/source/ChanSort.Loader.LG/PresetProgramNrDialog.pl.resx b/source/ChanSort.Loader.LG/PresetProgramNrDialog.pl.resx new file mode 100644 index 0000000..d25043e --- /dev/null +++ b/source/ChanSort.Loader.LG/PresetProgramNrDialog.pl.resx @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ten plik zawiera zaprogramowane numery programów dla kanałów satelitarnych. Z powodu problemów z najnowszym oprogramowaniem sprzętowym LG takich list nie można już wiarygodnie modyfikować. + + + Edycja listy kanałów satelitarnych jest wyłączona! + + + Aby włączyć edycję, musisz najpierw uruchomić pełne wyszukiwanie kanałów: + + + - Zachowaj kopię bieżącego pliku TLL jeśli chcesz go później użyć jako listy referencyjnej + + + - Wykonaj automatyczne wyszukiwanie kanałów z opcjami „Pełny”, „Żaden” i „Ślepe wyszukiwanie” + + + - Wykonaj reset fabryczny w telewizorze + + + Szczegółowe informacje można znaleźć na Wiki ChanSort + + + OK + + + - Zapisz nową listę na USB i otwórz ją za pomocą ChanSort + + + Ważna uwaga + + \ No newline at end of file diff --git a/source/ChanSort.Loader.LG/Resource.pl.resx b/source/ChanSort.Loader.LG/Resource.pl.resx new file mode 100644 index 0000000..9666227 --- /dev/null +++ b/source/ChanSort.Loader.LG/Resource.pl.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Zła suma kontrolna: obliczona {1:x8} ale plik ma {0:x8} + + + Zawartość pliku nie pasuje do żadnego obsługiwanego modelu + + + Rozmiar pliku {0} jest większy niż dozwolone maksimum {1} + + + Kanał #{0} (Pr# {1}) został usunięty, ponieważ jest duplikatem kanału #{2} (Pr# {3}): {4} + + \ No newline at end of file diff --git a/source/ChanSort.Loader.LG/TvSettingsForm.pl.resx b/source/ChanSort.Loader.LG/TvSettingsForm.pl.resx new file mode 100644 index 0000000..2dacbe5 --- /dev/null +++ b/source/ChanSort.Loader.LG/TvSettingsForm.pl.resx @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Włącz HbbTV (działa tylko z ustawieniami kraju DEU, FRA, NED i ESP) + + + dopuszczaj niestandardową wartość (na własne ryzyko!) + + + Kraj: + + + Menu OPCJE + + + Ok + + + Anuluj + + + UWAGA: Gdy tryb hotelowy jest aktywny, nie można już aktywować kanału z poziomu EPG, a funkcja „Przywracanie ustawień fabrycznych” zostaje wyłączona. + + + Poniższe ustawienia obowiązują tylko wtedy, gdy włączony jest Tryb hotelowy + + + Automatyczna aktualizacja kanałów D-TV (zalecane: WYŁ.) + + + Włącz tryb hotelowy (zalecane: WŁ.) + + + Tryb hotelowy + + + Automatyczna aktualizacja kanałów (zalecane: WYŁ.) + + + Menu USTAWIENIA + + + Format pliku TLL modelu telewizora nie jest w pełni obsługiwany. Dlatego wiele funkcji w tym oknie dialogowym jest wyłączonych. + + + Informacja + + + Automatyczne wykrywanie menu hotelowego + + + Ustawienia TV + + \ No newline at end of file diff --git a/source/ChanSort.Loader.SamsungJ/ChanSort.Loader.SamsungJ.csproj b/source/ChanSort.Loader.SamsungJ/ChanSort.Loader.SamsungJ.csproj index 0c283b8..625ed54 100644 --- a/source/ChanSort.Loader.SamsungJ/ChanSort.Loader.SamsungJ.csproj +++ b/source/ChanSort.Loader.SamsungJ/ChanSort.Loader.SamsungJ.csproj @@ -23,6 +23,7 @@ prompt 4 false + latest pdbonly @@ -32,6 +33,7 @@ prompt 4 false + latest true @@ -42,6 +44,7 @@ prompt MinimumRecommendedRules.ruleset false + latest ..\Release\ @@ -52,6 +55,7 @@ prompt MinimumRecommendedRules.ruleset false + latest diff --git a/source/ChanSort.Loader.SamsungJ/DbSerializer.cs b/source/ChanSort.Loader.SamsungJ/DbSerializer.cs index 7b07c9d..e8bb25e 100644 --- a/source/ChanSort.Loader.SamsungJ/DbSerializer.cs +++ b/source/ChanSort.Loader.SamsungJ/DbSerializer.cs @@ -16,6 +16,7 @@ namespace ChanSort.Loader.SamsungJ { private readonly Dictionary channelById = new Dictionary(); private readonly Dictionary dbPathByChannelList = new Dictionary(); + private readonly List tableNames = new List(); private enum FileType { Unknown, SatDb, ChannelDbDvb, ChannelDbAnalog } @@ -116,16 +117,19 @@ namespace ChanSort.Loader.SamsungJ #region DetectFileType() private FileType DetectFileType(SQLiteCommand cmd) { - cmd.CommandText = "select count(1) from sqlite_master where type='table' and name in ('SAT','SAT_TP')"; - if ((long)cmd.ExecuteScalar() == 2) + this.tableNames.Clear(); + cmd.CommandText = "select name from sqlite_master where type='table'"; + using var r = cmd.ExecuteReader(); + while (r.Read()) + this.tableNames.Add(r.GetString(0).ToUpper()); + + if (tableNames.Contains("SAT") && tableNames.Contains("SAT_TP")) return FileType.SatDb; - cmd.CommandText = "select count(1) from sqlite_master where type='table' and name in ('CHNL','SRV','SRV_DVB')"; - if ((long)cmd.ExecuteScalar() == 3) + if (tableNames.Contains("CHNL") && tableNames.Contains("SRV") && tableNames.Contains("SRV_DVB")) return FileType.ChannelDbDvb; - cmd.CommandText = "select count(1) from sqlite_master where type='table' and name in ('CHNL','SRV','SRV_ANL')"; - if ((long)cmd.ExecuteScalar() == 3) + if (tableNames.Contains("CHNL") && tableNames.Contains("SRV") && tableNames.Contains("SRV_ANL")) return FileType.ChannelDbAnalog; return FileType.Unknown; @@ -307,6 +311,10 @@ namespace ChanSort.Loader.SamsungJ sql += fieldNames[i]; } sql += " from " + table + " inner join SRV on SRV.srvId="+table+".srvId inner join CHNL on CHNL.chId=SRV.chId"; + + if (this.tableNames.Contains("SRV_EXT_APP")) // in format 1352.0 there are duplicate "major" values in SRV and this recState seems to be the only indicator for "deleted" channels + sql += " inner join SRV_EXT_APP on SRV_EXT_APP.srvId=SRV.srvId and SRV_EXT_APP.recState is null"; + return sql; } #endregion diff --git a/source/ChanSort/AboutForm.pl.resx b/source/ChanSort/AboutForm.pl.resx new file mode 100644 index 0000000..4d90ddb --- /dev/null +++ b/source/ChanSort/AboutForm.pl.resx @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Strona projektu: + + + http://github.com/PredatH0r/ChanSort + + + horst@beham.biz + + + Autor programu: + + + Licencja: + + + GNU GPLv3 + + + Kredyty: + + + Blisko + + + Horst Beham + + + O ChanSort + + \ No newline at end of file diff --git a/source/ChanSort/ActionBox.pl.resx b/source/ChanSort/ActionBox.pl.resx new file mode 100644 index 0000000..58900c9 --- /dev/null +++ b/source/ChanSort/ActionBox.pl.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Jak chcesz kontynuować? + + + Wybierz akcję ... + + \ No newline at end of file diff --git a/source/ChanSort/ChanSort.csproj b/source/ChanSort/ChanSort.csproj index 895d5e3..991b5f2 100644 --- a/source/ChanSort/ChanSort.csproj +++ b/source/ChanSort/ChanSort.csproj @@ -205,6 +205,9 @@ AboutForm.cs + + AboutForm.cs + AboutForm.cs Designer @@ -228,6 +231,9 @@ ActionBox.cs + + ActionBox.cs + ActionBox.cs @@ -249,6 +255,9 @@ CharsetForm.cs + + CharsetForm.cs + CharsetForm.cs @@ -278,6 +287,9 @@ MainForm.cs + + MainForm.cs + MainForm.cs Designer @@ -305,6 +317,9 @@ ReportOptionsDialog.cs + + ReportOptionsDialog.cs + ReportOptionsDialog.cs @@ -319,6 +334,7 @@ + ResXFileCodeGenerator Resources.pt.Designer.cs @@ -351,6 +367,9 @@ ReferenceListForm.cs + + ReferenceListForm.cs + ReferenceListForm.cs @@ -369,6 +388,9 @@ WaitForm1.cs + + WaitForm1.cs + WaitForm1.cs diff --git a/source/ChanSort/CharsetForm.pl.resx b/source/ChanSort/CharsetForm.pl.resx new file mode 100644 index 0000000..f5b46ab --- /dev/null +++ b/source/ChanSort/CharsetForm.pl.resx @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Anuluj + + + Domyślny zestaw znaków dla mojego kraju + + + Dobrze + + + Zestaw znaków + + + Opis + + \ No newline at end of file diff --git a/source/ChanSort/GlobalImageCollection.cs b/source/ChanSort/GlobalImageCollection.cs index 8c7e901..0183636 100644 --- a/source/ChanSort/GlobalImageCollection.cs +++ b/source/ChanSort/GlobalImageCollection.cs @@ -98,6 +98,7 @@ namespace ChanSort.Ui this.sharedImageCollection1.ImageSource.Images.SetKeyName(42, "0042.png"); this.sharedImageCollection1.ImageSource.Images.SetKeyName(43, "0043.png"); this.sharedImageCollection1.ImageSource.Images.SetKeyName(44, "0044.png"); + this.sharedImageCollection1.ImageSource.Images.SetKeyName(45, "0045.png"); ((System.ComponentModel.ISupportInitialize)(this.sharedImageCollection1.ImageSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sharedImageCollection1)).EndInit(); diff --git a/source/ChanSort/GlobalImageCollection.resx b/source/ChanSort/GlobalImageCollection.resx index b51f57d..c8c2122 100644 --- a/source/ChanSort/GlobalImageCollection.resx +++ b/source/ChanSort/GlobalImageCollection.resx @@ -124,12 +124,12 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFpEZXZFeHByZXNzLlV0aWxzLnYxOS4yLCBWZXJzaW9uPTE5LjIu - NS4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI4OGQxNzU0ZDcwMGU0OWEMAwAAAFFT + Ni4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI4OGQxNzU0ZDcwMGU0OWEMAwAAAFFT eXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRv a2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAAChEZXZFeHByZXNzLlV0aWxzLkltYWdlQ29sbGVjdGlvblN0 cmVhbWVyAgAAAAlJbWFnZVNpemUERGF0YQQHE1N5c3RlbS5EcmF3aW5nLlNpemUDAAAAAgIAAAAF/P// /xNTeXN0ZW0uRHJhd2luZy5TaXplAgAAAAV3aWR0aAZoZWlnaHQAAAgIAwAAABAAAAAQAAAACQUAAAAP - BQAAANJ3AAACVQIAAIlQTkcNChoKAAAADUlIRFIAAAAQAAAAEAgCAAAAkJFoNgAAAARnQU1BAACxjwv8 + BQAAADx5AAACVQIAAIlQTkcNChoKAAAADUlIRFIAAAAQAAAAEAgCAAAAkJFoNgAAAARnQU1BAACxjwv8 YQUAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAH3SURBVDhPY/hPIiBdw6SZ+3ZcfVM9/VhKMxAdTmw8cPPu 27XJjWsS6oAMz+xtHmk7bGM2RDXunBOYXz33KMOSFaf+b1z179//2w+/LNpwe/76O0D2/yk9//tagYxJ Cy/3zr1w8sTjf101//7+nLDpAkNSy8E9J9/9X7r8/8G9QBvbpl0FWZya+T8hEUiX9F36smjN9+5uIHve @@ -640,12 +640,18 @@ 6KuvADFvFkKOdrhNamwZRvGwNoLnk1IgoAL8v736CuGy53NvYM+l0ac8sFx4d9oGz3IO9vuKcbVaheAt d0FYAYSUv0Sf8uG0qynZnsmk/rVchFfScLeQg9CS/N3jYgZ8S6r3PB6+sz2TTcm6XEEv0rNwJZIJwnf4 LlkXy02nqQqcy5SCnMkU2JCkmchkorjCIpKaZ0Up0x+kn/vX+ef8zZIkNU8mSir475DASeaIBeI7fPcv - i5A3ZiPQPqzE3hQAAAAASUVORK5CYIIL + i5A3ZiPQPqzE3hQAAAAASUVORK5CYIJmAQAAiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9h + AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEQSURBVDhPzZNPS8JgAIenF6F7t4FHDxFGfzCE + LLSSkJUSSgQSUd8rAg8i+hXUyjk3Q+iiH8L98WDnn+9v0XuMd3pp8MC29/c8p037B1csFv8cO1gHugwk + HHuE7+UyEnToMrBlWUMsAh+B7ynBLR26YcA0B+GB76nBLR0Z+Hh/gy9eep6rBLd0ZKDf64qyOHTnSnBL + Rwba+gFmxTqmJ1UluKUjAy19H1+nNUyODCW4pSMDTfFgZ65h7V4owS0dGWgkD9E7NjDI3cIq3MG+qsMx + HjGuPP9QfoJTesDo8h7mWRX97A3oyMBLKovXnRxa6Tw6e+d/wg23dH4DCcG2QI8InfBLjIc3rEWDjvgX + Nro0bQUDCNSDVi/0FgAAAABJRU5ErkJgggs= - 12/29/2019 16:40:33 + 03/14/2020 12:43:44 diff --git a/source/ChanSort/MainForm.Designer.cs b/source/ChanSort/MainForm.Designer.cs index 15b229b..f1f2bc5 100644 --- a/source/ChanSort/MainForm.Designer.cs +++ b/source/ChanSort/MainForm.Designer.cs @@ -206,6 +206,7 @@ this.pageProgNr = new DevExpress.XtraTab.XtraTabPage(); this.popupInputSource = new DevExpress.XtraBars.PopupMenu(this.components); this.popupFavList = new DevExpress.XtraBars.PopupMenu(this.components); + this.miPolski = new DevExpress.XtraBars.BarButtonItem(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grpOutputList)).BeginInit(); @@ -1066,9 +1067,10 @@ this.miCheckUpdates, this.miUtf8Charset, this.miCopyCsv, - this.miSpanish}); + this.miSpanish, + this.miPolski}); this.barManager1.MainMenu = this.bar1; - this.barManager1.MaxItemId = 102; + this.barManager1.MaxItemId = 103; this.barManager1.ShowFullMenus = true; // // bar1 @@ -1467,6 +1469,7 @@ new DevExpress.XtraBars.LinkPersistInfo(this.miCzech), new DevExpress.XtraBars.LinkPersistInfo(this.miGerman), new DevExpress.XtraBars.LinkPersistInfo(this.miSpanish), + new DevExpress.XtraBars.LinkPersistInfo(this.miPolski), new DevExpress.XtraBars.LinkPersistInfo(this.miPortuguese), new DevExpress.XtraBars.LinkPersistInfo(this.miRomanian), new DevExpress.XtraBars.LinkPersistInfo(this.miRussian)}); @@ -2018,6 +2021,16 @@ this.popupFavList.Name = "popupFavList"; this.popupFavList.ShowCaption = true; // + // miPolski + // + this.miPolski.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; + resources.ApplyResources(this.miPolski, "miPolski"); + this.miPolski.Id = 102; + this.miPolski.ImageOptions.ImageIndex = ((int)(resources.GetObject("barButtonItem1.ImageOptions.ImageIndex"))); + this.miPolski.Name = "miPolski"; + this.miPolski.Tag = "pl-PL"; + this.miPolski.DownChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.miLanguage_DownChanged); + // // MainForm // this.AllowDrop = true; @@ -2258,6 +2271,7 @@ private DevExpress.XtraBars.BarButtonItem miCopyCsv; private DevExpress.XtraGrid.Columns.GridColumn colOutSource; private DevExpress.XtraBars.BarButtonItem miSpanish; + private DevExpress.XtraBars.BarButtonItem miPolski; } } diff --git a/source/ChanSort/MainForm.cs b/source/ChanSort/MainForm.cs index bf23f00..81802f4 100644 --- a/source/ChanSort/MainForm.cs +++ b/source/ChanSort/MainForm.cs @@ -380,7 +380,8 @@ namespace ChanSort.Ui } this.mnuInputSource.ClearLinks(); - XtraTabPage firstNonEmpty = null; + XtraTabPage mostChannels = null; + int mostChannelsCount = 0; var i = 0; foreach (var list in this.DataRoot.ChannelLists) { @@ -388,8 +389,12 @@ namespace ChanSort.Ui continue; var tab = this.tabChannelList.TabPages.Add(list.Caption); tab.Tag = list; - if (firstNonEmpty == null && list.Count > 0) - firstNonEmpty = tab; + if (mostChannels == null || list.Count > mostChannelsCount) + { + mostChannels = tab; + mostChannelsCount = list.Count; + } + var item = new BarButtonItem(this.barManager1, list.Caption); item.ItemShortcut = new BarShortcut((Keys) ((int) (Keys.Alt | Keys.D1) + i)); item.Tag = i; @@ -400,12 +405,12 @@ namespace ChanSort.Ui if (tabChannelList.TabPages.Count > 0) { - if (firstNonEmpty == null) - firstNonEmpty = tabChannelList.TabPages[0]; - if (firstNonEmpty == this.tabChannelList.SelectedTabPage) - this.ShowChannelList((ChannelList) firstNonEmpty.Tag); + if (mostChannels == null) + mostChannels = tabChannelList.TabPages[0]; + if (mostChannels == this.tabChannelList.SelectedTabPage) + this.ShowChannelList((ChannelList)mostChannels.Tag); else - this.tabChannelList.SelectedTabPage = firstNonEmpty; + this.tabChannelList.SelectedTabPage = mostChannels; } else { diff --git a/source/ChanSort/MainForm.cs.resx b/source/ChanSort/MainForm.cs.resx index 065873a..b11d828 100644 --- a/source/ChanSort/MainForm.cs.resx +++ b/source/ChanSort/MainForm.cs.resx @@ -615,4 +615,7 @@ \d{1,4} + + Polski + \ No newline at end of file diff --git a/source/ChanSort/MainForm.es.resx b/source/ChanSort/MainForm.es.resx index a10a6d2..5e35556 100644 --- a/source/ChanSort/MainForm.es.resx +++ b/source/ChanSort/MainForm.es.resx @@ -681,4 +681,7 @@ Copiar lista al portapapeles + + Polski + \ No newline at end of file diff --git a/source/ChanSort/MainForm.pl.resx b/source/ChanSort/MainForm.pl.resx new file mode 100644 index 0000000..373b940 --- /dev/null +++ b/source/ChanSort/MainForm.pl.resx @@ -0,0 +1,693 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Pr. indeks + + + Nowa pozycja + + + Nowy numer programu + + + Nazwa kanału + + + Ulubione + + + Zablokować + + + Blokada rodzicielska + + + Pominąć + + + Ukryć + + + Usunięte + + + Rodzaj usługi + + + Źródło + + + UID + + + F3: Filtr | F4: Lista | -: przejście w górę | +: przejście w dół | Del: usuń + + + Przełącz Ulubione H + + + Pr# + + + Sub List + + + &Plik + + + &Otwórz plik danych TV... + + + &Przeładować + + + Przywracania kopii zapasowej + + + Plik &informacje... + + + &Zapisać + + + Zapisz &jako... + + + Złóż zamówienie z listy referencyjnej ... + + + Dodaj kanały z listy referencyjnej ... + + + Zapisz listę referencyjną ... + + + Eksportuj listę do Excela ... + + + &Wydrukować... + + + &Porzucić + + + Ostatnie pliki + + + &Edytować + + + &Dodaj kanały + + + &Usuń kanały + + + Zmień nazwę kanału + + + Dodaj do ulubionych + + + Usuń z ulubionych + + + &Zablokuj kanał: włączony + + + Zablokuj kanał: wyłączony + + + &Pomiń kanał: włączony + + + Pomiń kanał: wyłączony + + + &Ukryj kanał: włączony + + + Ukryj kanał: wyłączony + + + Ponownie & numeruj kanały + + + Kanały Sor & t alfabetycznie + + + Zmień numerację ulubionych według Pr# + + + Używa tego samego Pr# na wszystkich listach kanałów i ulubionych + + + Skopiuj listę do schowka + + + Telewizor + + + Ustawienie urządzenia... + + + Dane kanału oczyszczania + + + Reorganizuj rekordy kanału i usuwaj duplikaty + + + &Ustawienia + + + &Język + + + &Angielski + + + Česky + + + &Deutsch + + + Español + + + Português + + + Română + + + ру́сский + + + Polski + + + &Zestaw znaków + + + Wszystkie i zestawy znaków ... + + + UTF-8 (Unicode) + + + Zestawy znaków ISO + + + Pokaż ostrzeżenia po załadowaniu pliku + + + Automatycznie wyświetlaj wszelkie ostrzeżenia po otwarciu pliku + + + Zezwalaj na edycję predefiniowanych list (NIEBEZPIECZNE) + + + Telewizor może działać nieprawidłowo podczas edytowania listy ze wstępnie zdefiniowanymi numerami kanałów + + + Integracja z Windows Explorer + + + Sprawdź aktualizacje + + + &Dostępność + + + Otwiera podmenu wyboru źródła wejściowego. To menu można aktywować bezpośrednio przyciskiem F1 + + + Wybierz i wprowadź źródło + + + mnuInputSource + + + Otwiera podmenu dla programu wyboru listy ulubionych. To menu można aktywować bezpośrednio za pomocą klawiszy Shift + F1 + + + Wybierz program/&listę ulubionych + + + menuListaUlubionych + + + Lista programów + + + Ulubione A + + + Ulubione B + + + Ulubione C + + + Ulubione D + + + Ulubione E + + + &Filtr listy po lewej stronie + + + Lewa lista + + + &Filtr prawej listy + + + Właściwa lista + + + &Wsparcie + + + Wiki + + + Strona internetowa ChanSort... + + + &O ChanSort... + + + Przybory + + + Przejdź w górę + + + Zejdź w dół + + + zamiana + + + po + + + przed + + + Zamknij odstęp podczas przenoszenia/usuwania kanału + + + Gdy aktywne, wszystkie kanały po bieżącym zostaną automatycznie ponumerowane + + + Tryb wstawiania: + + + Brak list kanałów + + + Ustaw Poz: + + + Numer programu dla operacji wstawiania i ustawiania + + + \d{1,4} + + + ChanSort {0} - Edytor list kanałów telewizyjnych + + + ±H + + + Przełącz ulubione G. + + + ±G + + + Przełącz ulubione F. + + + ±F + + + Włącz blokadę rodzicielską + + + Blokada rodzicielska + + + Przełącz ulubione E + + + ±E + + + Przełącz ulubione D + + + ±D + + + Przełącz ulubione C + + + ±C + + + Przełącz ulubione B + + + ±B + + + Przełącz ulubione A + + + ±A + + + Usuń kryteria filtrowania kanałów z posortowanej listy kanałów + + + Filtr + + + Zresetuj filtr + + + Ponownie numeruj wybrane kanały + + + Zmień numerację wybranych kanałów + + + Przenieś wybrany kanał w dół + + + Przenieś wybrane kanały w dół + + + Przenieś wybrany kanał w górę + + + Przenieś wybrane kanały w górę + + + Usuń wybrane kanały z posortowanej listy + + + Usuń wybrane kanały + + + Posortowane kanały + + + Panel1 + + + Pr. indeks + + + Stary + + + Stary numer programu + + + Nowa pozycja + + + Nowa pozycja + + + Źródło + + + Pr# + + + Nazwa kanału + + + Krótka nazwa + + + Ulubione + + + Zablokowany + + + Pominąć + + + Ukryć + + + Usunięte + + + Szyfrowane + + + Szyfrowane + + + Identyfikator typu usługi + + + Rodzaj usługi + + + Częstotliwość (MHz) + + + Polaryzacja + + + Kanał/ Transponder + + + Numer kanału lub transpondera + + + Satelita + + + Sieć (ONID) + + + TS ID + + + Identyfikator strumienia transportowego + + + ID usługi + + + PCR PID + + + Numer referencyjny pakietu programu + + + Wideo PID + + + Audio PID + + + Szybkość transferu + + + Nazwa sieci + + + Operator sieci + + + Dostawca + + + Uid + + + Zamówienie + + + Źródło sygnału + + + F5: Filtr | F6: lista | Wpisz: dodaj + + + Jest to wstępnie zdefiniowana lista, której nie można edytować. + + + Podczas konfiguracji telewizora wybrałeś predefiniowaną listę kanałów. Modyfikacja takiej listy może spowodować nieprawidłowe działanie telewizora. Przeprowadź pełne skanowanie kanałów na telewizorze i nie wybieraj żadnego konkretnego dostawcy, satelity ani listy krajów. + + + Usuń wybrane kanały z posortowanej listy + + + Usuń wybrane kanały z posortowanej listy + + + Dołącz wszystkie aktualnie nieposortowane kanały na końcu listy + + + << Dodaj wszystko + + + Dołącz wszystkie aktualnie nieposortowane kanały na końcu listy + + + Usuń kryteria filtrowania kanałów z pełnej listy kanałów + + + Filtr + + + Zresetuj filtr + + + Dodaj wybrane kanały do ​​posortowanej listy + + + Dodaj wybrane kanały do ​​posortowanej listy + + + Oryginalne kanały + + + Panel 2 + + + splitContainerControl1 + + \ No newline at end of file diff --git a/source/ChanSort/MainForm.resx b/source/ChanSort/MainForm.resx index 0e88109..ec98d9e 100644 --- a/source/ChanSort/MainForm.resx +++ b/source/ChanSort/MainForm.resx @@ -611,6 +611,12 @@ 44 + + Polski + + + 45 + Português @@ -1264,7 +1270,7 @@ globalImageCollection1 - ChanSort.Ui.GlobalImageCollection, ChanSort, Version=1.0.7346.35990, Culture=neutral, PublicKeyToken=null + ChanSort.Ui.GlobalImageCollection, ChanSort, Version=1.0.7378.22467, Culture=neutral, PublicKeyToken=null gviewRight @@ -1950,6 +1956,12 @@ DevExpress.XtraBars.PopupMenu, DevExpress.XtraBars.v19.2, Version=19.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a + + miPolski + + + DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v19.2, Version=19.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a + MainForm @@ -1957,7 +1969,7 @@ DevExpress.XtraEditors.XtraForm, DevExpress.Utils.v19.2, Version=19.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a - 02/11/2020 20:40:05 + 03/14/2020 12:45:31 16, 16 diff --git a/source/ChanSort/MainForm.ro.resx b/source/ChanSort/MainForm.ro.resx index 8cdd23c..7867010 100644 --- a/source/ChanSort/MainForm.ro.resx +++ b/source/ChanSort/MainForm.ro.resx @@ -639,4 +639,7 @@ furnizor specific, satelit sau liste de țări. splitContainerControl1 + + Polski + \ No newline at end of file diff --git a/source/ChanSort/Printing/ReportOptionsDialog.pl.resx b/source/ChanSort/Printing/ReportOptionsDialog.pl.resx new file mode 100644 index 0000000..b45d4d1 --- /dev/null +++ b/source/ChanSort/Printing/ReportOptionsDialog.pl.resx @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Sortuj według: + + + Numer + + + Nazwa + + + Czcionka: + + + Tahoma + + + Zapowiedź... + + + Anuluj + + + Kolumny: + + + Opcje drukowania + + \ No newline at end of file diff --git a/source/ChanSort/Properties/Resources.de.resx b/source/ChanSort/Properties/Resources.de.resx index 9ab0193..62d4432 100644 --- a/source/ChanSort/Properties/Resources.de.resx +++ b/source/ChanSort/Properties/Resources.de.resx @@ -265,7 +265,7 @@ und kann nun in Excel oder einen Texteditor eingefügt werden. Sollen die Programmnummern in fortlaufende Zahlen umgeändert werden? - Der Inhalt der Datei ist ungültig, da sie entweder 0 Byte groß is oder ausschließlich Nullwerte enthält. + Der Inhalt der Datei ist ungültig, da sie entweder 0 Byte groß is oder ausschließlich Bytes mit dem selben Wert enthält enthält. Mögliche Ursachen sind USB-Sticks, die mit NTFS formatiert sind (FAT32 sollte immer funktionieren) oder ein am TV durchgeführtes Firmwareupdate, ohne einen anschließenden neuen Suchlauf. Dabei kann dann unter Umständen die neue Firmware die alten Daten nicht korrekt exportieren. diff --git a/source/ChanSort/Properties/Resources.pl.resx b/source/ChanSort/Properties/Resources.pl.resx new file mode 100644 index 0000000..d65b2a6 --- /dev/null +++ b/source/ChanSort/Properties/Resources.pl.resx @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Quell-TLL teraz w ostatniej chwili: +„{0}” + + + Wystąpił błąd podczas ładowania pliku danych telewizora:{0} + + + Obsługiwane pliki |{0}| Wszystkie pliki (*.*) |* + + + {0}-Pliki |*{0}| Wszystkie pliki (*.*) |* + + + Wystąpił nieoczekiwany błąd:{0} + + + Wystąpił błąd podczas zapisywania pliku danych TV:{0} + + + Pomyślnie utworzono posortowany plik danych telewizyjnych. + + + Czy chcesz więc zapisać swoje zmiany? + + + Zapisz zmiany + + + Odrzucać zmiany + + + Nie znaleziono wtyczki do odczytu/zapisu plików {0}. + + + Błąd ładowania pliku + + + Zawartość pliku wykazuje pewne anomalie i prawdopodobnie jest uszkodzona. + + + Walidacji danych + + + Wszystkie niestandardowe przechowywanie zostaną utracone. +Czy na pewno chcesz przywrócić kolejność ze skanowania kanałów? + + + Przywróć kolejność ze skanowania kanałów + + + Plik wejściowy zawiera wiele rekordów, które używają tego samego +numeru programu. Możliwe, że telewizor nie zaakceptuje +zmian wprowadzonych przez ChanSort. +Jest to zazwyczaj spowodowane ręcznym skanowaniem transpondera. +Zaleca się stosowanie czystego pliku wejściowego do wszelkich modyfikacji. +Aby to zrobić, wyłącz tryb hotelowy, zresetuj telewizor do +ustawień fabrycznych, uruchom nowe skanowanie kanałów w ciemno i włącz +ponownie tryb hotelowy, a następnie wyeksportuj nowy czysty plik TLL. + + + OSTRZEŻENIE: Wszystkie dane kanałów analogowych, DVB-C/T i DVB-S oraz transponderów zostaną usunięte. +Po załadowaniu tego pliku do telewizora będziesz musiał uruchomić pełne skanowanie kanałów. +Kontynuować? + + + Usuń wszystkie dane kanału + + + Nie można skopiować pliku .bak do {0} + + + Nie znaleziono pliku kopii zapasowej: {0} + + + Masz zamiar przywrócić plik kopii zapasowej. Wszystkie zmiany zostaną utracone! Czy chcesz kontynuować? + + + Wystąpił błąd podczas zapisywania pliku. Upewnij się, że- masz uprawnienia do zapisu pliku- plik nie jest otwarty w innym programie +Komunikat o błędzie to: + + + Błąd zapisu pliku + + + Dostępna jest nowsza wersja: v{0}.Czy chcesz otworzyć stronę pobierania? + + + Nowa wersja + + + Jak chcesz edytować listę kanałów? + + + Utwórz nową listę: Zacznij od pustej listy i dodaj kanały w żądanej kolejności + + + Zmodyfikuj bieżącą listę: Zacznij od bieżącej listy i zmodyfikuj ją w razie potrzeby + + + Kopiuj listę kanałów: uporządkuj kanały w taki sam sposób, jak na liście referencyjnej + + + Co powinno się stać z nieposortowanymi kanałami? + + + Dodaj nieposortowane kanały na końcu listy + + + Usuń nieposortowane kanały z listy + + + Anuluj + + + Nie znaleziono pliku + + + Plik {0} nie istnieje. + + + Lista kanałów została skopiowana do schowka +i można ją wkleić do Excela lub dowolnego edytora tekstu. + + + Twój telewizor może nie działać poprawnie, jeśli w numerach kanałów występują luki. +Czy chcesz, aby numery kanałów były kolejno zmieniane? + + + Zawartość pliku jest nieprawidłowa. Ma rozmiar 0 lub wszystkie bajty mają tę samą wartość. +Typowe przyczyny to pamięci USB z systemem plików NTFS (zamiast tego spróbuj użyć FAT32) +lub aktualizacje oprogramowania układowego bez uruchamiania nowego skanowania kanałów. +(Nowe oprogramowanie w telewizorze może nie być w stanie przetworzyć danych starego kanału podczas eksportu.) + + + Antena, telewizja kablowa, satelitarna, IP, analogowa, cyfrowa, TV, radio, dane + + + Jak chcesz sobie z tym poradzić, gdy Pr# jest już zajęty na liście docelowej? + + + Wyczyść listę docelową przed zastosowaniem listy referencyjnej + + + Nadpisz Pr# kanałem z listy referencyjnej + + + Zachowaj bieżący kanał na Pr# + + + Aby zamienić kanały, w lewej i prawej tabeli należy wybrać taką samą liczbę wierszy. + + + Zamień kanały + + + Wybierz listę referencyjną do zaimportowania + + + Lista referencyjna ChanSort|*.csv|Lista referencyjna SamToolBox|*.chl|Wszystkie listy referencyjne|*.csv;*. Chl + + + Otwórz listę referencyjną + + + Plik nie jest prawidłowym archiwum .zip. Telewizory często eksportują uszkodzone pliki do pamięci USB sformatowanej w systemie plików NTFS. +Spróbuj wyeksportować do pamięci sformatowanej za pomocą FAT32 + + \ No newline at end of file diff --git a/source/ChanSort/ReferenceListForm.cs b/source/ChanSort/ReferenceListForm.cs index c522745..08da9a8 100644 --- a/source/ChanSort/ReferenceListForm.cs +++ b/source/ChanSort/ReferenceListForm.cs @@ -78,7 +78,7 @@ namespace ChanSort.Ui dlg.Filter = filter + string.Format(Resources.MainForm_FileDialog_OpenFileFilter, supportedExtensions); dlg.FilterIndex = numberOfFilters + 1; dlg.CheckFileExists = true; - dlg.RestoreDirectory = false; + dlg.RestoreDirectory = true; dlg.Title = Resources.ReferenceListForm_ShowOpenFileDialog_Title; if (dlg.ShowDialog(main) != DialogResult.OK) return null; @@ -106,6 +106,7 @@ namespace ChanSort.Ui this.serializer = ser; this.edFile.Text = serializer.FileName; this.rbAuto.Enabled = this.rbManual.Enabled = true; + ser.DataRoot.ApplyCurrentProgramNumbers(); this.comboSource.EditValue = null; this.comboSource.Properties.Items.Clear(); diff --git a/source/ChanSort/ReferenceListForm.pl.resx b/source/ChanSort/ReferenceListForm.pl.resx new file mode 100644 index 0000000..c45629d --- /dev/null +++ b/source/ChanSort/ReferenceListForm.pl.resx @@ -0,0 +1,248 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Plik listy referencyjnej: + + + ← naciśnij przycisk, aby wybrać plik + + + Wybierz plik zawierający kolejność kanałów, którą chcesz zastosować do bieżącej listy. +Możesz użyć jednej z predefiniowanych list ChanSort (TXT, CHL, CSV) +lub plik danych z innego telewizora (SCM, TLL, DB, BIN, ...) + + + Automatycznie zmieniaj kolejność wszystkich list w pliku TV + + + Zaawansowane zmiany kolejności + + + List referencyjny: + + + Lista docelowa: + + + TV + + + Radio + + + Zacznij od Pr#: + + + (tzn. niech kanały radiowe zaczynają się od 5000, aby uniknąć konfliktów z numerami kanałów telewizyjnych) + + + 1 + + + 1 + + + 100 + + + 500 + + + 1000 + + + 2000 + + + 5000 + + + 7000 + + + Dane/Inne + + + Użyj kolejnych liczb (usuń luki z listy referencyjnej Pr#) + + + IP (sieć) + + + Satelita + + + Wejście: + + + Antena + + + Kabel + + + Rodzaj sygnału: + + + Analog + + + Cyfrowy + + + + + + + + + Rodzaj kanału: + + + Zastosować + + + grpInstrukcja + + + OK + + + Zamknij/Anuluj + + + Otwórz Wiki ChanSort, aby uzyskać więcej informacji i pobrać listy referencyjne + + + 1. Wybierz plik listy referencyjnej + + + Jeśli telewizor i plik referencyjny zawierają wiele list lub używają innego grupowania, możesz zastosować wybrane części listy referencyjnej do listy docelowej. Ten krok można powtórzyć w razie potrzeby. + + + „Ta opcja jest dostępna tylko wtedy, gdy plik TV i lista referencyjna są zorganizowane w ten sam sposób. (tj. te same listy podrzędne dla kombinacji anteny / telewizji kablowej / satelitarnej, TV / radiowej, analogowej / cyfrowej) ” + + + 2. Wprowadź porządek do pliku telewizyjnego + + + Zastosuj listę referencyjną + + \ No newline at end of file diff --git a/source/ChanSort/UpdateCheck.cs b/source/ChanSort/UpdateCheck.cs index 0cc65f6..b2ab5f4 100644 --- a/source/ChanSort/UpdateCheck.cs +++ b/source/ChanSort/UpdateCheck.cs @@ -55,8 +55,9 @@ namespace ChanSort.Ui if (start >= 0) { int end = response.IndexOf(".zip", start); - if (end == start + SearchString.Length + 10) - return response.Substring(start + SearchString.Length, 10); + int len = end - start - SearchString.Length; + if (len >= 10) // YYYY-MM-DD plus optional suffix for a revision + return response.Substring(start + SearchString.Length, len); } return string.Empty; } diff --git a/source/ChanSort/WaitForm1.pl.resx b/source/ChanSort/WaitForm1.pl.resx new file mode 100644 index 0000000..895be83 --- /dev/null +++ b/source/ChanSort/WaitForm1.pl.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Generowanie pliku danych TV ... + + + panelPostępu1 + + + Formularz 1 + + + Proszę być cierpliwym + + \ No newline at end of file diff --git a/source/Images/imagelist/0045.png b/source/Images/imagelist/0045.png new file mode 100644 index 0000000..e30222e Binary files /dev/null and b/source/Images/imagelist/0045.png differ diff --git a/source/Translation.xlsx b/source/Translation.xlsx index 631c3a0..deabe99 100644 Binary files a/source/Translation.xlsx and b/source/Translation.xlsx differ diff --git a/source/changelog.md b/source/changelog.md index e29aa8a..6867db5 100644 --- a/source/changelog.md +++ b/source/changelog.md @@ -1,7 +1,13 @@ ChanSort Change Log =================== -2020-02-11B +2020-03-14 +- check for updates can now handle multiple updates on a specific day +- fixed applying favorites from a reference list (it showed fav letters on the channels, but the fav lists were empty) +- added Polish translation (thanks to Jakub Driver!) +- potential fix for Samsung 1352.0 format, which can contain channels marked as deleted + +2020-02-11 (re-upload) - fixed: removing channels from a favorite list caused incorrect reordering 2020-02-11 diff --git a/source/makeDistribZip.cmd b/source/makeDistribZip.cmd index dff0302..f094c3d 100644 --- a/source/makeDistribZip.cmd +++ b/source/makeDistribZip.cmd @@ -1,4 +1,7 @@ @echo off +setlocal +setlocal enabledelayedexpansion + cd /d %~dp0 set curdate=%date:~6,4%-%date:~3,2%-%date:~0,2% set target=%cd%\..\..\ChanSort_%curdate% @@ -48,8 +51,15 @@ set signtool="C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\signto set oldcd=%cd% cd %target% set files=ChanSort.exe ChanSort*.dll de\ChanSort*.dll ru\ChanSort*.dll pt\ChanSort*.dll cs\ChanSort*.dll es\ChanSort*.dll -%signtool% sign /a /t "http://timestamp.comodoca.com/authenticode" %files% +set todo= +for %%f in (%files%) do ( + %signtool% verify /pa "%%f" >nul 2>nul + if errorlevel 1 set todo=!todo! "%%f" +) +if "%todo%" == "" goto:skipCodeSigning +%signtool% sign /a /t "http://timestamp.comodoca.com/authenticode" %todo% if errorlevel 1 goto :error +:skipCodeSigning cd %oldcd% goto:eof