Giter Site home page Giter Site logo

xspf2m3u's People

Contributors

xi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sosie-js

xspf2m3u's Issues

"extended m3u" support

Hello the output is just the list of the files, it is in fact not in the m3u format which is more complicated

With a xspf like:

<?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/" version="1">
	<title>Playlist</title>
	<trackList>
		<track>
			<location>https://www.youmaker.com/v/2GJoyNg88o76</location>
			<title>China Light Parade in Strasbourg during the 2022 Christmas Market</title>
			<creator>sos-productions.com</creator>
			<info>http://media.sos-productions.com/20221210-parade-of-the-light-of-china-strasbourg/</info>
			<image>https://i0.wp.com/media.sos-productions.com/wp-content/uploads/2022/10/SoS-20221102-Poster-parade-Stras_A3-V5_en-scaled.jpg</image>
			<duration>686000</duration>
			<extension application="http://www.videolan.org/vlc/playlist/0">
				<vlc:id>0</vlc:id>
			</extension>
		</track>
	</trackList>
	<extension application="http://www.videolan.org/vlc/playlist/0">
		<vlc:item tid="0"/>
	</extension>
</playlist>

after setting /usr/bin/python3 in to of the xspf2m3u.py to avoid confusion with python2.x,

it should return instead of simply https://www.youmaker.com/v/2GJoyNg88o76 this:

#EXTM3U
#EXTINF:686,China Light Parade in Strasbourg during the 2022 Christmas Market,logo=https://i0.wp.com/media.sos-productions.com/wp-content/uploads/2022/10/SoS-20221102-Poster-parade-Stras_A3-V5_en-scaled.jpg
https://www.youmaker.com/v/2GJoyNg88o76

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.