class M3U_PLAY_LIST_CONSTANTS

(source code)

Description

M3U play list constants

note
	description: "M3U play list constants"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2017 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2019-09-03 13:25:13 GMT (Tuesday 3rd September 2019)"
	revision: "1"

deferred class
	M3U_PLAY_LIST_CONSTANTS

inherit
	EL_ANY_SHARED

feature {NONE} -- Constants

	Bracket_template: ZSTRING
		once
			Result := " (%S)"
		end

	Tanda_digits: FORMAT_INTEGER
		once
			create Result.make (2)
			Result.zero_fill
		end

	M3U: TUPLE [extm3u, extinf, info_template, play_list_root: ZSTRING]
		once
			create Result
			Result.extm3u := "#EXTM3U"
			Result.extinf := "#EXTINF"
			Result.info_template :=  ": %S, %S -- %S"
			Result.play_list_root := ""
		end

	Music_directory: ZSTRING
		once
			Result := "/Music"
		end

end