Skip to content

Switch encoding from UTF-8 to ISO-8859-1 for .m3u playlists #334

Switch encoding from UTF-8 to ISO-8859-1 for .m3u playlists

Switch encoding from UTF-8 to ISO-8859-1 for .m3u playlists #334

GitHub Actions / Gradle Tests succeeded Oct 22, 2023 in 1s

Gradle Tests ✅

Tests passed successfully

Report Passed Failed Skipped Time
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.asx.AsxPlaylistTests.xml 6✅ 24ms
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.b4s.B4sPlaylistTests.xml 1✅ 11ms
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.m3u.M3uPlaylistTests.xml 7✅ 26ms
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.MimeTypeMappingTests.xml 1✅ 284ms
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.PlaylistFormatTests.xml 1✅ 289ms
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.plist.PlistPlaylistTests.xml 3✅ 276ms
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.smil.SmilPlaylistTests.xml 5✅ 28ms
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.SpecificPlaylistFactoryTests.xml 31✅ 726ms
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.TranscodeTests.xml 14✅ 212ms
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.wpl.WplPlaylistTests.xml 5✅ 37ms
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.WriteToJson.xml 1⚪ 1ms
build/test-results/test/TEST-io.github.borewit.lizzy.playlist.xspf.XspfPlaylistTests.xml 2✅ 13ms

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.asx.AsxPlaylistTests.xml

6 tests were completed in 24ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Advanced Stream Redirector (ASX) Playlist Tests 6✅ 24ms

✅ Advanced Stream Redirector (ASX) Playlist Tests

io.github.borewit.lizzy.playlist.asx.AsxPlaylistTests
  ✅ Read ASX ANSI encoded
  ✅ Write to ASX playlist file
  ✅ Read ASX playlist file: Microsoft example
  ✅ Handle a non ASX XML playlist
  ✅ Be able to read ASX playlist case insensitive
  ✅ Read ASX with ENTRYREF element

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.b4s.B4sPlaylistTests.xml

1 tests were completed in 11ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Winamp .b4s Playlist Tests 1✅ 11ms

✅ Winamp .b4s Playlist Tests

io.github.borewit.lizzy.playlist.b4s.B4sPlaylistTests
  ✅ Read b4s playlist file

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.m3u.M3uPlaylistTests.xml

7 tests were completed in 26ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
M3U Playlist Tests 7✅ 26ms

✅ M3U Playlist Tests

io.github.borewit.lizzy.playlist.m3u.M3uPlaylistTests
  ✅ Read M3U (ISO-8859-1 encoded) playlist with special character
  ✅ Write as M3U playlist file
  ✅ Read M3U playlist file
  ✅ Read M3U8 playlist with BOM
  ✅ Read MP3U Playlist UTF-16-LE with BOM
  ✅ Read MP3U8 Playlist UTF-8 no BOM
  ✅ Read MP3U Playlist UTF-16-BE with BOM

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.MimeTypeMappingTests.xml

1 tests were completed in 284ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
MIME-Type mapping tests 1✅ 284ms

✅ MIME-Type mapping tests

io.github.borewit.lizzy.playlist.MimeTypeMappingTests
  ✅ Check if required Media MIME-Type mapping is present

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.PlaylistFormatTests.xml

1 tests were completed in 289ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.borewit.lizzy.playlist.PlaylistFormatTests 1✅ 289ms

✅ io.github.borewit.lizzy.playlist.PlaylistFormatTests

✅ All playlist-provider ID's should be enumerated

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.plist.PlistPlaylistTests.xml

3 tests were completed in 276ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Property list (p-list) Tests 3✅ 276ms

✅ Property list (p-list) Tests

io.github.borewit.lizzy.playlist.plist.PlistPlaylistTests
  ✅ Read from p-list playlist file
  ✅ Write to p-list playlist file
  ✅ Read iTunesMusicLibrary.xml

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.smil.SmilPlaylistTests.xml

5 tests were completed in 28ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SMIL Playlist Tests 5✅ 28ms

✅ SMIL Playlist Tests

io.github.borewit.lizzy.playlist.smil.SmilPlaylistTests
  ✅ Write to SMIL playlist file
  ✅ Read SMIL playlist file
  ✅ Read SMIL 2.0 playlist qualified XML
  ✅ Read SMIL video playlist file
  ✅ Read SMIL playlist with "indefinite" repeat count

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.SpecificPlaylistFactoryTests.xml

31 tests were completed in 726ms with 31 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SpecificPlaylistFactory Tests 31✅ 726ms

✅ SpecificPlaylistFactory Tests

io.github.borewit.lizzy.playlist.SpecificPlaylistFactoryTests
  ✅ Playlist provider ID should be unique
  ✅ [1] pla
  ✅ [2] asx
  ✅ [3] b4s
  ✅ [4] wpl
  ✅ [5] smil
  ✅ [6] rss
  ✅ [7] atom
  ✅ [8] xspf
  ✅ [9] rmp
  ✅ [10] plist
  ✅ [11] pls
  ✅ [12] mpcpl
  ✅ [13] plp
  ✅ [14] m3u
  ✅ testLoadPlaylistProviders()
  ✅ [1] pla
  ✅ [2] asx
  ✅ [3] b4s
  ✅ [4] wpl
  ✅ [5] smil
  ✅ [6] rss
  ✅ [7] atom
  ✅ [8] xspf
  ✅ [9] rmp
  ✅ [10] plist
  ✅ [11] pls
  ✅ [12] mpcpl
  ✅ [13] plp
  ✅ [14] m3u
  ✅ All enumerated playlist-formats should resolve a prover

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.TranscodeTests.xml

14 tests were completed in 212ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Transcode all supported playlist formats 14✅ 212ms

✅ Transcode all supported playlist formats

io.github.borewit.lizzy.playlist.TranscodeTests
  ✅ [1] pla
  ✅ [2] asx
  ✅ [3] b4s
  ✅ [4] wpl
  ✅ [5] smil
  ✅ [6] rss
  ✅ [7] atom
  ✅ [8] xspf
  ✅ [9] rmp
  ✅ [10] plist
  ✅ [11] pls
  ✅ [12] mpcpl
  ✅ [13] plp
  ✅ [14] m3u

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.wpl.WplPlaylistTests.xml

5 tests were completed in 37ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
WPL Playlist Tests 5✅ 37ms

✅ WPL Playlist Tests

io.github.borewit.lizzy.playlist.wpl.WplPlaylistTests
  ✅ Read WPL Playlist: playlist.wpl
  ✅ Write to WPL playlist file
  ✅ Read WPL Playlist: 2seq.wpl
  ✅ Read WPL playlist file
  ✅ Read WPL playlist with media having cid & tid attributes

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.WriteToJson.xml

1 tests were completed in 1ms with 0 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Utility to write playlist sample data to JSON 1⚪ 1ms

✅ Utility to write playlist sample data to JSON

io.github.borewit.lizzy.playlist.WriteToJson
  ⚪ Write playlists to JSON

✅ build/test-results/test/TEST-io.github.borewit.lizzy.playlist.xspf.XspfPlaylistTests.xml

2 tests were completed in 13ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
XSPF Playlist Tests 2✅ 13ms

✅ XSPF Playlist Tests

io.github.borewit.lizzy.playlist.xspf.XspfPlaylistTests
  ✅ Read from XSPF Playlist
  ✅ Write to XSPF Playlist