{"id":13772353,"url":"https://github.com/badetitou/Pharo-LibVLC","last_synced_at":"2025-05-11T04:31:24.159Z","repository":{"id":54832829,"uuid":"200387473","full_name":"badetitou/Pharo-LibVLC","owner":"badetitou","description":"Binding ffi of libvlc for Pharo ","archived":false,"fork":false,"pushed_at":"2023-09-13T07:00:29.000Z","size":4724,"stargazers_count":16,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"v2","last_synced_at":"2025-04-06T15:39:49.847Z","etag":null,"topics":["ffi","ffi-bindings","libvlc","pharo","pharo-smalltalk","sound","sounds"],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/badetitou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-08-03T14:53:16.000Z","updated_at":"2024-01-13T01:41:20.000Z","dependencies_parsed_at":"2024-01-12T17:34:57.948Z","dependency_job_id":"fdb0f2b3-d18b-4401-b108-9b5fbca97b67","html_url":"https://github.com/badetitou/Pharo-LibVLC","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badetitou%2FPharo-LibVLC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badetitou%2FPharo-LibVLC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badetitou%2FPharo-LibVLC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badetitou%2FPharo-LibVLC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badetitou","download_url":"https://codeload.github.com/badetitou/Pharo-LibVLC/tar.gz/refs/heads/v2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253518941,"owners_count":21921074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ffi","ffi-bindings","libvlc","pharo","pharo-smalltalk","sound","sounds"],"created_at":"2024-08-03T17:01:02.900Z","updated_at":"2025-05-11T04:31:19.149Z","avatar_url":"https://github.com/badetitou.png","language":"Smalltalk","funding_links":[],"categories":["Sound"],"sub_categories":[],"readme":"# Pharo-LibVLC \u003c!-- omit in toc --\u003e\n\n- [Install](#install)\n  - [Linux](#linux)\n- [Quick example](#quick-example)\n- [Documentation](#documentation)\n\n[![Pharo version](https://img.shields.io/badge/Pharo-11.0-%23aac9ff.svg)](https://pharo.org/download)\n\nBinding FFI of [libvlc](https://www.videolan.org/developers/vlc/doc/doxygen/html/group__libvlc.html) for [Pharo](http://pharo.org/) \n\n## Install\n\n1. Install VLC 3.x.x\n\n2. In a Pharo 11 image\n\n```st\nMetacello new\n  baseline: 'VLC';\n  repository: 'github://badetitou/Pharo-LibVLC';\n  load.\n```\n\n\u003e You should be able to execute `VLCLibrary uniqueInstance getVersion`\n\n### Linux\n\nIf you work on linux, please check that `libvlc` and `libvlccore` are in your path.\nTo do so, you can execute `whereis libvlc` and `whereis libvlccore`.\n\nIf the `whereis` command return something like:\n\n- `libvlccore: /usr/lib/libvlccore.so` → OK\n- `libvlccore: ` → It means you didn't install correctly the libraries, or you used snap.\n- `libvlccore: /usr/lib/libvlccore.so.x` → It means you've installed a specific version of the library. To use it with pharo please create a symbolic link without the \".x\" → `ln -s /usr/lib/libvlccore.so.x /usr/lib/libvlccore.so`\n\nIf you used snap to install vlc, the path might be ` '/snap/vlc/current/usr/lib'`\n\n### Windows\n\nSimply install the last version of VLC and it should work.\n\n## Quick example\n\n```st\nvlc := VLCLibrary uniqueInstance createVLCInstance.\n\"do not use accentuated characters for the path\"\nmedia := vlc createMediaFromPath: '/my/file/path.mp3'.\nmediaPlayer := VLCLibrary uniqueInstance mediaPlayerNewFromMedia: media.\nmediaPlayer play\n```\n\nOr using a media list.\n\n```st\ninstance := VLCLibrary uniqueInstance createVLCInstance.\n \nmedia := instance createMediaFromPath: '/home/badetitou/Musique/Coda.mp3'.\nmediaList := instance createMediaList.\nmediaList addMedia: media.\n\nmediaListPlayer := instance createMediaListPlayer.\nmediaListPlayer mediaList: mediaList.\nmediaListPlayer mediaList.\nmediaListPlayer play\n```\n\n## Documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadetitou%2FPharo-LibVLC","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadetitou%2FPharo-LibVLC","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadetitou%2FPharo-LibVLC/lists"}