Giter Site home page Giter Site logo

frequenc's People

Contributors

thepedroo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

frequenc's Issues

bug: Invalid trackdata

Project version

0c8c98a

Description

In the encoded track Data when you try and load a track, it returns everything normal. But the is_stream is wrong. The searched up video is infact a Video and not a Stream.

{
			"encoded": "QAABPQEAOVJFU1VMVCBvZiBPdXRkb29yIEZpc2hpbmcgI2Zpc2hpbmdlcXVpcG1lbnQgI2Zpc2hpbmd0b29scwAUUmVwYWlyIEZpc2hpbmcgUmVlbCAAAAAAAAAfQAALOENRdjNfY0lzbEUBACtodHRwczovL3d3dy55b3V0dWJlLmNvbS93YXRjaD92PThDUXYzX2NJc2xFAQCbaHR0cHM6Ly9pLnl0aW1nLmNvbS92aS84Q1F2M19jSXNsRS9tYXhyZXNkZWZhdWx0LmpwZz9zcXA9LW9heW13RW1DSUFLRU5BRjhxdUtxUU1hOEFFQi1BRy1CSUFDc0FtS0Fnd0lBQkFCR0hJZ1Z5ZzdNQTg9JnJzPUFPbjRDTEJlbE5va1BRNjlXWUxMMGpRS2lObXhxVnozdncAAAdZb3VUdWJl",
			"info": {
				"title": "RESULT of Outdoor Fishing #fishingequipment #fishingtools",
				"author": "Repair Fishing Reel ",
				"length": 8000,
				"identifier": "8CQv3_cIslE",
				"is_stream": true,
				"uri": "https://www.youtube.com/watch?v=8CQv3_cIslE",
				"artwork_url": "https://i.ytimg.com/vi/8CQv3_cIslE/maxresdefault.jpg?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AG-BIACsAmKAgwIABABGHIgVyg7MA8=&rs=AOn4CLBelNokPQ69WYLL0jQKiNmxqVz3vw",
				"source_name": "YouTube"
			}
		}

Or for example this video with the identifier yCPCxcSh7Tg.

If you wanna know, i use HarmonyLink as package. And for testing purposes Insomnia.

And when trying to connect to the WebSocket i get an error after it connected.

Invalid WebSocket frame: MASK must be clear

Tho idk if that is my issue or something but hopefully it isn't.

Steps to reproduce

Call up GET http(s)://<URL>:<PORT>/<VERSION>/loadtracks and view the returned JSON.

Example code

No response

Confirmations

  • The used environment meets the minimum requirements.
  • It has been verified that this is not a duplicate issue.
  • The used version is the latest on the repository.

Code of Conduct

bug: Decode Tracks doesn't work

Project version

0c8c98a

Description

Console Output

[track]: Failed to decode track.
 - Reason: Track binary length doesn't match track set length.
 - Expected: 189
 - Actual: 188
[main]: Bad request.

Encoded Track: QAAAvQEAJ0NHNSBUUlkgTk9UIFRPIExBVUdIIChTaG9ydHMgRWRpdGlvbiAzKQAHQ0c1TElWRQAAAAAABwjIAAt5Q1BDeGNTaDdUZwEAK2h0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3dhdGNoP3Y9eUNQQ3hjU2g3VGcBADpodHRwczovL2kueXRpbWcuY29tL3ZpX3dlYnAveUNQQ3hjU2g3VGcvbWF4cmVzZGVmYXVsdC53ZWJwAAAHWW91VHViZQ==

I have gotten this track from the /loadtracks endpoint on FrequenC.

{
	"loadType": "search",
	"data": [
		{
			"encoded": "QAAAvQEAJ0NHNSBUUlkgTk9UIFRPIExBVUdIIChTaG9ydHMgRWRpdGlvbiAzKQAHQ0c1TElWRQAAAAAABwjIAAt5Q1BDeGNTaDdUZwEAK2h0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3dhdGNoP3Y9eUNQQ3hjU2g3VGcBADpodHRwczovL2kueXRpbWcuY29tL3ZpX3dlYnAveUNQQ3hjU2g3VGcvbWF4cmVzZGVmYXVsdC53ZWJwAAAHWW91VHViZQ==",
			"info": {
				"title": "CG5 TRY NOT TO LAUGH (Shorts Edition 3)",
				"author": "CG5LIVE",
				"length": 461000,
				"identifier": "yCPCxcSh7Tg",
				"is_stream": true,
				"uri": "https://www.youtube.com/watch?v=yCPCxcSh7Tg",
				"artwork_url": "https://i.ytimg.com/vi_webp/yCPCxcSh7Tg/maxresdefault.webp",
				"source_name": "YouTube"
			}
		}
	]
}

Steps to reproduce

Call up GET http(s)://<URL>:<PORT>/v1/loadtracks

and then

Call up GET http(s)://<URL>:<PORT>/v1/decodetrack?encodedTrack=QAAAvQEAJ0NHNSBUUlkgTk9UIFRPIExBVUdIIChTaG9ydHMgRWRpdGlvbiAzKQAHQ0c1TElWRQAAAAAABwjIAAt5Q1BDeGNTaDdUZwEAK2h0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3dhdGNoP3Y9eUNQQ3hjU2g3VGcBADpodHRwczovL2kueXRpbWcuY29tL3ZpX3dlYnAveUNQQ3hjU2g3VGcvbWF4cmVzZGVmYXVsdC53ZWJwAAAHWW91VHViZQ%3D%3D

or Call up POST http(s)://<URL>:<PORT>/v1/decodetracks

-> 400 Bad request

Example code

No response

Confirmations

  • The used environment meets the minimum requirements.
  • It has been verified that this is not a duplicate issue.
  • The used version is the latest on the repository.

Code of Conduct

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.