(channelURL string)
| 1746 | } |
| 1747 | |
| 1748 | func isInInactiveList(channelURL string) bool { |
| 1749 | for _, channel := range Data.Streams.Inactive { |
| 1750 | // Type assert channel to map[string]interface{} |
| 1751 | chMap, ok := channel.(map[string]interface{}) |
| 1752 | if !ok { |
| 1753 | continue |
| 1754 | } |
| 1755 | |
| 1756 | urlValue, exists := chMap["url"] |
| 1757 | if !exists { |
| 1758 | continue |
| 1759 | } |
| 1760 | |
| 1761 | urlStr, ok := urlValue.(string) |
| 1762 | if !ok { |
| 1763 | continue |
| 1764 | } |
| 1765 | |
| 1766 | if urlStr == channelURL { |
| 1767 | return true |
| 1768 | } |
| 1769 | } |
| 1770 | return false |
| 1771 | } |
| 1772 | |
| 1773 | // M3U Datei erstellen |
| 1774 | func createM3UFile() { |
no outgoing calls
no test coverage detected